dyld: Library not loaded different behavior for 6.0 simulator/6.0 device

前端 未结 3 427
执笔经年
执笔经年 2020-12-24 05:30

My app runs fine on the iPhone 6.0 Simulator in Xcode, but when I try to run it on my 6.0 device, I get the following fatal error:

dyld: Library not loaded: /System/

相关标签:
3条回答
  • 2020-12-24 06:00

    If you're targeting iOS versions less than 6.0, you'll need to make AdSupport.framework, Social.framework, and Accounts.framework optionally-linked.

    Please have a look at the attached screenshot.

    Cheers!!!enter image description here

    0 讨论(0)
  • 2020-12-24 06:01

    Same for CloudKit.framework on iOS 7 (it is for iOS8 only). Go to General > Linked Frameworks and Libraries, change CloudKit.framework to Optional. Thanks VSN.

    0 讨论(0)
  • 2020-12-24 06:13

    Solved my own problem: Set the frameworks that are giving you problems to "Optional" instead of "Required" by going to the project file Summary and scrolling down to Linked Frameworks and Libraries.

    0 讨论(0)
提交回复
热议问题