2

I am new to Xcode the build succeeded app installed on phone but quits or have white screen

dyld`__abort_with_payload

dyld`_dyld_start

dyld__abort_with_payload:

enter image description here

dyld_dyld_start:

enter image description here

**build error:Warning: unable to build chain to self-signed root for signer **

enter image description here

aek8
  • 319
  • 1
  • 8
  • 22
Pankaj Kumar
  • 37
  • 1
  • 8
  • please past error from console. I see in images that there are :) – Arthur Sahakyan Feb 12 '18 at 15:33
  • Here https://imgur.com/a/c3yw2 – Pankaj Kumar Feb 12 '18 at 16:02
  • Any answer to this? I'm having the same issue and I have found no way to save my project. – Chewie The Chorkie Feb 21 '18 at 16:52
  • 1
    @VagueExplanation In keychain, for iPhone certificates previously I changed the iPhone developer Keychain from default to always trust. Coming back to system default it worked. Then the build succeeded with no warnings and app worked on phone perfectly i suggest you delete all certificates in keychain and again build app in Xcode Xcode will ask for keychain password put again and again . make sure iPhone developer certificates are on 'default' not 'always trust' – Pankaj Kumar Feb 24 '18 at 06:43

5 Answers5

0

I ran into this problem when I changed the iPhone developer Keychain in my Mac from default to always trust. Coming back to system default worked

Keychain certificates

https://i.stack.imgur.com/IhyoA.png

Pankaj Kumar
  • 37
  • 1
  • 8
0
  1. Change your trust settings to system default
  2. Delete all certificates in your local keychain
  3. Quit and relaunch xcode
  4. Clean
  5. Run program on device
  6. When it asks, enter your keychain password and click always trust

I was dealing with this issue for a couple days and tore my hair out looking for help. This was the only post that worked! Thanks

0

Closing Xcode and cleaning the project solved the issue for me.

SwatGuard
  • 55
  • 7
0

Just cleaning fixed it for me.

RobertL
  • 14,214
  • 11
  • 38
  • 44
0

In my case, this happened when trying to build for iOS 13. It was about Privacy - Bluetooth Peripheral Usage Description key that was missing from my .plist file.