I was trying to integrate Crisp in our live app, everything went well but after updating Xcode we are getting this error and app crashes. Searched a lot but didn't find any way out.
Podfile:
pod 'Crisp'
Podfile.lock:
Crisp (1.1.0)
Swift Version:
swift-driver version: 1.45.2 Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
Target: x86_64-apple-macosx12.0
Xcode Version:
Version 13.4.1 (13F100)
Error Message:
Crisp was compiled with optimization - stepping may behave oddly; variables may not be available.
Crisp was compiled with a different Swift compiler (version '1205.0.28.2') than the Swift compiler integrated into LLDB (version '5.6.0.323'). Swift expression evaluation requires a matching compiler and debugger from the same toolchain./Users/st-ios/Library/Developer/Xcode/DerivedData/ShareTrip-ctopprgauhoevkfydquztanwhsfi/Build/Products/Release-iphoneos/ShareTrip.app/Frameworks/Crisp.framework/Crisp: Cannot load Swift type information; AST validation error in "Crisp": The module file format is too old to be used by this version of the debugger.
Crash shows:
Crisp`SocketIOClientConfiguration.init(arrayLiteral:):
-> 0x102d2e354 <+0>: str x0, [x8]
0x102d2e358 <+4>: ret
I was trying to integrate Crisp in our live app, everything went well but after updating Xcode we are getting this error and app crashes. Searched a lot but didn't find any way out.
Podfile:
Podfile.lock:
Swift Version:
Xcode Version:
Error Message:
Crash shows:
By the way we use SocketIO from earlier.