• 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
Re: [Bug] Xcode Wrongly Applies Project Settings during Target Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug] Xcode Wrongly Applies Project Settings during Target Archive


  • Subject: Re: [Bug] Xcode Wrongly Applies Project Settings during Target Archive
  • From: Thomas Clement <email@hidden>
  • Date: Thu, 23 Feb 2012 13:45:49 +0100

This bug has been there for a long time and is a GUI bug.
Unless redefined the options at the target level inherit from the options at the project level, therefore stripping is the correct behavior here. The bug is that the option appears as NO at the target level while it should in fact appear as YES. Don't trust the GUI on that one.

I filed radar 9921320 last year which is a duplicate of 4334211. The duplicate is still open :/

Thomas

On Feb 22, 2012, at 6:35 AM, Seth Willits wrote:

>
> 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


 _______________________________________________
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


References: 
 >[Bug] Xcode Wrongly Applies Project Settings during Target Archive (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: [Bug] Xcode Wrongly Applies Project Settings during Target Archive
  • Next by Date: Re: "Assistant" multi-editor-pane organization
  • Previous by thread: Re: [Bug] Xcode Wrongly Applies Project Settings during Target Archive
  • Next by thread: Xcode 4.3 crashes on project
  • Index(es):
    • Date
    • Thread