Re: Link fails for test but not app build
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