创建了一个React Native工程,工程里有iOS部分,iOS部分的React Native的一些第三方库需要在iOS部分进行配置。

在React Native工程中的iOS部分导入Unity导出的iOS工程,需要把Unity导出的iOS工程中的一些文件夹拷贝到React Native工程中的iOS部分,并且要设置头文件和库的路径,然后编译合并的工程。

编译时Xcode报错:

Undefined symbols for architecture arm64:"Geo::GetiOSAppDocumentsDir()", referenced from:Geo::PathUtils::GetSandboxDataPath() in libiPhone-lib.a(GeoPathUtils.o)

ld: symbol(s) not found for architecture arm64


这需要在Xcode的Build Setting中设置Dead Code Stripping为Yes。

Xcode报错:"Geo::GetiOSAppDocumentsDir()",Geo::PathUtils::GetSandboxDataPath()

相关文章:

  • 2021-07-24
  • 2021-10-27
  • 2021-06-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-26
猜你喜欢
  • 2022-01-09
  • 2022-12-23
  • 2021-12-10
  • 2021-11-25
  • 2021-11-14
  • 2021-10-18
相关资源
相似解决方案