小编נבו*_*שלו的帖子

不能执行'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)
Run Code Online (Sandbox Code Playgroud)

iphone xcode ios ios7 xcode5

1
推荐指数
1
解决办法
2152
查看次数

计算数组中的平均值

我需要在我的应用程序中添加一些计算数字数组平均值的内容.

如果我有3个数字:10,20和30,我如何获取数组中的所有数字,将它们加在一起(60)然后除以总数并在标签的某处显示最终数字?

objective-c nsarray ios

0
推荐指数
1
解决办法
4608
查看次数

标签 统计

ios ×2

ios7 ×1

iphone ×1

nsarray ×1

objective-c ×1

xcode ×1

xcode5 ×1