简体   繁体   中英

Code sign error XCode 4.2

i386: No such file or directory
Command /usr/bin/codesign failed with exit code 1

I'm getting this error and can't figure out why. My valid architectures are set to armv6 armv7 i386. The project builds and runs fine on the iPad and iPhone simulators, but when I come to build for archive/run with a device it fails. I've also tried to run the project on multiple devices but have the same problem on all.

Anyone know why I may be getting this problem? Thanks

In Build Settings Architecture make the settings as follows on both project and also in targer and clean and build with device

“体系结构”的目标构建设置

我设法通过将我的架构和有效架构保留为armv6 armv7来解决了这个问题,我只需要清除项目和目标的代码签名构建设置下的“其他代码签名标志”。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM