Monday, October 23, 2017

Ionic iOS 11 build error with Xcode 9

Leave a Comment

I've tried every possible solution I could find for this cryptic error and no luck.

In my Ionic project, I've added the platform, but when I go to run the project in the simulator through Xcode, I get this error:

error: cannot parse the debug map for "/Users/XXX/Library/Developer/Xcode/DerivedData/ProjectName-aedfralrxnetyceopmcioxkdhsxh/Build/Products/Debug-iphonesimulator/ProjectName.app/ProjectName": No such file or directory

Not sure where else to turn other than here. Any help would be appreciated!

2 Answers

Answers 1

Looks like you have DerivedData/ from old Xcode.

Go to ~/Library/Developer/Xcode/DerivedData and remove your project:

$ rm -rf /ProjectName-aedfralrxnetyceopmcioxkdhsxh 

Next, in Xcode run clear -> build


Also check that your Simulators are up to date

Answers 2

From the Xcode do following two things might solve your problem.

  1. Product -> Clean and build folder
  2. Go to finder -> library -> Developer -> Xcode -> Derived data delete that folder
If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment