• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Bug] Xcode Wrongly Applies Project Settings during Target Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Follow-Ups:
    • Re: [Bug] Xcode Wrongly Applies Project Settings during Target Archive
      • From: Thomas Clement <email@hidden>
    • Re: [Bug] Xcode Wrongly Applies Project Settings during Target Archive
      • From: Thomas Clement <email@hidden>
  • Prev by Date: Getting xcode to focus on paused instance
  • Next by Date: Xcode 4.3 crashes on project
  • Previous by thread: Re: Getting xcode to focus on paused instance
  • Next by thread: Re: [Bug] Xcode Wrongly Applies Project Settings during Target Archive
  • Index(es):
    • Date
    • Thread