Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
488 views
in Technique[技术] by (71.8m points)

ios - Getting this error command /usr/bin/codesign failed with exit code 1 with xcode 9.1?

I am getting this error

/Users/macbook/Library/Developer/Xcode/DerivedData/xxxxx-egjyfcyhdfcgftavbtoudbcgthja/Build/Products/Debug-iphoneos/xxxx.app: unknown error -1=ffffffffffffffff

command /usr/bin/codesign failed with exit code 1 

with xcode 9.1/ios11.1 while building the application, earlier i was able to run my application smoothly. Any idea what could be the issue. I have already tried following steps:

Deleting all the Derived Data.

update all provisioning profile and certificates.

But still no luck.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Try updating your keyChain password. For that try following

  • If you don't know your old password, the solution is to create a new login keychain.

  • If you know your old password, use that password to update your existing login keychain:

    1. Open the Keychain Access app, which is in the the Utilities folder of your Applications folder.
    2. From the list of keychains on the left side of the window, select "login."
    3. From the Edit menu in the menu bar, choose “Change Password for Keychain 'login.'”
    4. Enter the old password of your user account in the Current Password field.
    5. This is the password you were using before the password was reset.
    6. Enter the new password of your user account in the New Password field. This is the password you're now using to log in to your Mac. Enter the same password in the Verify field.

Click OK when done, then quit Keychain Access. Quit your Xcode, reopen the project and try building your project it should work.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...