7

I've created a project in XCode10 Beta6. I closed the project and opened another project from XCode 9.2 At random points throughout working on another project, I get alert popup saying.

How do I resolve "The bundle identifier for XCode10Project.app couldn’t be read." issue with XCode10 Beta 6?

the popup appears every time after I test my xcode 9.2 project enter image description here

Alex Stone
  • 46,408
  • 55
  • 231
  • 407
  • 1
    I've seen this and I can't remember how I fixed it. Basically I'd suggest this: https://stackoverflow.com/a/6247073/341994 – matt Aug 30 '18 at 23:17

1 Answers1

10

The solution is to delete derived data and clean project, as described here: How to Empty Caches and Clean All Targets Xcode 4 and later

Deleting the offending project from disk will not fix it.

Alex Stone
  • 46,408
  • 55
  • 231
  • 407
  • 1
    Now that Xcode 10 is out of beta, this is more of a workaround than a solution.. Looking for the cause still – Alexandre G Oct 09 '18 at 05:10
  • I added a UI Test Target and while running Test target I was facing a similar issue. clear derived data solves my issue. – Manish Nahar Mar 16 '19 at 05:24