Cross develop IDE support depends on project's SDKROOT instead of target's.

Number:rdar://9636211 Date Originated:19-Jun-2011 02:03 PM
Status:Open Resolved:NO
Product:Developer Tools Product Version:4.0.2 / 4A2002a
Classification:Serious Bug Reproducible:Always
19-Jun-2011 02:03 PM Hoon Hwangbo:
Many IDE configurations are depending on project level SDKROOT setting. So cross-platform development (iOS/Mac OS X) is almost impossible or seriously hard. This problem is described in here too:

Steps to Reproduce:
1. Make an empty project.
2. Add iOS target.
3. Add Mac OS X target.
4. Compile both of them.

Expected Results:
All targets on different platform should be compiled well and displayed as black color under 'Product' folder regardless of project level SDKROOT setting.

Actual Results:
Check up the 'Product' folder. One of them will be displayed as red color which means missing. To switch red one, change project level SDKROOT.

Don't know. But it was older version of Xcode3.

Xcode4 is intended for cross-platform development, but your testing about cross-platform development is insufficient. I wish you increase test for cross-platform development. And please remember you're making IDE, not an command line tool. Exterior look is all. If something displayed bad, it's working bad.



Where are we in getting a fix for this bug? It's an annoying bird flying among a lot (I repeat: a lot) of other very annoying bugs in Xcode.

Follow up is the very minimum that we can expect here.

By at March 5, 2013, 9:24 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at 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!