AgoraIO / AgoraRtcEngine_iOS

iOS Package for Agora Video RTE SDK. Perfect for video calls and live streaming.
https://agoraio.github.io/AgoraRtcEngine_iOS/
MIT License
59 stars 17 forks source link

Library not loaded: @rpath/aosl.framework/aosl #58

Open MiteshiOS opened 3 months ago

MiteshiOS commented 3 months ago

At the time of execution in the simulator or device running with iOS version 17.5.1 getting the below error.

dyld[57402]: Library not loaded: @rpath/aosl.framework/aosl
  Referenced from: <4F59DBA8-F687-320A-9036-044A20F0C450> /Library/Developer/CoreSimulator/Devices/112894B7-0400-4DA7-A101-3BC6BBB27DEC/data/Containers/Bundle/Application/6F9D7B54-4EF2-4170-83C0-183F98C31F77/VE.app/Frameworks/AgoraRtcKit.framework/AgoraRtcKit
  Reason: tried: '/Library/Developer/Xcode/DerivedData/VE-adxhafrrtqbzrihklafyjpfwnobg/Build/Products/Development-iphonesimulator/aosl.framework/aosl' (no such file), '/Library/Developer/Xcode/DerivedData/VE-adxhafrrtqbzrihklafyjpfwnobg/Build/Products/Development-iphonesimulator/PackageFrameworks/aosl.framework/aosl' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/aosl.framework/aosl' (no such file), '/usr/lib/swift/aosl.framework/aosl' (no such file, not in dyld cache), '/Library/Developer/CoreSimulator/Devices/112894B7-0400-4DA7-A101-3BC6BBB27DEC/data/Containers/Bundle/Application/6F9D7B54-4EF2-4170-83C0-183F98C31F77/VE.app/Frameworks/aosl.framework/aosl' (no such file), '/Library/Developer/CoreSimulator/Devices/112894B7-0400-4DA7-A101-3BC6BBB27DEC/data/Containers/Bundle/Application/6F9D7B54-4EF2-4170-83C0-183F98C31F77/VE.app/Frameworks/aosl.framework/aosl' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/aosl.framework/aosl' (no such file), '/usr/lib/swift/aosl.framework/aosl' (no such file, not in dyld cache), '/Library/Developer/CoreSimulator/Devices/112894B7-0400-4DA7-A101-3BC6BBB27DEC/data/Containers/Bundle/Application/6F9D7B54-4EF2-4170-83C0-183F98C31F77/VE.app/Frameworks/aosl.framework/aosl' (no such file), '/Library/Developer/CoreSimulator/Devices/112894B7-0400-4DA7-A101-3BC6BBB27DEC/data/Containers/Bundle/Application/6F9D7B54-4EF2-4170-83C0-183F98C31F77/VE.app/Frameworks/aosl.framework/aosl' (no such file), '/Library/Developer/CoreSimulator/Volumes/iOS_21F79/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/aosl.framework/aosl' (no such file)

I am getting this error only after updating to the latest version 4.4.0. In version 4.3.2 it's working fine.

kainosk commented 3 months ago

I'm facing the same issue.


Xcode 15.4

We use these libraries via Swift Package Manager.

also, my project uses Flutter so we use CocoaPods for Flutter's dependencies.

khoogheem commented 2 months ago

Per support they had me try this and it works

pod 'AgoraRtcEngine_iOS', '4.4.0', :subspecs => ['Basic', 'RtcBasic']