John Durand
John Durand

Reputation: 2024

Mysterious errors is Xcode?

I wanted to reach my project folder's directory through the terminal so to make things a little easier, I simply moved the project folder onto my desktop, when doing this i was presented with this prompt:

enter image description here

I then pressed re-save and was presented with this prompt:

enter image description here

After this i moved the folder back in its original place, but when i attempt to build the app i get the following 30 Apple Mach-O Linker Error errors:

enter image description here

I attempted a clean/clean build folder... but no success. Now I have the parse and AWS SDK frameworks installed within my project, so I completely removed them both, re-inserted them, cleaned the project, build and still the same 30 errors. What seems to be the issue? I may also add i mistakenly dragged the project folder onto the desktop and out of its original folder while the app was still running. If that means anything. What can I do?

Upvotes: 0

Views: 45

Answers (1)

ixx
ixx

Reputation: 32269

Maybe you have an absolute path somewhere in your project's or target's settings, or a relative path pointing to a dependency outside the folder you moved. You could try to look for parts of the previous path in the settings. Alternatively with text search in a terminal, you can try something like this (in this case from the project's root directory):

grep -r "mypath/mypath" myproject.xcodeproj/project.pbxproj 

Also to shed a bit more light into the issue try dragging the project back to the original folder. Is the issue fixed? If yes it's definitely a path problem.

Upvotes: 1

Related Questions