所以,以前我在签署代码时遇到了问题,但我想出来了。在我的下一次构建尝试中,我收到了:
Cannot read format tag from '/tmp/hl1WidCTwb/entitlements_rawxKfUuL3b':
我不确定接下来该做什么,我无法在网上找到任何资源。
我删除了部分输出以供匿名,但其中大部分都是:
lt-00003914:emulator Mobile$ sudo xcrun -sdk iphoneos7.0 PackageApplication -v Test.app -o /Users/Mobile/Desktop/somefile.ipa --sign "This is where my identity would go" --embed /Users/Mobile/Desktop/Provisioning\ Profiles/Demo_Version.mobileprovision
### Checking original app
+ /usr/bin/codesign --verify -vvvv Test.app
Program /usr/bin/codesign returned 0 : [Test.app: valid on disk
Test.app: satisfies its Designated Requirement
]
Done checking the original app
### Embedding '/Users/Mobile/Desktop/Provisioning Profiles/Demo_Version.mobileprovision'
+ /bin/rm -rf /tmp/hl1WidCTwb/Payload/Test.app/embedded.mobileprovision
Program /bin/rm returned 0 : []
+ /bin/cp -rp /Users/Mobile/Desktop/Provisioning Profiles/Demo_Version.mobileprovision /tmp/hl1WidCTwb/Payload/Test.app/embedded.mobileprovision
Program /bin/cp returned 0 : []
+ /usr/bin/codesign -d --entitlements /tmp/hl1WidCTwb/entitlements_rawxKfUuL3b /tmp/hl1WidCTwb/Payload/Test.app
Program /usr/bin/codesign returned 0 : [Executable=/private/tmp/hl1WidCTwb/Payload/Test.app/Test
]
error: Cannot read format tag from '/tmp/hl1WidCTwb/entitlements_rawxKfUuL3b':