Xcode 10, Command CodeSign failed with a nonzero exit code

后端 未结 30 2845
忘掉有多难
忘掉有多难 2020-12-02 05:49

Everytime I build console is showing this message.

CodeSign /Users/admin/Desktop/AppStoreBuild/Project201/build/Debug-iphonesimulator/Project.app (in

30条回答
  •  爱一瞬间的悲伤
    2020-12-02 05:59

    In my case was the following errors lines:

    Signing Identity: "-"

    …..mobile.app: resource fork, Finder information, or similar detritus not allowed

    Command CodeSign failed with a nonzero exit code

    the problem was that in the resources folder I had some files with .png extension, which was hidden on the defaults.

    Find file in FINDER, mark it -> cmd+i -> unchek Hide extension

    after that, return in Xcode -> kmd + shift + K and rebuild.

    I hope I've been helpful!

提交回复
热议问题