Question

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

Was it helpful?

Solution 2

I managed to fix the problem by keeping my artchitetures and valid architeture to armv6 armv7, i just needed to clear the "Other Code Signing Flags" under the code signing build settings for the project and targets.

OTHER TIPS

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

Target Build Settings for "Architecture"

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top