How to debug “Invalid Bundle” error which happens only after submitting to app store

前端 未结 12 1054
臣服心动
臣服心动 2020-12-04 14:26

I have a lot of frameworks in my app. App works fine in adhoc/enterprise release. Only if I submit to the app store for testflight testing I get this error email from apple:

12条回答
  •  青春惊慌失措
    2020-12-04 15:10

    After adding the custom Swift framework to my project I got this email after uploading the app to iTunes connect.

    I got this email from iTunes store,

    Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path.

    The fix is simple for this issue,

    Step 1: Make sure your Custom framework is added to Embedded Binaries in General tab of your target.

    Step 2: Under build settings,

    Set Always Embed Swift Standard Libraries = Yes for your main project target.

    And Set Always Embed Swift Standard Libraries = No for your custom framework target.

    This solved my problem and I was able to upload binary to iTunes connect.

    Ref

提交回复
热议问题