[Bug] Xcode Wrongly Applies Project Settings during Target Archive
[Bug] Xcode Wrongly Applies Project Settings during Target Archive
- Subject: [Bug] Xcode Wrongly Applies Project Settings during Target Archive
- From: Seth Willits <email@hidden>
- Date: Tue, 21 Feb 2012 21:35:16 -0800
I spent *hours* figuring this out with the help of a friend and finally found a bug in Xcode. This is in Xcode 4.3. I don't believe it happened in earlier builds because I'm pretty sure it was only once I updated to 4.3 did my project break. Here's all of the info for posterity.
When performing an Archive action, Xcode uses the *project-level* build setting for STRIP_INSTALLED_PRODUCT rather than the target-level setting.
Steps to Reproduce:
1) Create a new Cocoa static library project.
2) Note that default project-level STRIP_INSTALLED_PRODUCT is Yes
3) Note that default *target* level STRIP_INSTALLED_PRODUCT is No
4) Archive the target
5) Find the Archive build log
Expected Results:
In the log there should be no strip.
Actual Results:
It does strip.
Regression:
1) Go into the *project* level settings and set STRIP_INSTALLED_PRODUCT to No.
2) Archive the target again.
3) Look in the build log again.
There is no strip phase.
Radar #10908871
--
Seth Willits
_______________________________________________
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