eg:
localhost:改造 M.emor.Y$ lipo WebRTC.framework/WebRTC -thin armv7 -output WebRTC_armv7
localhost:改造 M.emor.Y$ lipo WebRTC.framework/WebRTC -thin arm64 -output WebRTC_arm64
localhost:改造 M.emor.Y$ lipo -create WebRTC_armv7 WebRTC_arm64 -output WebRTC
localhost:改造 M.emor.Y$ mv WebRTC WebRTC.framework/
切换到动态库同一路径下,将webRTC替换为你的动态库,执行命令即可。
报错:
1 package(s) were not uploaded because they had problems:
/var/folders/hf/fbw9znxx41z_m51ns6xc2fbm0000gn/T/AC45F944-5D6E-4A20-ABE3-9EBBAACBABD9/1310284886.itmsp - Error Messages:
ERROR ITMS-90087: "Unsupported Architectures. The executable for UZApp.app/Frameworks/WebRTC.framework contains unsupported architectures '[x86_64, i386]'."
ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'UZApp.app/Frameworks/WebRTC.framework/WebRTC' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
ERROR ITMS-90125: "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."