apiko-dev / amazon-ivs-react-native-broadcast

A React Native wrapper for the Amazon IVS iOS and Android broadcast SDKs
MIT License
26 stars 14 forks source link

iOS : HaishinKit issue #15

Closed reacttest9 closed 1 year ago

reacttest9 commented 1 year ago

Showing All Errors Only

Build target HaishinKit of project Pods with configuration Debug

CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'HaishinKit' from project 'Pods') cd /Users/manasjha/Documents/RN_Projects/EveryoneTrades/ios/Pods export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.0.sdk Documents/RN_Projects/EveryoneTrades/ios/Pods/HaishinKit/Sources/Codec/VTSessionMode.swift:24:48: error: variable binding in a condition requires an initializer guard status == noErr, let session else { ^ /Users/manasjha/Library/Developer/Xcode/DerivedData/EveryoneTrades-efyprwerdoldvzgsrfkurcgoqcgz/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/HaishinKit.build/Objects-normal/x86_64/VTSessionOptionKey.dia:1:1: warning: Could not read serialized diagnostics file: error("Invalid diagnostics signature") (in target 'HaishinKit' from project 'Pods') Command CompileSwift failed with a nonzero exit code

AndrewShapovalov commented 1 year ago

Hi @reacttest9. Thanks for reporting.

Have you tried running the sample app to see if you encounter the same error? Also, it would be better to run app using real device since the module relies on camera device.