Codesign: What are unsealed contents?

后端 未结 10 536
夕颜
夕颜 2020-12-06 04:31

I have just upgraded to XCode 6 and tried to build my Developer ID signed Mac app. However, I now get the following codesign error:

unsealed contents present         


        
10条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-06 05:04

    Have a look at OS X Code Signing In Depth

    Beginning with OS X version 10.9.5, there will be changes in how OS X recognizes signed apps

    Structure your bundle according to the expectations for OS X version 10.9 or later:

    • Only include signed code in directories that should contain signed code.
    • Only include resources in directories that should contain
      resources.
    • Do not use the --resource-rules flag or ResourceRules.plist. They have been obsoleted and will be rejected.

提交回复
热议问题