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
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.
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