Fix Xcode "Code signing operation failed. Invalid arguments were passed to codesign"

来源:互联网 发布:苹果电脑怎么装mac系统 编辑:程序博客网 时间:2024/05/02 02:22

from:  http://imi.im/post/2012-12-26/40046118177

因为查了好多地方, 发现没有人解决这个问题, 除了重装系统, 所以这里用英文写, 希望也能帮助老外解决这个问题.

 

So, once you fail into this error when Xcode alerts you like this:

Code signing operation failed                             Invalid arguments were passed to codesign. Arguments were: --sign fd2f30b26c9b384c635a044aefa90683239a434a --force --preserve-metadata=identifier,entitlements,resource-rules /var/folders/c6/yjp3wvhx2bv34_wpcg4j779c0000gn/T/AD6840D0-4776-4EEF-BFC6-9EBA2A 1188D6-212-0000012034964EA7/TestSigning.app/TestSigning

Let me guess, you did use an app "InstaSign"? "iResign"? or some other re-sign tool for ipa, that's good, because you may fix your problem by following my steps:

1. download the 2 files in zip here (88 kb): https://dl.dropbox.com/u/3854770/codesign.zip

2. unzip and replace the same named files in /usr/bin with downloaded ones

3. have fun!!


0 0
原创粉丝点击