xcode9 - Code Sign Error in ionic3 project,Command /usr/bin/codesign failed with exit code 1
Asked Answered
M

1

0

After I update IOS in my ionic3 project, I did like this my stackoverflow answer, then when I want to running in my device by xcode, showing this error for me.

error showing: (in .xcworkspace)

/Users/zzm/Library/Developer/Xcode/DerivedData/民安-马来西亚-dihlpydipawmqvehhrmobufggotw/Build/Products/Debug-iphoneos/民安-马来西亚.app: unknown error -1=ffffffffffffffff
Command /usr/bin/codesign failed with exit code 1

enter image description here

UPDATE: enter image description here

Montenegro answered 22/1, 2018 at 9:47 Comment(21)
Please link full build.logEthical
@Ethical Thats too long, sri.. Did you mean build.log showing when I running 'ionic cordova build ios --prod'?Montenegro
That is pod issue now. please check pod name you are using in your podfileMasera
@SivajeeBattina I am using OngSignal plugin in my project.. before I update IOS, no error showing when I am running my project in .xcworkspaceMontenegro
I'm bit confused. Kindly add any screenshot what error you are getting. I may help youMasera
@SivajeeBattina /Users/zzm/Library/Developer/Xcode/DerivedData/民安-马来西亚-dihlpydipawmqvehhrmobufggotw/Build/Products/Debug-iphoneos/民安-马来西亚.app: unknown error -1=ffffffffffffffff Command /usr/bin/codesign failed with exit code 1 This is my errorMontenegro
@SivajeeBattina I UPDATE that was just tried.. because in my project i am using pod already, so cannot running in .xcodeproj, but i have no idea how to solve so just try erveythingMontenegro
Do you know where to change project settings? If you don't know please go to project navigator and click on project name. It will show project related settings. In that select build settingsMasera
Let us continue this discussion in chat.Montenegro
Please note that once you are using podfile, don't run from .xcodeproj, you will get workspace. run .xcworkspaceMasera
@SivajeeBattina Sri I try to set it in code signing there, but still showing error for meMontenegro
@YuyangHe, in second screenshot, it says lPods library not compiled. Don't open xcodeproj, instead open xcworkspace, because this project using Pods library...Code sign is another problem.Duong
@Duong check first screen shot pleaseMontenegro
I deleted UPDATE text alreadyMontenegro
@SivajeeBattina Could you help me check again?Montenegro
After changing the code Signing identities what's the error you are getting?Masera
@SivajeeBattina Please check my update, is it change like that?Montenegro
Change provisioning profile from Automatic to specific provisioning profile you have. and then change Debug, AnyiOSSDK values to corresponding developer certificateMasera
@SivajeeBattina Could you come into discussion room, pleaseMontenegro
@SivajeeBattina I update screenshot in my questionMontenegro
@SivajeeBattina Thank you very much.. error solved and I write it down.Montenegro
M
1

Still don't know why, I just restart my MAC, then error solved.

Reference: Install on Device give Error : Command /usr/bin/codesign failed with exit code 1

Montenegro answered 24/1, 2018 at 8:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.