Problems converting OSX Project to ARC
Problems converting OSX Project to ARC
- Subject: Problems converting OSX Project to ARC
- From: David Hoerl <email@hidden>
- Date: Mon, 30 Jan 2012 10:26:04 -0500
I had this project I had done in June - probably with Xcode 4.1 under
Snow Leopard - demos something. I had a iOS specific sister project too.
So (unfortunately), I let Xcode 4.2 refactor the iOS project to ARC.
Fixed what I needed and tested the program - all is well.
Then I closed that project and opened the Mac project - some files are
common to each.
I decided to manually switch the project to ARC. So I set the SDK and
target to 10.7, build for 64 bit only, and enabled ARC. Clean and build
- but it didn't work (I added "has_feature(objc_arc)" tests all over.
I tried everything I could think of, but no go - would not build for ARC.
Finally, I decided to try Xcode's refactor tool, did that, then viola
its all working. I go back and look at all build setting - cannot find
anything that appears to have changed from when I did everything manually.
Sooooo - is there some hidden flag, or some magic that must be done to
make the switch manually? I'm like 99% sure I've manually converted iOS
projects, but I have so few OSX projects now so no prior experience.
David
_______________________________________________
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