Mac OS app, sandbox with command line tool?

我与影子孤独终老i 提交于 2019-11-28 21:16:48
jjude

I had the same issue and after some search, trial & error, this is what worked for me:

  1. create an entitlement file - for me it was just com.apple.security.inherit set to YES. I created this file in xcode itself.

  2. Now sign this commandline tool using the command:

    codesign --entitlements ./entitlements.plist -s "copy & paste your certificate from keychain" ./commandlinetool   
    
  3. Just to be sure, check using this command:

    codesign --display --entitlements - ./commandlinetool   
    
  4. This tool was already included in the project. So just compile, archive & submit

The status is now 'waiting for review'.

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