我正在尝试提交使用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.