未定义符号:_OBJC_CLASS _ $ _ Response native中的答案

时间:2019-08-19 06:47:26

标签: xcode react-native

当我尝试在XCode中构建代码时遇到此错误。请帮忙。

Xcode版本-10.2

react-native-cli:2.0.1

本机:0.60.5

Ld /Users/subhasmith/L​​ibrary/Developer/Xcode/DerivedData/Hire-fffkpsjlaicnrwbnajsufelxvxmp/Build/Products/Debug-iphonesimulator/Hire.app/Hire普通x86_64(目标:雇用)     cd /用户/subhasmith/WebstormProjects/hire.ios/ios     导出IPHONEOS_DEPLOYMENT_TARGET = 8.0     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12。 2.sdk -L / Users / subhasmith / Library / Developer / Xcode / DerivedData / Hire-fffkpsjlaicnrwbnajsufelxvxmp / Build / Products / Debug-iphonesimulator -F / Users / subhasmith / Library / Developer / Xcode / DerivedData / Hire-fffkbxjsBuild产品/ iphone模拟器-F /用户/subhasmith/WebstormProjects/hire.ios/ios-文件列表/用户/ subhasmith /库/开发人员/Xcode/DerivedData/Hire-fffkpsjlaicnrwbnajsufelxvxmp/Build/Intermediates.noindex/Hire.build/Debug- iphonesimulator / Hire.build / Objects-normal / x86_64 / Hire.LinkFileList -Xlinker -rpath -Xlinker @ executable_path / Frameworks -mios-simulator-version-min = 8.0 -Xlinker -object_path_lto -Xlinker / Users / subhasmith / Library / Developer / Xcode / DerivedData / Hire-fffkpsjlaicnrwbnajsufelxvxmp / Build / Intermediates.noindex / Hire.build / Debug- iphonesimulator / Hire.build / Objects-normal / x86_64 / Hire_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lc ++ -Xlinker -sectcreate -Xlinker __TEXT -Xlinkments -Xlinker /用户/ subhasmith /库/开发人员/Xcode/DerivedData/Hire-fffkpsjlaicnrwbnajsufelxvxmp/Build/Intermediates.noindex/Hire.build/Debug-iphonesimulator/Hire.build/Hire.app-Simulated.xcent -Xlinker -dependency_info -Xlinker /Users/subhasmith/L​​ibrary/Developer/Xcode/DerivedData/Hire-fffkpsjlaicnrwbnajsufelxvxmp/Build/Intermediates.noindex/Hire.build/Debug-iphonesimulator/Hire.build/Objects-normal/x86_64/Hire_dependency_info.dha -o / Users /Library/Developer/Xcode/DerivedData/Hire-fffkpsjlaicnrwbnajsufelxvxmp/Build/Products/Debug-iphonesimulator/Hire.app/Hire

体系结构x86_64的未定义符号:   引用自以下地址的“ _OBJC_CLASS _ $ _ Answers”:       AppDelegate.o中的objc-class-ref   从以下位置引用的“ _OBJC_CLASS _ $ _ Crashlytics”:       AppDelegate.o中的objc-class-ref   从以下位置引用的“ _OBJC_CLASS _ $ _ RCTBridge”:       AppDelegate.o中的objc-class-ref   从以下位置引用的“ _OBJC_CLASS _ $ _ RCTBundleURLProvider”       AppDelegate.o中的objc-class-ref   从以下位置引用的“ _OBJC_CLASS _ $ _ RCTRootView”       AppDelegate.o中的objc-class-ref ld:找不到架构x86_64的符号 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

0 个答案:

没有答案