Open nibasang opened 8 months ago
How was it ultimately resolved?
遇到同样的问题,你最终是如何解决的呢?
let options = NWProtocolTCP.Options() 奔溃原因,第123行,最低支持12.0
解决方案: 第一步:在Podfile文件中,配置以下: post_install do |installer| installer.pods_project.build_configurations.each do |config| config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' end end 然后重新 pod install
第二步: 创建时,useCustomEngine 设置成 false let socket = WebSocket(request: request,useCustomEngine: false)
运行,完美解决😄😄🍺🍺!
半个小时后,另外:经过测试 pod 'Starscream', '~> 4.0.6' 创建时,useCustomEngine 设置成 false let socket = WebSocket(request: request,useCustomEngine: false) 在Podfile文件里不设置“ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' ”, 也能正常运行😄😄🍺🍺!
最终是如何解决的呢?
看我的评论
its working when set useCustomEngine: false
now , it 's crash yet? I can't find this crash on xcode 15.3.0
Describe the bug
Steps to Reproduce
Expected behavior
Environment:
Additional context