DropboxSDK.framework not found after restarting Xcode

I am using DropboxSDK.framework in my project. Everything is fine with me and it works fine. However, every time I pretty Xcode and open it again at a later point, I get the following error: enter image description here

Which is strange, because I see that the infrastructure is in the project, and nothing (that I know) has changed since the last time I had an open and working project.

How can I make a mistake, follow these steps:

  • Right click on DropboxSDK.framework in my project Delete --> Remove Reference.
  • In my project Build Settings in the Search Paths section , I delete the path that is under the Search Paths in the wireframe (the highlighted highlighted image in the image below).
  • Then I clear the project SHIFT + CMD + K
  • Finally, I click File --> Add files to my project , go to the DropboxSDK.framework file, which I previously deleted the link, and add it back to my project.
  • Then I create the project again and the error disappears, and I will leave it until I get Xcode and open it again.

Has anyone else come across this and fixed it?

Or are there any suggestions that I could fix? I am using Xcode V5.1.1

Let me know if there is anything that I can clarify. Thanks!

+6
source share
3 answers

I had a random thought triggered by Indrajeet's answer that solved my problem.

When a new project is created in Xcode, a project folder is created. There is another folder in this folder with the same name as your project, a .xcodeproj file with your project name and yourProjectNameTests folder.

Visually like this.

  Application_Name --> Application_Name Application_Name.xcodeproj Application_NameTests 

When I had the error described above DropboxSDK.framework and its accompanying files were saved here in this folder: enter image description here

After deleting all the links to DropboxSDK.framework in my project, I decided to move DropboxSDK.framwork and accompanying files one level to the main folder Application_Name: enter image description here

As soon as I did this, I clicked File --> Add files to my project , went to the DropboxSDK.framework file, now one level of folders and added it to my project.

After assembly, there was no error. I restarted Xcode and tried again to make sure; still no error. Restart my computer to be sure ... there’s still no error!

0
source

$ (SRCROOT) / Application_Folder

  • Application_Folder is the name of the folder in which all your code for other resources is located.
  • Insert line above in header search path
+1
source

I had a normal problem and found the answer by accident! This happens when you create a project name using SPACES between letters. Somehow, this makes Xcode crazy when looking for frameworks.

So, if you want to create a project called “This is the name of my project”, name it “This_is_My_Project_Name” and the frames will be found each time. He worked with me.

0
source

All Articles