我尝试使用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)
感谢您的帮助。
答案 0 :(得分:1)
您的构建存在两个问题:
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