iOSGeek
iOSGeek

Reputation: 125

Unable to run my code on xcode 4.5 using device

I am facing this issue on xcode 4.5 while installing my application on device. Its working perfect on simulator and xcode 3.2.5. Any help?

ld: warning: directory not found for option '-F/Users/mymac/Downloads/revmob-ios-sdk' ld: library not found for -lxml2 clang: error: linker command failed with exit code 1 (use -v to see invocation)

These are exact lines i am seeing there.

Upvotes: 1

Views: 912

Answers (2)

iOSGeek
iOSGeek

Reputation: 125

After spending 6 hours web search , I just deleted lxml2 framework from my frameworks list and it worked like charm.

Upvotes: 1

Talal
Talal

Reputation: 41

My guess would be that you're using a device with an old version of iOS. Here is a great answer that documents how you can use a newer version of Xcode for older versions of iOS.

Upvotes: 0

Related Questions