Archive Validation error: Unsupported Architecture, Invalid Segment Alignment, etc ~Jitsi Meet

Archive Validation error: Unsupported Architecture, Invalid Segment Alignment, etc ~Jitsi Meet

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

感谢您的帮助。

您的构建有 2 个问题:

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

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