Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode - Can run app on simulator but not on device - error: Failed with exit code 1

I am trying to install my AR app onto my device. If I build it onto the simulator it installs but obviously I can't test it as its not possible to run AR on simulator.

The problem is that when I try to run it on my device I get this error

error: Failed with exit code 1

The error above this is

Codesigning /Users/myName/Library/Developer/Xcode/DerivedData/ARanalytix-efmsytiskdgeajgnizwosccslwsj/Build/Products/Debug-iphoneos/ARanalytix.app/Frameworks/libswiftQuartzCore.dylib /usr/bin/codesign --force --sign 239D4B0E67A04154536E45B1893911C2673A85F5 --verbose /Users/samosborne/Library/Developer/Xcode/DerivedData/ARanalytix-efmsytiskdgeajgnizwosccslwsj/Build/Products/Debug-iphoneos/ARanalytix.app/Frameworks/libswiftQuartzCore.dylib /Users/samosborne/Library/Developer/Xcode/DerivedData/ARanalytix-efmsytiskdgeajgnizwosccslwsj/Build/Products/Debug-iphoneos/ARanalytix.app/Frameworks/libswiftQuartzCore.dylib: errSecInternalComponent

I have tried cleaning my project, downloading certificates again, and also followed the steps from here but cant get it to work.

Any help would be great as I am out of ideas. Thank you in advance.

like image 864
spoax Avatar asked Mar 01 '26 23:03

spoax


1 Answers

I tried restarting my Mac and also deleted the certificates from my keychain. I then changed my bundle identifier name and it all seemed to work. Thank you for your help!

like image 131
spoax Avatar answered Mar 04 '26 13:03

spoax



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!