unable to build chain to self-signed root for signer

I, first time in this forum, hope I'm in right one!


I already used XCODE 8 to develope, run, archive and submit to appStore.


Since I upgraded to XCODE 9, I can't run on device. (and I suppose can't submit archive...)


As suggested by APPLE documentation, I use "Automatically manage signing" with team, provisioning file and Signing Certificate iPhone developer.


All settings seems to be ok.


I build appSwift4: Succeeded but with warning:


Warning: unable to build chain to self-signed root for signer "iPhone Developer: name (xxxxxxxxxx)"


When I run app on Simulator, everything is ok.

When I run app on iPadAir device, app crash with this output:


dyld: Library not loaded: @rpath/libswiftCore.dylib

Referenced from: /var/containers/Bundle/Application/-------------/appSwift4.app/appSwift4

Reason: no suitable image found. Did find:

/private/var/containers/Bundle/Application/-------------/appSwift4.app/Frameworks/libswiftCore.dylib: code signing blocked mmap() of '/private/var/containers/Bundle/Application/-------------/appSwift4.app/Frameworks/libswiftCore.dylib'

Something broken in keyChain...? I revoked every Certificate and keys . Then recreate via XCODE automatism. I get same warning and same result.


HELP!


thanks

m2U

Replies

I have exactly same issue.... and for the moment no solution :-(

please go to see the post :

Unable to Run Application on Device “dyld: Library not loaded”


there is a process to clean all certificates and rebuild all the chain... and it worked for me.

Can you please help with the steps to clean all certificates details on it?

After days of struggling, finally found the solution! 🎉🎊

Since this forum is not convenient I've posted it here on the StackOverflow

Hope it helps