Framework did not have a CFBundleIdentifier in its Info.plist

后端 未结 5 1866
情书的邮戳
情书的邮戳 2021-02-04 01:04

I was having issues with my Bridge.h imports finding their intended targets after a cocoapods install and run.

I had:

#import 

        
相关标签:
5条回答
  • 2021-02-04 01:29

    we have two options to resolve the issue

    1. Delete the derived data from xcode's default location as specified in File -> Workspace Settings

    2. Change the derived data location to a custom location in File -> Workspace Settings

    0 讨论(0)
  • 2021-02-04 01:35

    I had to close xcode and delete derived data. Just delete this folder

    rm -rf ~/Library/Developer/Xcode/DerivedData/
    

    None of these approaches worked for me

    1. gem uninstall cocoapods, gem install cocoapods and pod install
    2. pod install
    3. clean xcode using cmd+k
    0 讨论(0)
  • 2021-02-04 01:46

    This is the strange behaviour of Xcode.

    FIXED SOLUTION:

    0- Simulator: Simulator > Reset Content & Settings

    1- Hold alt Product -> Clean Build Folder

    2- Close Xcode

    3- Go to project directory using terminal cd ~/projectDir

    4- Run pod install

    5- Open project in Xcode

    6- Run the project.

    0 讨论(0)
  • 2021-02-04 01:48

    For me cleaning the build folder worked. In Xcode, hold alt Product -> Clean Build Folder..

    Let me know if it works for you!

    0 讨论(0)
  • 2021-02-04 01:50
    $ gem uninstall cocoapods
    $ gem install cocoapods
    

    Add all things (crashlytics and fabric included) as pods. Delete any extra things you made i.e. /Users/username/Documents/new_ios/ios-app/Pods/Headers/TPKeyboardAvoiding/TPKeyboardAvoidingScrollView.h

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