How do you fix “code object is not signed at all In subcomponent:” in Xcode 6, Mac OS X Yosemite or Mavericks?

后端 未结 9 1272
[愿得一人]
[愿得一人] 2021-01-07 16:56

When compiling my application I\'m getting the following error:

CodeSign /Users/pupeno/Library/Developer/Xcode/DerivedData/ProjectX-cynmgyozflnwbpamwnpsnhgsh         


        
相关标签:
9条回答
  • 2021-01-07 17:08

    I faced this problem after adding fastlane to upload screenshots to App Store Connect automatically. I had to remove fastlane from the project and clean the build folder to make it work again.

    0 讨论(0)
  • 2021-01-07 17:09

    For me, it turned out that I had inadvertently added a bash build script to the target. Making sure I had no sneaky scripts accidentally copied into the target fixed the issue.

    0 讨论(0)
  • 2021-01-07 17:14

    For me the solution was to re-Add a resource folder (checking Create groups instead of create folder references).

    0 讨论(0)
  • 2021-01-07 17:14

    For me this problem was resolved by a simple "clean build folder" action, keyboard shortcut: shift+option+command+K.

    0 讨论(0)
  • 2021-01-07 17:17

    For me I had to go to the Project build settings and set Other Code Signing Flags to --deep. The problem was that my framework in the project was not signed.

    0 讨论(0)
  • 2021-01-07 17:20

    I'll admit codesigning is still a black art to me, but in Xcode 6 I found that removing all of my signing scripts (which were necessary in Xcode 5, along with --deep flags) and additional signing flags, and just using the "codesign on copy" option in the Framework's Copy Files phase of the build worked flawlessly for me.

    0 讨论(0)
提交回复
热议问题