iOS 5.1.1 now uses XCFramework. Upgrade pod to version 1.10.0 or higher to avoid these issues:
-
SDK fails to load when running or building the app, with this error:
dyld: Library not loaded: @rpath/RongChatRoom.framework/RongChatRoom Referenced from: /var/containers/Bundle/Application/7DF12BD0-BDC4-4E46-BA07-295C0BA89CF2/SealTalk.app/SealTalk Reason: image not found
-
Error:
ld: framework not found RandomNames.xcframework
Reference: https://stackoverflow.com/questions/59102554/framework-not-found-xcframework
These issues occur because pod fully supports XCFramework starting from version 1.10.0.
Note: Use version 5.1.0 or earlier if you don’t want to upgrade pod.