Abc.app unsealed contents are present in the bundle root - Xcode, any change required to bundle?

微笑、不失礼 提交于 2019-12-12 14:17:49

问题


I have switched my XCode version from 3.2.6 to 5.1.1, I have been asked to change the project settings and porting to a new format and resolved many compilation errors as well. Now there is no compilation errors i could able to build my project successfully.

When I tries to sign the project using codesign v2 (mac 10.9.5) i could see the following error

"Abc.app unsealed contents are present in the bundle root"

To Resolve I have gone through the below link and tried to create a bundle structure as mentioned in it, but i'm missing something basically I don't know what it is.

Codesign: What are unsealed contents?

My folder Structure would be similar to below, if anyone has seen discrepancy kindly mention what i need to correct.

/src/Abc/

  • Abc.xcodeproj
  • build\
  • doc\
  • English.proj
  • Info.plist
  • Installer.pmdoc
  • InstallScripts\
  • Japanese.lproj\
  • Libraries\
  • Abc_Prefix.pch
  • Abc.pmproj
  • Package\
  • Resource\
    • *.png, *.icns, *.jpg, setting.plist
  • Source\
  • Uninstall\
  • zh_TW.lproj\

回答1:


In my experience, this error message means I've left some files in the same folder level as the Contents folder.

Everything must be inside the Contents folder.

Try moving whatever files are on the same level as the Contents folder to somewhere inside the Contents folder.



来源:https://stackoverflow.com/questions/27145958/abc-app-unsealed-contents-are-present-in-the-bundle-root-xcode-any-change-req

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!