1

When I run the app on my phone it works all right, but when I run it on the simulator I get this error:

enter image description here

I don't know what can I do for this. What is wrong?

Caleb Kleveter
  • 11,170
  • 8
  • 62
  • 92
  • I am having the same issue. For me it seems to be my use of a keychain sharing group. The keychain group for the main app is `com.company.AppName` and my share extension is set to the same `com.company.AppName`. But if I allow the extension to use `com.company.AppName.Share` it seems to work in the simulator but then I am unable to share the keychain properly between the extension and the app. – John K Feb 16 '17 at 13:40
  • Try enabling Keychain Access Groups. [More here](http://stackoverflow.com/questions/38456471/secitemadd-always-returns-error-34018-in-xcode-8-in-ios-10-simulator) – Milan Markovic Feb 17 '17 at 14:07
  • Also update your system and xcode to newest versions. – Milan Markovic Feb 17 '17 at 14:10
  • thank you for your help. i remember that i try to save/read uuid by keychain on simulator.may be in taht way the simulator can’t be working… – user7563640 Feb 20 '17 at 01:03

1 Answers1

2

You need to go to the simulator and long press the icon of the app you are trying to run. Then press the small x on the top right of the app to delete it.

Run the app again and you are fine!

Pavlos
  • 906
  • 1
  • 11
  • 29