45

When i try to run my app in iPhone 6 simulator, i am getting following error. I am using Xcode 8.1 can any one please help me to understand this issue

enter image description here

Vaisakh
  • 2,919
  • 4
  • 26
  • 44

7 Answers7

69

I had this issue, where it would run it every time I deleted the app from the simulator, but when I tried to run it second time this error would show.

I solved it by resetting the iOS Simulator from the top bar menu.

Xcode 9.0: HardwareErase All Content and Settings...

Pre Xcode 9.0: SimulatorReset Content and Settings...

ThomasCle
  • 6,792
  • 7
  • 41
  • 81
6

I solved this with restart iOS Simulator: Hardware -> Reboot.

feca
  • 1,119
  • 16
  • 14
1

You can also solve this issue by just rebooting your simulator. there is no need to reset the simulator.

i have same problem and i have solved it by just rebooting simulator.

harp
  • 123
  • 1
  • 4
1

Check the Schema name and Executable file name in plistfile. both should be same.

jindal
  • 21
  • 2
1

I had this problem with an app that contained an embedded Sticker extension.

To work around it I first installed the app without the Sticker extension, I did this by clicking the Sticker.appex in the Products group and removing the app 'Target Membership' using the Inspector panel.

Once the app was installed, I could re-toggle the target membership and install the app with the Sticker extension.

atreat
  • 4,243
  • 1
  • 30
  • 34
0

SOLVED

I'd added ios platform with sudo. That why it happened. Now I do it without sudo, it works well.

Please follow below steps to fix it:

  1. Remove platform (with sudo) $ sudo ionic cordova platform rm ios

  2. Add platform (without sudo) $ ionic cordova platform add ios

  3. Emulate $ ionic cordova run ios

Please check for more info: https://github.com/ionic-team/ionic/issues/4052#issuecomment-352999643

Renjith
  • 2,025
  • 3
  • 12
  • 20
-2

For solving this issue, U need to go for trial n Error. This error generally appears when you directly delete a file but missed to delete its mapping. So to resolve this, verify all the mappings in 'AddedLib', 'Resources', and 'complied Resources' sec etc.

Vikas Mishra
  • 246
  • 1
  • 12