Mustafa
Mustafa

Reputation: 20564

iPhone Development - Compiler Warning!

Sometimes when i try to "build"/compile a downloaded source, i get following warning:

ld: warning: directory '/Volumes/Skiiing2/CD/ViewBased/Unknown Path/System/Library/Frameworks' following -F not found

Has anyone else seen this issue?

Upvotes: 35

Views: 9862

Answers (4)

John Bond
John Bond

Reputation: 176

this specific warning with the 'skiing' reference was a bug in the latest xcode beta for iPad. make sure your running either the latest xcode beta or the latest production xcode.. you should not see that warning again.

Upvotes: 3

MyCatsNameIsBernie
MyCatsNameIsBernie

Reputation: 1439

I just upgraded to iPhone SDK version 3.2, and ran into this problem. It looks like it happens on all my projects that were created with the 3.1.2 SDK.

After some amount of searching, I finally was able to find it in the project settings. You have to "Get Info" on the target to find it. Click the "Build" tab, and scroll down to "Search Paths". It can be deleted from there.

Upvotes: 77

Patryk Cieslak
Patryk Cieslak

Reputation: 61

Yes. I've found this path in search path settings but not for project but for target!

Upvotes: 5

Andrew McGregor
Andrew McGregor

Reputation: 34592

Your project is set up to use a framework that was once on a removable disk of some kind, that is no longer there. You can make the warning go away by removing that path from the linker command line, you'll find a property in the project somewhere that references it.

Upvotes: 2

Related Questions