Submit an OSX App with helper App in its bundle

后端 未结 4 624
栀梦
栀梦 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:45

    I was finally able to resolve this problem by deleting the embedded.provisionprofile file from the helper app by adding the following run script:

    if [ -f "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/embedded.provisionprofile" ];
    then
        rm "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/Contents/embedded.provisionprofile"
        echo "Removed embedded provisioning profile."
    else
        echo "No profile found"
    fi
    

提交回复
热议问题