• 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: PRODUCT_BUNDLE_IDNTIFIER messes up LS?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PRODUCT_BUNDLE_IDNTIFIER messes up LS?


  • Subject: Re: PRODUCT_BUNDLE_IDNTIFIER messes up LS?
  • From: Christiaan Hofman <email@hidden>
  • Date: Tue, 22 Sep 2015 23:00:32 +0200


On Sep 22, 2015, at 22:45, Quincey Morris <email@hidden> wrote:

On Sep 22, 2015, at 11:43 , Christiaan Hofman <email@hidden> wrote:

But somehow the registration of the ID in LS seems to be done before that expansion is done, because the defaults command thinks it’s “${PROJECT_BUNDLE_IDENTIFIER}” rather than what it is expanded into.

There’s another possibility, which is that there’s another build of the app that *does* have the unexpanded string as its bundle ID. This could be, for example, because you built the app one time before setting all of the build settings appropriately.

It used to be possible to peer into the LS database using lsregister, but I don’t see that this is around any more. If you can find something to dump the information, you should be able to see the path to the app it thinks has the wrong bundle ID.



No, this is not the case. I checked all the builds of this app, and they all have the correct bundle ID. Also, when I build without using the build setting, the problem disappears immediately, while also immediately appearing again after I build using the build setting (and the final product having the correct bundle ID).

I cannot find this in the lsregister dump though. Perhaps it is not really LS, but I assume the defaults command finds apps by name using that.

Christiaan

 _______________________________________________
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: 
 >PRODUCT_BUNDLE_IDNTIFIER messes up LS? (From: Christiaan Hofman <email@hidden>)
 >Re: PRODUCT_BUNDLE_IDNTIFIER messes up LS? (From: Jens Alfke <email@hidden>)
 >Re: PRODUCT_BUNDLE_IDNTIFIER messes up LS? (From: Christiaan Hofman <email@hidden>)
 >Re: PRODUCT_BUNDLE_IDNTIFIER messes up LS? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: PRODUCT_BUNDLE_IDNTIFIER messes up LS?
  • Next by Date: Re: PRODUCT_BUNDLE_IDNTIFIER messes up LS?
  • Previous by thread: Re: PRODUCT_BUNDLE_IDNTIFIER messes up LS?
  • Next by thread: Re: PRODUCT_BUNDLE_IDNTIFIER messes up LS?
  • Index(es):
    • Date
    • Thread