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

Originator:eonild
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:
Summary:
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:
http://lists.apple.com/archives/Xcode-users/2005/Jun/msg00275.html

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.

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

Notes:
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.

Comments

Status?

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 rui.lopes.fr 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 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!