Codesign returned 1 (object ifile format invalid or unsuitable) bug

前端 未结 3 661
忘了有多久
忘了有多久 2020-12-23 14:09

I\'m working with Xcode 4.1 build 4B110f trying to get my iOS app ready for upload. It passes the Product|Archive step with no errors, asking twice for permission to sign s

3条回答
  •  独厮守ぢ
    2020-12-23 14:34

    In case you get this on a recent version of Xcode, what you actually want is, in the shell:

    export CODESIGN_ALLOCATE=`xcode-select -print-path`/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
    

    which will use the codesign_allocate from the version of Xcode you are using.

    You can update the version of Xcode the command line tools use by running xcode-select -switch

提交回复
热议问题