ark-brighthustle / flutter_zoom_sdk

Zoom SDK from ZOOM ported to flutter as plugin with all necessary features and with Null Safety which is implementation by CodeSyncr
BSD 3-Clause "New" or "Revised" License
39 stars 84 forks source link

Problem when run on ios simulator #100

Open mohamedbasha275 opened 1 year ago

mohamedbasha275 commented 1 year ago

Plugin works correctly on android but gets an error when running on ios simulator Error `Xcode's output: ↳

Writing result bundle at path:
/var/folders/jg/x4xc64ls2szdwy1hl_p8y92c0000gn/T/flutter_tools.g2k9iE/flutter_ios_build_temp_dirUdfSSc/temporary_xcresult_bundle
warning: [CP] MobileRTC.xcframework: Unable to find matching slice in 'ios-i386_x86_64-simulator ios-arm64_armv7' for the current build architectures (arm64 x86_64) and platform (-iphonesimulator).
/Users/myname/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zoom_sdk-0.0.9/ios/Classes/SwiftFlutterZoomSdkPlugin.swift:3:8: error: no such module 'MobileRTC'
import MobileRTC
       ^
note: Building targets in dependency order
/Volumes/MyData/Work/Futtersss/e_learning/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 11.0 to 16.0.99. (in target 'TweetNacl' from project 'Pods')
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')
warning: Run script build phase 'Thin Binary' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Runner' from project 'Runner')

Result bundle written to path:
    /var/folders/jg/x4xc64ls2szdwy1hl_p8y92c0000gn/T/flutter_tools.g2k9iE/flutter_ios_build_temp_dirUdfSSc/temporary_xcresult_bundle
Swift Compiler Error (Xcode): No such module 'MobileRTC'
/Users/myname/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_zoom_sdk-0.0.9/ios/Classes/SwiftFlutterZoomSdkPlugin.swift:2:7

Could not build the application for the simulator. Error launching application on iPhone 11.``