AndyRED
AndyRED

Reputation: 361

Xcode won't build due to Framework not found

FYI - I'm a novice with Xcode.

I'm running Xcode on MacBook Pro High Sierra OS only to make minor amendments to a simple app. I was given the project folder and manage to get the project running previously and make the minor changes and publish these to Apple. No problem at all.

I moved the project off my desktop a while back. I now have to make an update. I have moved the project back to my desktop and attempted to build the project but I'm now getting an error where a library cannot be found even though it is there and is being referenced in the correct location. I don't think it's anything to do with moving the project... Here's what I'm seeing...

Xcode 9.2 issues output

Linked Frameworks and Librarys view

I have tried to remove and add the offending library with no success.

Maybe it's a red herrin?

I am stuck... please help!!!!

Upvotes: 3

Views: 12175

Answers (2)

jazz
jazz

Reputation: 21

This what worked for me:
1) Remove library from pod file.
2) Run "pod update"
3) Re-add library to podfile
4) Again do pod update
5) Do a clean build.

Hope this helps

Upvotes: 2

Mangesh Murhe
Mangesh Murhe

Reputation: 361

You are getting this error because previous reference of library is present at following path:

Target->Build settings->Search Paths->Library search path

Remove previous path from here and add new one.It will work

Upvotes: 0

Related Questions