Invalid Package - App Store Disapproval

I try to send my application to the application store, but I get an error from Apple:

Dear Developer,

We have detected one or more issues with your recent delivery for My App. To process your delivery, the following should be fixed:

Invalid package - one or more dynamic link libraries referenced by your application is not present in the dylib search path.

Once these problems are fixed, you can re-add the fixed binary.

Hello,

App Store Team

I tried using this answer to find out what happened, but I was still stuck. I exported the iPA application file and used the otool -L MyApp command to search for frameworks. Here are the results:

enter image description here enter image description here

These are my frames from the iPA file:

enter image description here

I downloaded all my frameworks using carthage, and I added the frameworks to the built-in framework section:

enter image description here

However, when I submit the application, I get the same email address from Apple.

Thanks!

+5
source share
3 answers

I finally got it by accepting the transition "Always Embed Swift Standard Libraries" to "yes":

enter image description here

+2
source

Not sure if this helps, but one day I came across the same error while updating the application. In this case, the problem was caused by a third-party library, which had to be updated in accordance with the current set of architectures and SDKs.

+2
source

My suggestion opens your archieve from organizer > in the product folder> open project.app> see there should not be any .exe (in any case, inside the folders).

+2
source

All Articles