I was having issues with my Bridge.h imports finding their intended targets after a cocoapods install and run.
I had:
#import
we have two options to resolve the issue
Delete the derived data from xcode's default location as specified in File -> Workspace Settings
Change the derived data location to a custom location in File -> Workspace Settings
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
gem uninstall cocoapods
, gem install cocoapods
and pod install
pod install
cmd+k
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.
For me cleaning the build folder worked. In Xcode, hold alt
Product -> Clean Build Folder..
Let me know if it works for you!
$ 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