Reputation: 2342
I have facing this issue from last two days. Every time I restart the xcode or i close the project and reopen it, some of the frameworks give error i.e NewRelic. I remove the references and again import it and its working but have to do this tedious work every time.
What is the issue in my code or xcode.
EDIT: Here are snapshots of error:
Framework in build phase:
Upvotes: 3
Views: 601
Reputation: 1393
This is xcode project subfolder issue
In xCode Project name is "My ABCApp" goto -> My ABCApp -> TARGETS -> My ABCApp -> Build Settings -> "Framework Search Path"
Replace From $(PROJECT_DIR)/My ABCApp/Library/xxx.framework
To
$(PROJECT_DIR)/My\ ABCApp/Library/xxx.framework
Good Luck :)
Upvotes: 1
Reputation: 32083
The answer here...
https://stackoverflow.com/a/25009037/1071320
... solved the issue for me. If any of the parent folders in which your framework is contained contain spaces, Xcode is going to get very confused!
Upvotes: 2