Embedding Dynamic Framework into App Clip Target (XCode 12 Beta 2) Fails

I'm working with the new iOS 14 App Clips. I'm failing to run an App Clip successfully after embedding a dynamic framework.

  • I've tried embedding my own private dynamic framework.

  • I've also tried adding 3rd party frameworks (separately). I made sure to include missing run scripts for Cocoapods

My error is this:
Code Block objc[62067]: Class CSAudioRecorder is implemented in both /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x13b70b720) and /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x13abb20d8). One of the two will be used. Which one is undefined.
objc[62067]: Class CSOSTransaction is implemented in both /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x13b70b540) and /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x13abb22b8). One of the two will be used. Which one is undefined.
2020-07-24 15:23:53.426784-0700 MyAppClips[62067:380775] libMobileGestalt MobileGestaltCache.c:38: No persisted cache on this platform.




Having the same issue here with Xcode 12 beta 3

Code Block
objc[45651]: Class CSAudioFileManager is implemented in both /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x13a512100) and /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x13941f818). One of the two will be used. Which one is undefined.
objc[45651]: Class CSAudioFileReader is implemented in both /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SpeakerRecognition.framework/SpeakerRecognition (0x13a5120b0) and /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/CoreSpeech.framework/CoreSpeech (0x13941fa98). One of the two will be used. Which one is undefined.


I was using Firebase SPM in my project, turns out if i remove FirebaseAuth, i see no more warnings. Try going to General > Framework,Libraries, Embedded Content and removing your dependencies one by one to find the culprit.

Still not sure why this solves the issue.
Embedding Dynamic Framework into App Clip Target (XCode 12 Beta 2) Fails
 
 
Q