我正在尝试使用Jitsi Meet Framework,并且在模拟器和实际设备上进行了测试,两者都运行良好。直到我尝试存档应用程序并进行验证。它给出了以下错误:

iTunes Store operation failed.
Unsupported Architectures. The executable for jitsi-meet.app/Frameworks/JitsiMeet.framework/Frameworks/WebRTC.framework contains unsupported architectures '[x86_64, i386]'.

iTunes Store operation failed.
Invalid Segment Alignment. The app binary at 'jitsi-meet.app/Frameworks/JitsiMeet.framework/Frameworks/WebRTC.framework/WebRTC' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.

iTunes Store operation failed.
Invalid Bundle. The bundle at 'jitsi-meet.app/Frameworks/JitsiMeet.framework' contains disallowed nested bundles.

iTunes Store operation failed.
Invalid Bundle. The bundle at 'jitsi-meet.app/Frameworks/JitsiMeet.framework' contains disallowed file 'Frameworks'.

iTunes Store operation failed.
The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid, or the binary is already encrypted. This binary does not seem to have been built with Apple's linker.

XCode版本:版本8.3.3(8E3004b)

谢谢你的帮助。

最佳答案

您的构建有两个问题:

1)您使用的是嵌套框架,Apple不允许使用。我们在一开始就是这样做的,但是因为(如您所见)向商店提交应用程序失败而放弃了它。在此处查看提交:https://github.com/jitsi/jitsi-meet/commit/d7818be0672b8ea39eca01970c4678d0ffc91491

2)WebRTC.framework的体系结构包括模拟器,当提交到商店时是不允许的。您可以在构建中使用以下脚本来过滤体系结构:https://github.com/jitsi/jitsi-meet/blob/master/ios/scripts/fixup-frameworks.sh

关于ios - 存档验证错误:不支持的体系结构,无效的段对齐等〜Jitsi Meet,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/45633435/

10-08 23:54