AgoraRtcEngine_iOS icon indicating copy to clipboard operation
AgoraRtcEngine_iOS copied to clipboard

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

Open MiteshiOS opened this issue 1 year ago • 2 comments

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.

MiteshiOS avatar Aug 06 '24 05:08 MiteshiOS

I'm facing the same issue.


Xcode 15.4

We use these libraries via Swift Package Manager.

  • RtcBasic
  • AINS

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

kainosk avatar Aug 08 '24 01:08 kainosk

Per support they had me try this and it works

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

khoogheem avatar Sep 06 '24 12:09 khoogheem