'Framework not found' in Xcode

前端 未结 20 2145
不知归路
不知归路 2020-12-08 03:54

I know this has been asked a couple of times. I followed instructions from these ones:

Adding frameworks to project in Xcode 5 and having *relative* paths added

相关标签:
20条回答
  • 2020-12-08 04:14

    delete all frameworks from Embedded Binaries and re-add it

    0 讨论(0)
  • 2020-12-08 04:14

    I got the error 'AdBrixRM framework not found'. I checked the AdBrixRM.framework. I noticed that 'AdBrixRM' excution file is missed. I copied this file into the framework folder and the issue was gone.

    0 讨论(0)
  • 2020-12-08 04:15

    Besides from removing the framework from the Podfile and Linked Frameworks and Libraries, I also had to remove the reference to the framework in Other Linker Flags.

    0 讨论(0)
  • 2020-12-08 04:18

    If you are using CocoaPods. Similar thing has happened to me. Although this question is old someone like me might still be struggling. So for to help: after pod install it warns you about project files. I didn't notice till now. it says:

    [!] Please close any current Xcode sessions and use ProjectFile.xcworkspace for this project from now on.

    So basically, do not continue working on .xcodeproj after installing Pods. If you do linker won't find files.

    0 讨论(0)
  • 2020-12-08 04:21

    Delete the framework that is causing the issue (by removing the reference).

    Then add it again, following these steps for adding FBSDK frameworks and libraries:

    1. click project
    2. general settings
    3. linked framework and libraries
    4. click the plus button and add all that you want
    0 讨论(0)
  • 2020-12-08 04:22

    I'm pretty new to iOS development. Apparently this problem for me was a result of opening the .xcodeproj Xcode project instead of the .xcworkspace Xcode workspace. I opened the workspace instead and the error has gone away.

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