I met an egg problem today because there are two xcode on this machine, the xcode5.1.1 and XCODE6.1,XCODE5 versions of the real machine test. But xcode6 real machine test When the problem comes to compile does not pass, Command/usr/bin/codesign failed with exit code 1 error.
So began a difficult query work, and then looked at a number of information and finally did not solve the problem, frustrated Ah!
Went out to smoke a cigarette, tidy up the idea, come back and delete the certificate and the description file.
Then re-create the certificate as well as the description file, reconfigure, clean, run ..... and the error, but the wrong report is not the same,
CodeSign Error:code signing is required for product type ' Unit Test Bundle ' in SDK ' IOS 8.0 '
Workaround
Finally is compiled through the success of the run, but it is very curious why the xcode5.1.1 version of the compilation does not error, xcode6.1 on the compilation, but the same certificate and description file, hey want to not understand ...
I hope to help you, which big God knows why or want to discuss can add my contact, [email protected] or QQ867761181, look forward to the great God ....
iOS essay--Command/usr/bin/codesign failed with exit code 1