Command /usr/bin/codesign failed with exit code 1报错

http://blog.csdn.net/justinjing0612/article/details/39677693

之前遇到一个相类似的问题。

CodeSign /Users/Justinjing/Library/Developer/Xcode/DerivedData/PAChat-gmruiapdstkomzhdovxaqijjeyrt/Build/Products/Debug-iphoneos/GodTVPlay.app
cd /Users/Justinjing/Desktop/project/PAChat
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"

Signing Identity: "iPhone Developer: Justinjing (6ZM8N7CJE9)"
Provisioning Profile: "iOS Team Provisioning Profile: com.Justinjing.*"
(1bea6a7e-8631-486e-889e-4b062337ae5e)


/usr/bin/codesign --force --sign CGDBA25FC97FA851693DEEB23A01AD91B2D00526 --resource-rules=/Users/justinjing/Library/Developer/Xcode/DerivedData/PAChat-gmruiapdstkomzhdovxaqijjeyrt/Build/Products/Debug-iphoneos/PAChat.app/ResourceRules.plist --entitlements /Users/leeping/Library/Developer/Xcode/DerivedData/PAChat-gmruiapdstkomzhdovxaqijjeyrt/Build/Intermediates/PAChat.build/Debug-iphoneos/PAChat.build/PAChat.app.xcent /Users/justinjing/Library/Developer/Xcode/DerivedData/PAChat-gmruiapdstkomzhdovxaqijjeyrt/Build/Products/Debug-iphoneos/PAChat.app


CGDBA25FC97FA851693DEEB23A01AD91B2D00526: no identity found
Command /usr/bin/codesign failed with exit code 1

操作:
"cmd+,"->View Details 

删除相应的描述文件。


你可能感兴趣的:(ios开发)