IOS 开发codesign错误
2011-12-30 16:29
239 查看
CodeSign /Users/wbw1985/Library/Developer/Xcode/DerivedData/KamiReader-cpaixyryjhncqrguszybjwufhkqf/ArchiveIntermediates/KamiReader/InstallationBuildProductsLocation/Applications/KamiReaderR.app
cd /Users/wbw1985/paul/1.1_kami/KamiReader
setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign --force --sign "iPhone Distribution: li xiaona" --resource-rules=/Users/wbw1985/Library/Developer/Xcode/DerivedData/KamiReader-cpaixyryjhncqrguszybjwufhkqf/ArchiveIntermediates/KamiReader/InstallationBuildProductsLocation/Applications/KamiReaderR.app/ResourceRules.plist
--entitlements /Users/wbw1985/Library/Developer/Xcode/DerivedData/KamiReader-cpaixyryjhncqrguszybjwufhkqf/ArchiveIntermediates/KamiReader/IntermediateBuildFilesPath/KamiReader.build/Release-iphoneos/KamiReader.build/KamiReaderR.xcent /Users/wbw1985/Library/Developer/Xcode/DerivedData/KamiReader-cpaixyryjhncqrguszybjwufhkqf/ArchiveIntermediates/KamiReader/InstallationBuildProductsLocation/Applications/KamiReaderR.app
/Users/wbw1985/Library/Developer/Xcode/DerivedData/KamiReader-cpaixyryjhncqrguszybjwufhkqf/ArchiveIntermediates/KamiReader/InstallationBuildProductsLocation/Applications/KamiReaderR.app: object file format unrecognized, invalid, or unsuitable
Command /usr/bin/codesign failed with exit code 1
Command /usr/bin/codesign failed with exit code 1
解决方法:
在工程的build settings中找到build variants 将Debug和Release都改成normal就可以了
cd /Users/wbw1985/paul/1.1_kami/KamiReader
setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/usr/bin/codesign --force --sign "iPhone Distribution: li xiaona" --resource-rules=/Users/wbw1985/Library/Developer/Xcode/DerivedData/KamiReader-cpaixyryjhncqrguszybjwufhkqf/ArchiveIntermediates/KamiReader/InstallationBuildProductsLocation/Applications/KamiReaderR.app/ResourceRules.plist
--entitlements /Users/wbw1985/Library/Developer/Xcode/DerivedData/KamiReader-cpaixyryjhncqrguszybjwufhkqf/ArchiveIntermediates/KamiReader/IntermediateBuildFilesPath/KamiReader.build/Release-iphoneos/KamiReader.build/KamiReaderR.xcent /Users/wbw1985/Library/Developer/Xcode/DerivedData/KamiReader-cpaixyryjhncqrguszybjwufhkqf/ArchiveIntermediates/KamiReader/InstallationBuildProductsLocation/Applications/KamiReaderR.app
/Users/wbw1985/Library/Developer/Xcode/DerivedData/KamiReader-cpaixyryjhncqrguszybjwufhkqf/ArchiveIntermediates/KamiReader/InstallationBuildProductsLocation/Applications/KamiReaderR.app: object file format unrecognized, invalid, or unsuitable
Command /usr/bin/codesign failed with exit code 1
Command /usr/bin/codesign failed with exit code 1
解决方法:
在工程的build settings中找到build variants 将Debug和Release都改成normal就可以了
相关文章推荐
- iOS开发OC基础:Xcode中常见英文总结,OC常见英文错误
- iOS开发常见错误代码对照表整理
- ios定位开发 当使用百度地图sdk没有启用object c++混编时就会出现如下错误
- ios storyboadr(sizeClass)开发常用技巧及错误
- iOS开发笔记--[__NSArrayI addObjectsFromArray:]: unrecognized selector错误
- iOS开发中的错误整理,Changing the delegate of a tab bar managed by a tab bar controller is not allowed
- X-code6 错误CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8
- IOS 开发中 Whose view is not in the window hierarchy 错误的解决办法
- IOS开发ARC forbids explicit message send of 'autorelease'错误解决办法
- IOS 开发中 Whose view is not in the window hierarchy 错误的解决办法
- IOS-17-百度地图开发经常出现的错误和注意点
- iOS开发技巧--避免程序调试时出现三方库错误
- 【iOS开发笔记22/50】:恼人的a valid provisioning profile for this executable was not found错误
- IOS开发错误总结-警告篇
- Mac & iOS开发常见错误
- iOS开发遇到的错误 -- Label显示多行文字导致宽度和高度的问题
- ios开发日记-18上传appStore时,遇到错误,代码为ERROR ITMS-90049
- iOS 开发 解决EXC_BAD_ACCESS错误的一种方法--NSZombieEnabled(转)
- iOS开发之--iOS网络请求错误码。
- ios开发之duplicate symbol for architecture x86_64 错误