Submit an OSX App with helper App in its bundle

后端 未结 4 623
栀梦
栀梦 2021-01-31 11:14

I\'m really going mad with this problem! I have an app that contains a simple Helper app which manages the login item for the Main app.

When I try to submit the app I g

4条回答
  •  孤独总比滥情好
    2021-01-31 11:35

    The only solution that seems to solve this problem was codesign and sandboxing the helper app from Xcode and then:


    Re-Codesign the Helper app from terminal

    codesign -f -s "3rd Party mac Developer Application:" -i "com.bundle.YOUR.HELPER" --entitlements path/to/helper/entitlements YEOR-HELPER.app



    Remove provisioning profile from Helper app, adding a "Run script" into the "Build Phases"

    rm"${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/Library/LoginItems/YOUR-HELPER.app/Contents/embedded.provisionprofile"
    

    With this solution we've correctly submitted our App.

提交回复
热议问题