Xcode fails build for iOS simulator - _objc_setProperty_atomic
| Originator: | Sergio.Jardim | ||
| Number: | rdar://11858187 | Date Originated: | 12-09-2012 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 4.4 GM |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: Running Xcode 4.4 GM and Mountain Lion GM, compiling an iOS app target simulator fails with Undefined symbols for architecture i386: "_objc_setProperty_atomic", referenced from: Steps to Reproduce: Compile iOS project for simulator. Expected Results: To compile cleanly. Actual Results: Ld /Users/sergio/Library/Developer/Xcode/DerivedData/CubeIPhone-fruciqnidkhufyadndbbbissdgbm/Build/Products/Debug-iphonesimulator/CubePro.app/CubePro normal i386 Undefined symbols for architecture i386: "_objc_setProperty_atomic", referenced from: Regression: Compiles fine on Lion and Xcode 4.3.3 Notes: Changing the target's OSX Deployment target from "Compiler default" to 10.7 fixes this.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!
I've just added rdar://12021481 as a de facto duplicate for make-based setups.