- 电脑已重启过
- Apple WorldWide证书已重装
- 砸壳后的包中含有Resource文件, 已更改名字ResourceTag(虽然更改文件名会导致二进制文件缺失, 但不应该再报签名错误)
CodeSign /Users/xxxx/Library/Developer/Xcode/DerivedData/ManHuaHook-haqnxjzunbmjfwetgqtyaxxhxrnh/Build/Products/Debug-iphoneos/ManHuaHook.app (in target ‘ManHuaHook’ from project ‘ManHuaHook’)
cd /Users/xxxx/Documents/ManHuaHook
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "Apple Development: abc def (AJNRXXXXX)"
Provisioning Profile: "iOS Team Provisioning Profile: *"
(xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx)
/usr/bin/codesign --force --sign xxxxxxxxxxxxxx --entitlements /Users/xxxx/Library/Developer/Xcode/DerivedData/ManHuaHook-haqnxjzunbmjfwetgqtyaxxhxrnh/Build/Intermediates.noindex/ManHuaHook.build/Debug-iphoneos/ManHuaHook.build/ManHuaHook.app.xcent --timestamp\=none --generate-entitlement-der /Users/xxxx/Library/Developer/Xcode/DerivedData/ManHuaHook-haqnxjzunbmjfwetgqtyaxxhxrnh/Build/Products/Debug-iphoneos/ManHuaHook.app
/Users/xxxx/Library/Developer/Xcode/DerivedData/ManHuaHook-haqnxjzunbmjfwetgqtyaxxhxrnh/Build/Products/Debug-iphoneos/ManHuaHook.app: main executable failed strict validation
Command CodeSign failed with a nonzero exit code