/usr/bin/xcrun \ -sdk iphoneos \ PackageApplication \ -v "${BUILD_DIR}/${APPLICATION_NAME}.app" \ -o "${APP_ARCHIVE}" \ --sign "${DEVELOPER_ID}" --embed "${PROVISIONING_PROFILE}"
我收到以下错误:
error: /usr/bin/codesign --force --preserve-Metadata --sign iPhone Developer: Apple Developer --resource-rules=/var/folders/p5/gfgpv6911ylbs52cnbh2___m0000gq/T/ky9_XtRlRr/Payload/Blah.app/ResourceRules.plist /var/folders/p5/gfgpv6911ylbs52cnbh2___m0000gq/T/ky9_XtRlRr/Payload/Blah.app Failed with error 1. Output: /var/folders/p5/gfgpv6911ylbs52cnbh2___m0000gq/T/ky9_XtRlRr/Payload/Blah.app: replacing existing signature
codesign_allocate: object: /private/var/folders/p5/gfgpv6911ylbs52cnbh2___m0000gq/T/ky9_XtRlRr/Payload/Blah.app/Blah malformed object (unknown load command 34)
/var/folders/p5/gfgpv6911ylbs52cnbh2___m0000gq/T/ky9_XtRlRr/Payload/Blah.app: object file format unrecognized,invalid,or unsuitable
代码签名出现问题,Xcode 4.3之前的工作正常.代码签名仍然可以用相同的命令完成?这是“未知加载命令”的罪魁祸首,如果是这样,怎么办,找到和修复它呢?