我正在尝试将facebook集成到我的应用程序中
1/我尝试了静态库(用于arc项目),得到类似于“库不是为您当前的目标(Armv7)构建的”之类的消息。我读了上百篇帖子,但无法解决pb问题。
2/现在我只需对src进行dragDroping,并将一个标志-fno-objc-dragDroping添加到所有添加的标志中。
还是不能工作!
下面是我的错误消息:
CodeSign /Users/sylvainguilbert/Library/Developer/Xcode/DerivedData/Aviso_0.1-fhjiibqwcoohxmcueawtpqtjuknh/Build/Products/Debug-iphoneos/Aviso_0.1.app
cd /Users/sylvainguilbert/Documents/dev/Aviso_0.1
setenv CODESIGN_ALLOCATE /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv 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"
/usr/bin/codesign --force --sign 752c4685452b4d64922b21157564304b5db0e616 --resource-rules=/Users/sylvainguilbert/Library/Developer/Xcode/DerivedData/Aviso_0.1-fhjiibqwcoohxmcueawtpqtjuknh/Build/Products/Debug-iphoneos/Aviso_0.1.app/ResourceRules.plist armv7 armv6 --entitlements /Users/sylvainguilbert/Library/Developer/Xcode/DerivedData/Aviso_0.1-fhjiibqwcoohxmcueawtpqtjuknh/Build/Intermediates/Aviso_0.1.build/Debug-iphoneos/Aviso_0.1.build/Aviso_0.1.xcent /Users/sylvainguilbert/Library/Developer/Xcode/DerivedData/Aviso_0.1-fhjiibqwcoohxmcueawtpqtjuknh/Build/Products/Debug-iphoneos/Aviso_0.1.apparmv7:没有这样的文件或目录命令/usr/bin/codesign失败,退出代码为%1
这快把我逼疯了,我错过了什么?
发布于 2012-07-12 09:11:28
我在这里找到了答案:Command /usr/bin/codesign failed with exit code 1: i386: No such file or directory
当我从项目和目标中删除它们时,我的构建设置中有armv6 armv7,一切都很好。
https://stackoverflow.com/questions/11434142
复制相似问题