Ios – Error Xcode 10 . PhaseScriptExecution failed with a nonzero exit code: errSecInternalComponent

iosswiftxcodexcode10

Showing Recent Messages :-1: Code Signing /Users/…/Library/Developer/Xcode/DerivedData/ProjectName-bszhnyuqdhgiqaaeosxrsxfkscut/Build/Products/Debug-iphoneos/ProjectName.app/Frameworks/Alamofire.framework
with Identity iPhone Developer: MyName (H837F7ABC3)

:-1: /usr/bin/codesign –force –sign
59878098645E516950920B15DC30E4E94D7CADAD
–preserve-metadata=identifier,entitlements '/Users/…/Library/Developer/Xcode/DerivedData/ProjectName-bszhnyuqdhgiqaaeosxrsxfkscut/Build/Products/Debug-iphoneos/ProjectName.app/Frameworks/Alamofire.framework'

:-1:
/Users/marcel/Library/Developer/Xcode/DerivedData/VoiceMe-bszhnyuqdhgiqaaeosxrsxfkscut/Build/Products/Debug-iphoneos/VoiceMe.app/Frameworks/Alamofire.framework:
errSecInternalComponent

Command PhaseScriptExecution failed with a nonzero exit code

I've installed the pods like 10 times … cleaned and build the project not working also.

I'm running Xcode 10 and try to run it on a device.

Signing worked before just fine.

Best Answer

I have facing the same issue, i believe this issue have something link to keychain access too (code signing problem), I go to keychain access unlock the login then lock it again fixed this issue. After uploading toOSMojave and Xcode 10 keychain need to reverify the password. (how i find this? while facing same issue and trying all available option, i think to generate certificate again, but while generating private key i found keychain login user name and password is wrong type of message- i lock and unlock again solved my problem). Note this process required your login pass phare.

Related Topic