Re: iOS/RestKit/XCode 4.6
Re: iOS/RestKit/XCode 4.6
- Subject: Re: iOS/RestKit/XCode 4.6
- From: Jens Alfke <email@hidden>
- Date: Wed, 06 Mar 2013 08:57:45 -0800
For this reason I always make sure that at the minimum you can just drag and drop a folder hierarchy into the XCode project, and maybe update the .pch file and/or edit a default file.
Nowadays with ARC, this is likely not to be enough — you may also have to go into the target editor and manually add the “-fobjc-noarc” (sp?) flag or its opposite to each of the source files you added, if their ARC support doesn’t match your target settings.
(Or the library source code could go out of its way to compile with or without ARC, which involves zillions of #ifdefs around anything that might need an explicit retain/release/autorelease call. I have seen at least one library that does this, and it’s awful.)
—Jens |
_______________________________________________
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