When sending an App Clip URL via messages (message sent by the server), the URL is not recognized as an App Clip.
However, when sending the same link directly via messages, the URL is recognized as an AppClip.
Is it possible to somehow solve this problem and distribute a link to the AppClip through
"Messages" by the server?
Post
Replies
Boosts
Views
Activity
I'm trying to use identifierForVendor in my AppClip, but the method returns 00000000-0000-0000-0000-000000000000 on any device.
XCode version - 12.0.1 (12A7300)
IOS version - 14.0
In a target with a full version of the app, the method returns correct UDID.
I'm adding AppClip's target in our existing project. (Xcode version 12 beta 2).
Our project uses cocoapods dependencies, but the podfile's settings for each target is the same.
When I launch AppClip, I get an error like:
dyld: Library not loaded: @rpath/{pod's name}.framework/{pod's name}
Referenced from: ~/Library/Developer/CoreSimulator/Devices/54FBE668-8806-41F4-B7AC-8A9D5C3427BA/data/Containers/Bundle/Application/F8C1318E-FC26-4806-8FA3-1E36C240F036/AppClip.app/AppClip
Reason: image not found
dyld: launch, loading dependent libraries
I checked the paths in FrameWorkSearchPaths's property (build settings) and Runpath Search Path. They're correct for every target, including AppClip.
I compared two targets (App's target and AppClip's target) and found out that for some reason dynamic frameworks are not copied into the AppClip when AppClip target building, but copied into App's target.
I checked it in AppClip's and App's folder with frameworks, but it's missing at this address:
~/Library/Developer/CoreSimulator/Devices/54FBE668-8806-41F4-B7AC-8A9D5C3427BA/data/Containers/Bundle/Application/E0EAB11B-B2D1-44F4-AD95-58C9D5CB4793/AppClip.app/
The parameters in these build settings' targets are identical.