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

前端 未结 12 1040
臣服心动
臣服心动 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:05

    My Problem: I had the same error with embedded frameworks.

    1. The App project has Custom Framework project
    2. Inside the Custom Framework project is another Custom Framework project

    The app built to the simulator and to devices with no problem but failed the Apple test, returning "Invalid Bundle".

    I inspected the package just like Taha had been told to by Tech Support and everything was present and correct!

    My Solution: I restructured the project so that the two custom frameworks sit side by side and one is no longer embedded within the other.

    This looks to be an Apple validation problem since everything works fine on devices and the simulator but the work around was straight forward.

提交回复
热议问题