iBug
iBug

Reputation: 2342

Framework not found on restarting the xcode ot reopening the project

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:

enter image description here

Framework in build phase:

enter image description here

Upvotes: 3

Views: 601

Answers (2)

Imtee
Imtee

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

Adil Hussain
Adil Hussain

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

Related Questions