iOS app with framework crashed on device, dyld: Library not loaded, Xcode 6 Beta

后端 未结 30 3088
鱼传尺愫
鱼传尺愫 2020-11-22 10:08

This crash has been a blocking issue I used the following steps to reproduce the issue:

  • Create a Cocoa Touch Framework project
  • Add a swift file and a
30条回答
  •  天命终不由人
    2020-11-22 10:54

    I got same kind of issue in iOS 9.x version

    ISSUE IS: App crashes as soon as I open the app with below error.
    
    dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserNotifications Referenced from: /var/containers/Bundle/Application/######/TestApp.app/TestApp Reason: image not found

    I have resolved this issue by changing Required to Optional in Linked Frameworks and Libraries for UserNotifications.framework framework.

提交回复
热议问题