Since upgrading to Xcode 8 I cannot run any app on my iPhone. The build fails with error:
error: Task failed with exit 0 signal 11
I can run the apps on the simulators, just not on a device. The full error message:
error: Task failed with exit 0 signal 11 { /usr/bin/codesign '--force' '--sign' '7F49C2A625C8976762BDEA351F8DA88E4F6FED22' '--verbose' '/Users/reshef/Library/Developer/Xcode/DerivedData/testXcode-eltpwhxdshmmlygolxcnsroevmoo/Build/Products/Debug-iphoneos/testXcode.app/Frameworks/libswiftCore.dylib' }
Damn Xcode...
After upgrading to High Sierra and Xcode 9, I have spend a lot of time... After combining all the answers here, I solved it in the following way.
Use automatically manage signing:
Go to Target --> General --> Signing, check the Automatically manage siging.
cd /Users/xxx/Library/Developer/Xcode/DerivedData
clean ~
Had the exact same issue. First cleaned the Product then restarted the computer. Worked for me!
I found that by deleting my account under preferences and re-adding it, I can usually solve this problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With