tencentyun / TWebRTC-IOS-SDK

MIT License
2 stars 1 forks source link

v2.1.11无法在Xcode12.1模拟器上运行 #2

Open darkThanBlack opened 3 years ago

darkThanBlack commented 3 years ago

描述

真机好的,但是跑起来控制台会报错。

控制台输出

dyld: dyld cache load error: shared cache file open() failed
dyld: Library not loaded: @rpath/WebRTC.framework/WebRTC
  Referenced from: /Users/xuyiding/Library/Developer/CoreSimulator/Devices/D14426AB-35A2-41FF-B567-7E2D152498B7/data/Containers/Bundle/Application/BEDC322D-675A-44E7-BDA8-CB7187BD7BA6/Runner.app/Frameworks/LiveEB_IOS.framework/LiveEB_IOS
  Reason: image not found
dyld: launch, loading dependent libraries
DYLD_SHARED_CACHE_DIR=/Users/xuyiding/Library/Developer/CoreSimulator/Caches/dyld/19H2/com.apple.CoreSimulator.SimRuntime.iOS-13-0.17A577
DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime/Contents/Resources/RuntimeRoot
DYLD_LIBRARY_PATH=/Users/xuyiding/Library/Developer/Xcode/DerivedData/Runner-fhwlgjjsdrvmynbgvoswnuephjwu/Build/Products/Debug-iphonesimulator:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 13.0.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.fram

环境

# 腾讯云快直播
  pod 'TWebRTC', :git=>'https://github.com/tencentyun/TWebRTC-IOS-SDK.git' , :tag => '2.1.11'
  pod 'LiveEB_IOS', :git=>'https://github.com/tencentyun/leb-ios-sdk.git' , :tag => '2.1.10'

Xcode12.1,iOS13.0 的 iPhone 11 Pro Max 模拟器

issue03

issue02

Tencent-Alice commented 3 years ago

您好,关于您的问题,最好使用真机测试,如果模拟器出现报错,可以提供下报错截图看下 技术问题 欢迎交流 q2562367495 注明来意