gpt4 book ai didi

ios - ParseCrashReporting iOS链接器错误

转载 作者:行者123 更新时间:2023-12-01 16:34:40 25 4
gpt4 key购买 nike

我试图启用解析崩溃报告。但是,编译时始终存在链接器错误。我在其他线程中尝试了该方法,例如添加了libstdc ++ 6.0.9而非libstdc ++ 6。

错误消息是:

Ld /Users/Peter/Library/Developer/Xcode/DerivedData/Foodmate-bmbrourdyfbrskdmdpojqnvszznk/Build/Products/Debug-iphonesimulator/Foodmate.app/Foodmate normal x86_64
cd /Users/Peter/Dropbox/work/foodmate/iOS/HomeMade
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/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/iPhoneSimulator8.1.sdk -L/Users/Peter/Library/Developer/Xcode/DerivedData/Foodmate-bmbrourdyfbrskdmdpojqnvszznk/Build/Products/Debug-iphonesimulator -F/Users/Peter/Library/Developer/Xcode/DerivedData/Foodmate-bmbrourdyfbrskdmdpojqnvszznk/Build/Products/Debug-iphonesimulator -F/Users/Peter/Dropbox/work/foodmate/iOS/HomeMade -F/Users/Peter/Dropbox/work/foodmate/iOS/HomeMade/HomeMade -F/Users/Peter/Desktop/Foodmate/iOS/lib -F/Users/Peter/Dropbox/work/foodmate/iOS/HomeMade/HomeMade/ActionSheetPicker-3.0-master/ObjC-Example -F/Users/Peter/Dropbox/work/foodmate/iOS/lib -F/Users/Peter/Dropbox/work/foodmate/iOS/HomeMade/HomeMade/parse -filelist /Users/Peter/Library/Developer/Xcode/DerivedData/Foodmate-bmbrourdyfbrskdmdpojqnvszznk/Build/Intermediates/Foodmate.build/Debug-iphonesimulator/Foodmate.build/Objects-normal/x86_64/Foodmate.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.0 -lsqlite3 -lstdc++.6 -framework ParseCrashReporting -framework StoreKit -framework CoreLocation -framework ParseFacebookUtils /Users/Peter/Library/Developer/Xcode/DerivedData/Foodmate-bmbrourdyfbrskdmdpojqnvszznk/Build/Products/Debug-iphonesimulator/libGPUImage.a -framework SystemConfiguration -framework Parse -framework ParseUI -framework Social -framework Security -framework QuartzCore -framework MobileCoreServices -lz -framework ParseFacebookUtilsV4 -framework CoreGraphics -framework CFNetwork -framework AudioToolbox -framework Accounts -framework Bolts -Xlinker -dependency_info -Xlinker /Users/Peter/Library/Developer/Xcode/DerivedData/Foodmate-bmbrourdyfbrskdmdpojqnvszznk/Build/Intermediates/Foodmate.build/Debug-iphonesimulator/Foodmate.build/Objects-normal/x86_64/Foodmate_dependency_info.dat -o /Users/Peter/Library/Developer/Xcode/DerivedData/Foodmate-bmbrourdyfbrskdmdpojqnvszznk/Build/Products/Debug-iphonesimulator/Foodmate.app/Foodmate

Undefined symbols for architecture x86_64:

"_OBJC_CLASS_$_PFDevice", referenced from:
objc-class-ref in ParseCrashReporting(PFCrashReporter.o)

"_OBJC_CLASS_$_PFLogger", referenced from:
objc-class-ref in ParseCrashReporting(ParseCrashReporting.o)
objc-class-ref in ParseCrashReporting(PFCrashReporter.o)
objc-class-ref in ParseCrashReporting(PFCrashReportingAnalytics.o)

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

最佳答案

这些是在未链接到该应用程序的另一个框架还是静态库中?

  • PFDevice
  • PFLogger
  • PFRESTAnalyticsCommand
  • 关于ios - ParseCrashReporting iOS链接器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29310717/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com