Xcode 8 can't archive “Command /usr/bin/codesign failed with exit code 1”

前端 未结 11 1837
不思量自难忘°
不思量自难忘° 2020-12-22 22:32

I\'ve got a serious problem on Xcode 8 on macOS Sierra. when I try to build my app, I get the following issue.

CodeSign /Users/me/Library/Developer/Xcode/Der         


        
11条回答
  •  情书的邮戳
    2020-12-22 23:09

    I want to show my answer because it may be of interest (I have wasted a lot of time with this error)

    None of the previous answers (which have a high score) have been useful to me.

    They may be correct, but they haven't solved my problem.

    Origin:

    I added a new Target to my iOS application: iMessage

    When I added png images to the Assets. xcassets, the error occurred.

    Solution:

    Make a copy of png images with "Apple Preview App" and uncheck Alpha.

    Error message disappears.

提交回复
热议问题