体系结构x86_64的未定义符号:“ _ OBJC_CLASS _ $ _ RCTImageLoader”

问题描述 投票:0回答:1

经过大量测试,我的应用无法在iOS上运行。

我有此错误:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_RCTImageLoader", referenced from:
     objc-class-ref in libRCTImageResizer.a(RCTImageResizer.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我使用:

react: 16.12.0
react-native: 0.60.6
ios xcode react-native
1个回答
0
投票

似乎您正在尝试在模拟器上运行该应用程序,而RCTImageResizer的库不适用于模拟器。

您能否尝试在设备上运行并检查。

© www.soinside.com 2019 - 2024. All rights reserved.