• 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: Link fails for test but not app build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Link fails for test but not app build


  • Subject: Re: Link fails for test but not app build
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 02 Jul 2013 17:24:51 -0600

On Jul 2, 2013, at 5:04 PM, Rick Mann <email@hidden> wrote:

> Aside from many other issues, I have this problem. I define an inline function bool isNil(id o):
[…]
> (null): "_isNil", referenced from:
> (null): -[UIImagePNGDataTransformer transformedValue:] in UIImagePNGDataTransformer.o
> (null): -[NSManagedObject(LZ) copyAttributeValuesInto:] in NSManagedObject+LZ.o
> (null): Symbol(s) not found for architecture i386
>
> I've seen this kind of error before due to failing to inline, or name mangling. But the above code should not have that problem. Why does it work for my simulator and device builds, but not for the testing target?

I'm not sure, but I'm curious: What happens if you try using FOUNDATION_STATIC_INLINE instead of inline?

Nick Zitzmann
<http://www.chronosnet.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: Link fails for test but not app build
      • From: Rick Mann <email@hidden>
References: 
 >Link fails for test but not app build (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: App's r/w access to /Library/Preferences/OurAppPrefsFolder, using Xcode 3.2.6
  • Next by Date: Re: Link fails for test but not app build
  • Previous by thread: Link fails for test but not app build
  • Next by thread: Re: Link fails for test but not app build
  • Index(es):
    • Date
    • Thread