still dyld: Library not loaded

后端 未结 4 586
说谎
说谎 2020-12-17 20:45

I am integrating Facebook in my application. As required frameworks I added to the project. But the app crashes without loading even first screen.

dyld: Libr         


        
4条回答
  •  抹茶落季
    2020-12-17 21:25

    You need to add this Framework to Xcode.

    Right-click on "Frameworks" > Choose Add > Existing Frameworks Locate "AVFoundation" then choose Add.

    If you want to add it manually, choose the other button and navigate to:

    /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.1.sdk/System/Library/Frameworks/AVFoundation.framework/
    

    Replace the iPhone SDK version with whatever you are building against.

    Perhaps also see this answer: Missing AVFoundation.framework

    Also, sometimes you just need to close Xcode, then clean and rebuild.

    also see dyld: Library not loaded: AVFoundation.framework Reason: image not found

提交回复
热议问题