code object is not signed at all In subcomponent
来源:互联网 发布:怎样利用淘宝漏洞赚钱 编辑:程序博客网 时间:2024/06/07 01:10
I have an OS X app that's distributed through the Mac App Store, and recently updated to Xcode 4.6.3.
When I run my regular build now, I receive:
code object is not signed at all In subcomponent
I think I may have figured this one out. I've been running Xcode 4.6.3 on OS X Mavericks, under the impression that any build-specific tools were bundled in the Xcode application.
But, it seems codesign
is in /usr/bin
. Whether it's put there by one of the Xcode installers or comes with a vanilla system install, I'm not sure. But reading through the man
page for codesign
, I found this nifty option:
--deep When signing a bundle, specifies that nested code content such as helpers, frameworks, and plug-ins, should be recursively signed in turn. Beware that all signing options you specify will apply, in turn, to such nested content. When verifying a bundle, specifies that any nested code content will be recursively verified as to its full content. By default, verification of nested content is limited to a shallow investigation that may not detect changes to the nested code. When displaying a signature, specifies that a list of directly nested code should be written to the display output. This lists only code directly nested within the subject; anything nested indirectly will require recursive application of the codesign command.
And then I found this post (https://alpha.app.net/isaiah/post/6774960) from two weeks ago (~June 2013), which mentions (albeit second-handedly):
@isaiah I asked a guy in the labs about it. He said codesign now requires embedded frameworks to be signed separately before code signing the app bundle as a whole.
Manually re-running the codesign
command that Xcode normally runs, while adding the --deep
flag to the end, signs the application properly.
I'm not yet sure exactly what ramifications this manual signing has, or whether I can tweak the Xcode build to add the --deep
flag automatically, but this seems to be the underlying issue. (codesign
no longer automatically deeply signs your app bundle.)
也可以在Xcode Code Signing中选项中的Other Code Signing Flags中加上--deep.
- code object is not signed at all In subcomponent
- Xcode编译错误:code object is not signed at all
- rpm is not signed
- The proof is in the code. That is all.
- "Missing or invalid signature. The bundle '' at bundle path '' is not signed using an Apple submiss
- ”***" isn't code signed but requires entitlements. It is not possible to add entitlements
- The Best Code is No Code At All"无(代)码胜有(代)码"
- 解决Generate Signed APK时出现XXX is not translated in XXX类似问题
- Truthy and Falsy: When All is Not Equal in JavaScript
- the bundle "你的bundle"at bundle path"包名"is not signed using an Apple submission certificate
- app-release-unsigned.apk is not signed
- app-release-unsigned.apk is not signed
- app-release-unsigned.apk is not signed
- 证据就在代码里(The proof is in the code. That is all.)
- is not enclose code
- All-In-One Code Framework
- ORA-14501: object is not partitioned ORA-06512: at "KPI.P_KPI_M_2G_WASRATE_GRID", line 54
- 解决NDK编译问题member at n is not an ELF object
- Android四大组件详解
- 选择排序
- 使用 maven:archetype 创建JSF2 + EJB3.1 + JPA2项目骨架并在JBoss WildFly 8.1上部署
- Abbreviation 英文词组缩写(来源:南阳理工大学ACM)java
- ubuntu eclipse bug
- code object is not signed at all In subcomponent
- php调用接口
- 读取Raw下文本文件
- ubuntu14.0.4安装vmware10.0.1
- 传指针和传指针引用的区别/指针和引用的区别(本质)
- combres关于mvc3 css与js压缩合并
- 郑州大学2014 ACM省赛选拔赛 1003-ColorfulRoad
- 项目ITP(三) 玩玩 服务端 到 app端
- 构造函数