Unable to run my app on iOS 13. For a framework problem

Viewed 10709

I'm trying to test my project on my iPhone with iOS 13, using Xcode 12 beta 6.

The app crash on start and this is the message in the log:

dyld: launch, loading dependent libraries DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/GPUTools.framework/libglInterpose.dylib:/usr/lib/libMTLCapture.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib (lldb)

Someone can help me? Thank you

6 Answers

This occurs because Xcode fails to sign the frameworks that are provided by SwiftPM with your app’s signing identity. It’s a known issue (SR-13343) in Xcode 12.

You can do these steps on third framework file to try fix :

  1. select:Siging & Capabilites.

  2. find : FrameWorks, Libraries, and Embedded Content.

  3. change : the. "embed" of the third frameworks from "Do not Embed" to "Embed & Sign".

Go to Project Settings -> Target -> General -> Frameworks, Libraries, and Embedded Content -> Check that your custom framework has "Embed & Sign" option

add AppTrackingTransparency.framework to your project

Don't Copy the Framework directly to your project. Adding 'Embed Pods Frameworks' manually works for me. Try It.

If you are asking permission for tracking via AppTrackingTransparency, you must addNSUserTrackingUsageDescription key to the info plist.

Related