简体   繁体   中英

Invalid Bundle - App Store Rejection

I am trying to submit my app into the app store but I am getting an error message from Apple:

Dear developer,

We have discovered one or more issues with your recent delivery for "My App". To process your delivery, the following issues must be corrected:

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

Once these issues have been corrected, you can then redeliver the corrected binary.

Regards,

The App Store team

I tried using this answer to find out what's wrong but I am still stuck. I exported the iPA file of the app and used the otool -L MyApp command to find the frameworks. Here are the results:

在此输入图像描述 在此输入图像描述

These are my frameworks from the iPA file:

在此输入图像描述

I downloaded all my frameworks using carthage and I added the frameworks to the embedded frameworks section:

在此输入图像描述

However when I submit the app I get the same email back from Apple.

Thanks!

Not sure if this helps, but I encountered the same error once when updating an app. In that case, the problem was caused by a third party library that had to be updated to match the current set of architectures and SDK.

我的建议是从organizer打开你的archieve >查看产品文件夹>打开project.app>看看应该没有任何.exe文件(文件夹中的任何位置)。

I finally got it accepted by switching "Always Embed Swift Standard Libraries" to yes:

在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM