Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 294
Mustafa Avatar asked Mar 06 '10 11:03

Mustafa


People also ask

How do I ignore a warning in Xcode?

Select your project and select your target and show Build Phases . Search the name of the file in which you want to hide, and you should see it listed in the Compile Sources phase. Double-click in the Compiler Flags column for that file and enter -w to turn off all warnings for that file.

How do I ignore a warning in Swift?

If you want to disable all warnings, you can pass the -suppress-warnings flag (or turn on "Suppress Warnings" under "Swift Compiler - Warning Policies" in Xcode build settings).

How do I enable Apple development on my iPhone?

As indicated by the alert, to enable Developer Mode go to Settings > Privacy & Security on the iOS device. Scroll down to the Developer Mode list item and navigate into it. To toggle Developer mode, use the “Developer Mode” switch. Tap the switch to enable Developer Mode.

How do I see errors in Xcode?

cmd+7. click on the top-most "Build $APP" section. locate the warning or error. click the buttons on the right to see the full details of the step you are interested in.


2 Answers

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.

Hope that helps...

Dave

like image 180
MyCatsNameIsBernie Avatar answered Sep 23 '22 00:09

MyCatsNameIsBernie


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

like image 20
Patryk Cieslak Avatar answered Sep 20 '22 00:09

Patryk Cieslak