AgoraIO/agora-react-native-rtm

Error linking armv7?

morettyCat opened this issue · 1 comments

Hi there, I get an error while compiling in Unity cloud Build:

`223: ⚠;️ /BUILD_PATH/superbytes.aiohealthpro1.default-ios/temp20200824-4537-1hlfgn2/Libraries/Plugins/DeepLink/Plugin/iOS/DeepLinkAppDelegate.m:23:16: 'application:openURL:sourceApplication:annotation:' is deprecated: first deprecated in iOS 9.0 [-Wdeprecated-declarations]

224: ⚠;️ /BUILD_PATH/superbytes.aiohealthpro1.default-ios/temp20200824-4537-1hlfgn2/Libraries/Plugins/DeepLink/Plugin/iOS/DeepLinkAppDelegate.m:28:9: returning 'NS_RETURNS_INNER_POINTER const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]

225: ⚠;️ ld: ignoring file /BUILD_PATH/superbytes.aiohealthpro1.default-ios/temp20200824-4537-1hlfgn2/Frameworks/AgoraEngine/Plugins/iOS/AgoraRtmIos.framework/AgoraRtmIos, building for iOS-armv7 but attempting to link with file built for iOS-arm64

226: ❌; Undefined symbols for architecture armv7

227: ❌; ld: symbol(s) not found for architecture armv7

228: ❌; clang: error: linker command failed with exit code 1 (use -v to see invocation)

229: publishing finished successfully.

230: Finished: FAILURE`

Do I need to delete any folder? Don't know if it's because of the Cloud Build and build Post Processing...

Sorry if anyone else is having this issue is because the build target was set to "Universal", you should peak one Architecture on player settings:

4c9cfd9b-acc0-4492-8b49-5c31901aefcd