我试图在 XCode 上构建,但ld: library not found for -lDoubleConversion
发生错误。我可以建立react-native run-ios
. 那行得通,但 XCode 无法构建...
ld:警告:找不到选项“-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/DoubleConversion”的目录 ld:警告:找不到选项“-L/”的目录用户/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/Folly' ld:警告:找不到选项'-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx 的目录/Build/Products/Debug-iphonesimulator/GTMOAuth2' ld: 警告:找不到选项 '-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/GTMSessionFetcher' ld 的目录:警告:找不到选项“-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/Google-Maps-iOS-Utils”的目录:警告:找不到选项“-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac”的目录:警告:找不到选项“-L/Users/xxxxx/”的目录Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/Protobuf' ld:警告:找不到选项 '-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products 的目录/Debug-iphonesimulator/React' ld:警告:找不到选项'-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/glog' ld:警告:目录不是找到选项 '-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/leveldb-library' ld:警告:找不到选项目录-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/nanopb' ld:警告:找不到选项'-L/Users/xxxxx/Library/Developer/Xcode/的目录DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/react-native-google-maps' ld: 警告:找不到选项 '-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products 的目录/Debug-iphonesimulator/react-native-maps' ld: 警告:找不到选项 '-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/yoga' ld 的目录:找不到 -lDoubleConversion clang 的库:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)找不到选项“-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/react-native-google-maps”的目录ld:警告:找不到选项的目录“- L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/react-native-maps'ld:警告:找不到选项'-L/Users/xxxxx/Library/Developer的目录/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/yoga' ld:找不到 -lDoubleConversion clang 的库:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)找不到选项“-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/react-native-google-maps”的目录ld:警告:找不到选项的目录“- L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/react-native-maps'ld:警告:找不到选项'-L/Users/xxxxx/Library/Developer的目录/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/yoga' ld:找不到 -lDoubleConversion clang 的库:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/react-native-maps' ld:警告:找不到选项'-L/Users/xxxxx/Library/的目录Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/yoga' ld:未找到 -lDoubleConversion clang 的库:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)-L/Users/xxxxx/Library/Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/react-native-maps' ld:警告:找不到选项'-L/Users/xxxxx/Library/的目录Developer/Xcode/DerivedData/xxxxx/Build/Products/Debug-iphonesimulator/yoga' ld:未找到 -lDoubleConversion clang 的库:错误:链接器命令失败,退出代码为 1(使用 -v 查看调用)