cordova-plugin-iosrtc: Failed to publish on appStore

Expected behavior

Be able to distribute on AppStore

Observerd behavior

App Store Connect Operation Error ERROR ITMS-90087: “Unsupported Architectures. The executable for My.app/Frameworks/WebRTC.framework contains unsupported architectures ‘[x86_64, i386]’.”

App Store Connect Operation Error ERROR ITMS-90209: “Invalid Segment Alignment. The app binary at ‘My.app/Frameworks/WebRTC.framework/WebRTC’ does not have proper segment alignment. Try rebuilding the app with the latest Xcode version.”

App Store Connect Operation Error 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.”

Steps to reproduce the problem

1. cordova build ios --release --prod
2. Build generic iOS device
3. Archive
4. Distribute

Platform information

  • Cordova version: 7.1.0
  • Plugin version: 6.0.0 master
  • iOS version: N/A
  • Xcode version: 11.1

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

See #421

node plugins/cordova-plugin-iosrtc/extra/ios_arch.js --extract node plugins/cordova-plugin-iosrtc/extra/ios_arch.js --device node plugins/cordova-plugin-iosrtc/extra/ios_arch.js --clean cordova platform remove ios cordova platform add ios file platforms/ios/*/Plugins/cordova-plugin-iosrtc/WebRTC.framework/WebRTC cordova build ios --device