react-native-agora icon indicating copy to clipboard operation
react-native-agora copied to clipboard

No .XCFramework included in iOS native SDK

Open hahtml opened this issue 4 years ago • 3 comments

After upgraded react-native-agora from 3.3.1 to 3.4.6 and run pod install, there is no .XCFramework included in pods. Then I manually download AgoraRtcEngine_iOS SDK and find it was removed at some point in 3.3.x. Therefore, we could not run the app which embeds Agora service in the simulator. However, there is no hints in Docs for such changes.

Could we add .XCFramework back?

hahtml avatar Aug 30 '21 11:08 hahtml

For some reason, we only provide the framework now.

You can try to set this config to true. image

LichKing-2234 avatar Sep 06 '21 03:09 LichKing-2234

@hahtml I ran into the same issue. Replacing all the .XCFramework files with the .framework files of the same name got the app to build for me, but it would crash on launch. The top of the console output will have the name of a missing framework. I had to add the missing framework, rebuild and repeat until it the app ran. hope that helps

medlJeremy avatar Sep 16 '21 18:09 medlJeremy

This unfortunately is causing the M1 Macs simulator to break.

radko93 avatar Oct 27 '21 13:10 radko93