不能执行'codesign'(没有这样的文件或目录)
当绑定在Xcode 5设备上运行应用程序时出现此错误
这里是完整的错误
CodeSign /Users/Nevo/Library/Developer/Xcode/DerivedData/RecipesBook-efcrcmgnkaitsqaxahtumfbdxtmb/Build/Products/Debug-iphoneos/RecipesBook.app cd "/Users/Nevo/Desktop/RecipesBook for ios 7 and 6" setenv CODESIGN_ALLOCATE "/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate" setenv PATH "/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode 2.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" Using code signing identity "iPhone Distribution: Shay Shalev (QN94KCWC64)" and provisioning profile "ProfileRecipeBook" (52D189D8-2FFD-4939-A3C6-1CD1F8B645E0) codesign --force --sign 4F0E5397A87B47EE07EC3288681661CBCBB4781C --resource-rules=/Users/Nevo/Library/Developer/Xcode/DerivedData/RecipesBook-efcrcmgnkaitsqaxahtumfbdxtmb/Build/Products/Debug-iphoneos/RecipesBook.app/ResourceRules.plist --entitlements /Users/Nevo/Library/Developer/Xcode/DerivedData/RecipesBook-efcrcmgnkaitsqaxahtumfbdxtmb/Build/Intermediates/RecipesBook.build/Debug-iphoneos/RecipesBook.build/RecipesBook.xcent /Users/Nevo/Library/Developer/Xcode/DerivedData/RecipesBook-efcrcmgnkaitsqaxahtumfbdxtmb/Build/Products/Debug-iphoneos/RecipesBook.app error: can't exec 'codesign' (No such file or directory)
我从/usr/bin/
复制了codesign
: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
它为我工作。
解决了我的问题,感谢您的帮助。 问题出在我的路上。 我已经通过/etc/launchd.conf设置了自己的path,并且正在疯狂地尝试通过〜/ .bashrc等来编辑我的path。确保/ usr / bin位于xcode启动的path中。 这个页面提醒我: http : //overwatering.org/blog/2012/08/setting-path-osx-mountain-lion/
- 理解像tableView这样的函数中的Swift参数表示法
- 如何使用phonegap在iOS应用程序中打开网页?
- 无法将typesUIViewController的值转换为PatternDetailViewController
- 将PageCurl转换为使用UIPageViewController进行滚动
- WKWebView是否被devise为UIWebView的替代品?
- iOS UITableViewCell重叠
- 重新sortingUITableView无需重新sorting控制
- 从iOS中的屏幕外OpenGL像素缓冲区读取像素(OopenGL-ES)
- Facebook的iOS SDK 3.0login教程与FBSession的问题