Electron-Osx-Sign打破了我的应用程序

时间:2017-01-09 12:36:17

标签: electron

当我运行电子osx-sign我的应用程序不再打开。我可以在Dock中看到它试图打开一瞬间,然后立即关闭,没有错误或警告。这与我的签名或权利有关吗?

CLI:

  

sudo electron-osx-sign App.app   --provisioning-profile = My.provisionprofile --entitlements = parent.plist --entitlements-inherit = child.plist

权利专利:

> <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC
> "-//Apple//DTD PLIST 1.0//EN"
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist
> version="1.0">   <dict>
>     <key>com.apple.security.app-sandbox</key>
>     <true/>
>     <key>com.apple.security.application-groups</key>
>     <string>"my team id here".com.site.app</string>   </dict> </plist>

子:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>com.apple.security.app-sandbox</key>
    <true/>
    <key>com.apple.security.inherit</key>
    <true/>
  </dict>
</plist>

0 个答案:

没有答案