• 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
Re: Debug target links, Release doesn't
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug target links, Release doesn't


  • Subject: Re: Debug target links, Release doesn't
  • From: Harshdeep <email@hidden>
  • Date: Thu, 18 May 2006 17:07:25 +0530

Found the solution - The debug target of the dylib is built for ppc only but the release target is built both for ppc and i386. But the framework that I'm linking to is for ppc only - that's why I see linker errors for the release target only. Removing 'i386' from the Build Architecture helped.

On 5/18/06, sharad saxena <email@hidden> wrote:
Probably your Framework Search Path (Build Settings) for Release target is not defined or incorrectly defined.
Try setting it to point to framework F...
 
Sharad!
 
On 5/18/06, Harshdeep < email@hidden> wrote:

I'm trying to build a dylib (say D) that depends on a framework (say F). There are separate debug and release builds of F. D also has two targets – Debug and Release, that link with the corresponding builds of F.

Debug target of D builds without any errors but the Release target gives "Undefined Symbols" link errors for symbols in F.

Doing an 'nm' on F showed that these symbols are exported in both Debug and Release builds. I tried linking the Release target of D with the Debug build of F, but I kept getting the same link errors.

Any ideas?

--
 
Harshdeep Singh
http://harshdeep.wordpress.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden

This email sent to email@hidden





--
Harshdeep Singh
9818422608
http://harshdeep.wordpress.com
 _______________________________________________
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: Debug target links, Release doesn't
      • From: Greg Hurrell <email@hidden>
References: 
 >Debug target links, Release doesn't (From: Harshdeep <email@hidden>)
 >Re: Debug target links, Release doesn't (From: "sharad saxena" <email@hidden>)

  • Prev by Date: Re: Debug target links, Release doesn't
  • Next by Date: Re: Debug target links, Release doesn't
  • Previous by thread: Re: Debug target links, Release doesn't
  • Next by thread: Re: Debug target links, Release doesn't
  • Index(es):
    • Date
    • Thread