在Xamarin应用中使用Swift库时无效的捆绑结构

时间:2019-04-02 07:20:38

标签: ios swift xamarin.ios

我正在尝试提交使用Xamarin构建的,正在使用Swift库的iOS应用。

我正在尝试使用此处的代码来添加适当的Swift支持:https://github.com/Flash3001/Xamarin.SwiftSupport,但是在上传版本时出现以下错误:

ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'MyApp.app/SwiftSupport/libswiftCore.dylib' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles.

这很令人困惑,尽管我的重点是您需要在Swift支持文件夹中拥有Swift库?

编辑:

我最初的问题是因为我在SwiftSupport文件夹中有Payload文件夹,但它应该在旁边。

现在上传时出现此错误:

Invalid Swift Support - The files libswiftCore.dylib don’t match /Payload/MyApp.app/Frameworks/libswiftCore.dylib. Make sure the files are correct, rebuild your app, and resubmit it. Don’t apply post-processing to /Payload/MyApp.app/Frameworks/libswiftCore.dylib.

0 个答案:

没有答案
相关问题