command/usr/bin/codesign failed with exit code 1- code sign error
2016-02-01 16:27
706 查看
I
spent now 3 hours of searching for the above mentioned error:
Command
/usr/bin/codesign failed with exit code 1
Here
is what I already did for trying to fix this:
set
the bundle identifier to com.server.pgmname
set
the code signing to "Any Iphone OS Device"
set
the Code Signing Identity to my Distribution identity.
The
error only occurs when I try to build on my device, on the simulator everything works fine.
Do
you guys have any suggestions?
Thank
you very much in advance!
I had the exact same error, and tried everything under the sun, including what was suggested elsewhere on this page. What the problem was for me was that in Keychain Access, the actual Apple WWDR certificate was marked as "Always Trust". It needed to be "System
Defaults". That goes for your Development and Distribution certificates, too. If any of them are incorrectly set to "Always Trust", that can apparently cause this problem.
So, in Keychain Access, click on the Apple Worldwide Developer Relations Certificate Authority certificate, select Get
Info. Then, expand the Trust settings, and for the combo box for "When using this certificate:", choose "System
Defaults".
Sigh: for those insistent on downvoting this answer, I am not claiming this to be the only solution for this problem. It's one solution. It may not work for you.
相关文章推荐
- spark的task调度器(FAIR公平调度算法)
- 关于 conversion to dalvik fail with error 1
- bug记录:Mybatis-error:Parameter 'xxx' not found. Available parameters are [list]
- RAID详解
- intel Baytrail 平台audio驱动match流程
- filco minila air在debian下的蓝牙适配安装
- waitpid函数实例
- ug-Assertion failure in [MyClass layoutSublayersOfLayer:]
- 剪发 Haircut
- hdoj--1151--Air Raid(最大独立集)
- hdoj--1151--Air Raid(最大独立集)
- Starting httpd: httpd: apr_sockaddr_info_get() failed
- 【转】UltraISO制作U盘启动盘安装Win7/9/10系统攻略
- 【Xamain 跨平台机制原理剖析】
- tools:context=".MainActivity的作用
- rails s 命令不起作用
- 出现( linker command failed with exit code 1)错误总结
- [INS-41112] Specified network interface doesnt maintain connectivi
- Rails 使用 Google Analytics 示例
- [Regular Expressions] Find Plain Text Patterns