Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'Framework not found' in Xcode

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

xcode4: Linker error: Directory not found for option

Still Xcode is giving this error:

enter image description here

Here's my current configuration:

enter image description here

enter image description here

The bolts framework is so I can use the Parse SDK. I downloaded the blank project from here: https://parse.com/apps/quickstart#parse_data/mobile/ios/native/new

It's working. I tried to copy every config option, but it still doesn't work.

like image 692
Kim Montano Avatar asked Sep 21 '15 03:09

Kim Montano


People also ask

How do I add frameworks in Xcode?

To include a framework in your Xcode project, choose Project > Add to Project and select the framework directory. Alternatively, you can control-click your project group and choose Add Files > Existing Frameworks from the contextual menu.

What framework does Xcode use?

You might have heard about XCFramework during WWDC 2019. Yes, you're right: This is the name of the binary framework you can generate with Xcode. Before 2019, you only had one opportunity to make your own binary framework: Universal Static Library, also known as Fat Framework.


2 Answers

Try deleting Bolts.framework from linked framework and re-add it. Also, in your Framework Search Path keep path until Bolts.framework like $(PROJECT_DIR)/Bolts if it is inside Bolts folder at your project directory path.

like image 160
Abhinav Avatar answered Oct 12 '22 01:10

Abhinav


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.

like image 27
Lou Morda Avatar answered Oct 12 '22 02:10

Lou Morda