• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Linking to library in Xcode 5.1.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking to library in Xcode 5.1.1


  • Subject: Linking to library in Xcode 5.1.1
  • From: Livio Isaia <email@hidden>
  • Date: Fri, 20 Jun 2014 13:23:41 +0200

Hi everybody.

I need to link a cocoa app to some precompiled libraries. I put the libraries in the app project, set Library Search Path to $(inherited) "$(SRCROOT)/MyApp/lib” and it compiles correctly. But when I run the app an error dyld: Library not loaded is returned.

Now I saw that in other projects of mine the libraries where put in MyApp/Contents/MacOS/ while in this case MyApp doesn’t contain any library.

Can anyone tell me why the libraries are not copied into the app bundle?
I checked all the settings and couldn’t find anything wrong.

Thank you all in advance,
best regards,
livio.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Linking to library in Xcode 5.1.1
      • From: Jens Alfke <email@hidden>
  • Prev by Date: What does "error: definition of … must be imported from module … before it is required" mean?
  • Next by Date: Re: Linking to library in Xcode 5.1.1
  • Previous by thread: What does "error: definition of … must be imported from module … before it is required" mean?
  • Next by thread: Re: Linking to library in Xcode 5.1.1
  • Index(es):
    • Date
    • Thread