Xcode 4.4 DP7 cannot link projects that use ARC and also target armv6 devices
||Date Originated:||Tue, 17 Jul 2012 10:13:23 GMT|
||Product Version:||Xcode 4.4 DP7|
Xcode 4.4 DP7 cannot link projects that use ARC and also target armv6 devices.
Steps to Reproduce:
- Setup a project that uses ARC
- Build for armv6 and armv7
- Set a deployment target to iOS 4.0 (or any higher, but lower than iOS 4.3)
- Build for both architectures
- No errors
ld: warning: ignoring file /Applications/Xcode44-DP7.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a, file was built for archive which is not the architecture being linked (armv6): /Applications/Xcode44-DP7.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_iphoneos.a
Copy libarclite_iphoneos.a from Xcode 4.3.3 into the above path, and everything works again.
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!