2

我正在尝试使用 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)

谢谢你的帮助。

4

1 回答 1

2

您的构建有两个问题:

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

于 2017-08-13T11:36:27.010 回答