简体   繁体   English

将应用发布到AppStore Xamarin.iOS版本时出错

[英]Error on publish app to AppStore Xamarin.iOS build

Issue: Invalid Swift Support- The file libswiftAVFoundation.dylib doesn't 问题:无效的Swift支持-文件libswiftAVFoundation.dylib没有

I have tried to resolve my issue based on the following link. 我已尝试根据以下链接解决我的问题。 but still, I'm getting the issue after uploaded in App store. 但是,在App Store中上传后,我仍然遇到问题。 Please help me resolve this issue. 请帮助我解决此问题。 I'm new for Xamarin.iOS 我是Xamarin.iOS的新手

https://docs.google.com/document/d/1nWY-RK9oXsNnlca5eSvbH9tQejLnCjismHrSy8IuDFo/edit https://docs.google.com/document/d/1nWY-RK9oXsNnlca5eSvbH9tQejLnCjismHrSy8IuDFo/edit

Totally I have created two projects in Xamarin and works well in locally. 总的来说,我在Xamarin中创建了两个项目,并且在本地运行良好。

Project 1. Xamarin Sample Binding Project 
          - Here, I have included my own Swift SDK 
Project 2. Xamarin Sample Demo Project 
          - Mapped the Binding project 

Generated the iPA file:- Created the IPA file for Project 2 in Xamarin. 生成了iPA文件:-在Xamarin中为Project 2创建了IPA文件。 The IPA doesn't have the SwiftSupport folder. IPA没有SwiftSupport文件夹。 Then I have followed the above doc steps and export the IPA file using Xcode. 然后,按照上面的文档步骤操作,并使用Xcode导出IPA文件。 I have extracted the IPA file and seen swiftSupport folder. 我已经提取了IPA文件,并看到了swiftSupport文件夹。 After, I have submitted in the Appstore I'm getting the below issue. 之后,我已经在Appstore中提交了以下问题。

AppStore Failed error message:- AppStore失败错误消息:

Invalid Swift Support- The file libswiftAVFoundation.dylib doesn't have the correct code signature. 无效的Swift支持-文件libswiftAVFoundation.dylib没有正确的代码签名。 Make sure you're using the correct signature, rebuild your app using the current public (GM) version of Xcode, and resubmit it. 确保使用正确的签名,使用当前的Xcode公共(GM)版本重建应用,然后重新提交。 Don't just modify the code signature of libswiftAVFoundation.dylib. 不要只修改libswiftAVFoundation.dylib的代码签名。

Finally, Luckily my app works fine. 最后,幸运的是我的应用程序运行正常。 I have just removed all swift framework lib and added the Xamarin.Swift lib only from the Package. 我刚刚删除了所有swift框架库, 仅从 Package中添加了Xamarin.Swift库。 That's it. 而已。

Thank you Every one 谢谢大家

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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