iOS   发布时间:2022-05-03  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了ios – 找不到架构x86_64的符号:“_ OBJC_CLASS _ $_ Mixpanel”,引自:AppDelegate.o中的__TMaCSo8Mixpanel大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我正在安装Mixpanel正确知道(由于更大的问题,不使用 CocoaPods),一旦我尝试构建,我就遇到了这个问题.显然它在链接进度中: Ld /Users/zheref/Library/Developer/Xcode/DerivedData/Skillet-gyrvrgajwggdcmhhtxflcerwovjx/Build/Products/Debug-iphonesimulator/Ski
我正在安装Mixpanel正确知道(由于更大的问题,不使用 CocoaPods),一旦我尝试构建,我就遇到了这个问题.显然它在链接进度中:

Ld /Users/zheref/Library/Developer/Xcode/DerivedData/Skillet-gyrvrgajwggdcmhhtxflcerwovjx/Build/Products/Debug-iphonesimulator/Skillet.app/Skillet normal x86_64
cd /Users/zheref/Code/skillet/skillet-ios
export IPHONEOS_DEPLOymENT_TARGET=8.1
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.4.sdk -L/Users/zheref/Library/Developer/Xcode/DerivedData/Skillet-gyrvrgajwggdcmhhtxflcerwovjx/Build/Products/Debug-iphonesimulator -L/Users/zheref/Code/skillet/skillet-ios/Pods/Brightcove-Player-SDK/Library -L/Users/zheref/Code/skillet/skillet-ios/Pods/Google/Libraries -L/Users/zheref/Code/skillet/skillet-ios/Pods/GoogleAppUtilities/Libraries -L/Users/zheref/Code/skillet/skillet-ios/Pods/GoogleAuthUtilities/Libraries -L/Users/zheref/Code/skillet/skillet-ios/Pods/GoogleNetworkingUtilities/Libraries -L/Users/zheref/Code/skillet/skillet-ios/Pods/GoogleSignIn/Libraries -L/Users/zheref/Code/skillet/skillet-ios/Pods/GoogleSymbolUtilities/Libraries -L/Users/zheref/Code/skillet/skillet-ios/Pods/GoogleUtilities/Libraries -L/Users/zheref/Code/skillet/skillet-ios/Skillet -F/Users/zheref/Library/Developer/Xcode/DerivedData/Skillet-gyrvrgajwggdcmhhtxflcerwovjx/Build/Products/Debug-iphonesimulator -F/Users/zheref/Code/skillet/skillet-ios -F/Users/zheref/Code/vendors/parse-library-1.7.5 -filelist /Users/zheref/Library/Developer/Xcode/DerivedData/Skillet-gyrvrgajwggdcmhhtxflcerwovjx/Build/Intermediates/Skillet.build/Debug-iphonesimulator/Skillet.build/Objects-normal/x86_64/Skillet.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lBCOVPlayerSDK -lGGLCore -lGGLSignIn -lGSDK_Overload -lGTMOAuth2_external -lGTMOAuth2_internal -lGtmsessionFetcher_core -lGtmsessionFetcher_full -lGtmstackTrace -lGTM_AddressBook -lGTM_DebugUtils -lGTM_GTMURLBuilder -lGTM_KVO -lGTM_NSDictionary+URLArguments -lGTM_NSScAnnerJSON -lGTM_NSStringHTML -lGTM_NSStringXML -lGTM_Regex -lGTM_RoundedRectPath -lGTM_StringEncoding -lGTM_SystemVersion -lGTM_UIFont+LineHeight -lGTM_core -lGTM_iPhone -lOpenInChrome -lPods-PaymentKit -lPods-Stripe -lSignIn -framework AVFoundation -framework AddressBook -framework CoreMedia -framework CoreText -framework Foundation -framework MediaPlayer -framework Security -framework StoreKit -framework SystemConfiguration -ObjC -lBCOVPlayerSDK -lGGLCore -lGGLSignIn -lGSDK_Overload -lGTMOAuth2_external -lGTMOAuth2_internal -lGtmsessionFetcher_core -lGtmsessionFetcher_full -lGtmstackTrace -lGTM_AddressBook -lGTM_DebugUtils -lGTM_GTMURLBuilder -lGTM_KVO -lGTM_NSDictionary+URLArguments -lGTM_NSScAnnerJSON -lGTM_NSStringHTML -lGTM_NSStringXML -lGTM_Regex -lGTM_RoundedRectPath -lGTM_StringEncoding -lGTM_SystemVersion -lGTM_UIFont+LineHeight -lGTM_core -lGTM_iPhone -lOpenInChrome -lPods-PaymentKit -lPods-Stripe -lSignIn -framework AVFoundation -framework AddressBook -framework CoreMedia -framework CoreText -framework Foundation -framework MediaPlayer -framework Security -framework StoreKit -framework SystemConfiguration -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/zheref/Library/Developer/Xcode/DerivedData/Skillet-gyrvrgajwggdcmhhtxflcerwovjx/Build/Intermediates/Skillet.build/Debug-iphonesimulator/Skillet.build/Objects-normal/x86_64/Skillet.swiftmodule -mios-simulator-version-min=8.1 -licucore -framework QuartzCore -framework CoreGraphics -framework Accelerate -framework CoreTelephony -framework SystemConfiguration -framework Foundation -framework UIKit -framework Bolts -framework Social -framework Accounts -framework Crashlytics -framework AVFoundation -framework CoreMedia -framework Parse -framework CoreText -framework MediaAccessibility -framework MediaPlayer -framework CFNetwork -framework Security -framework AudioToolBox -framework CoreLOCATIOn -lsqlite3 -lz -framework MobileCoreservices -framework StoreKit -framework FBSDKShareKit -framework Fabric -framework FBSDKCoreKit -framework FBSDKLoginKit -lPods -Xlinker -dependency_info -Xlinker /Users/zheref/Library/Developer/Xcode/DerivedData/Skillet-gyrvrgajwggdcmhhtxflcerwovjx/Build/Intermediates/Skillet.build/Debug-iphonesimulator/Skillet.build/Objects-normal/x86_64/Skillet_dependency_info.dat -o /Users/zheref/Library/Developer/Xcode/DerivedData/Skillet-gyrvrgajwggdcmhhtxflcerwovjx/Build/Products/Debug-iphonesimulator/Skillet.app/Skillet

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_Mixpanel",referenced from:
  __TMaCSo8Mixpanel in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command Failed with exit code 1 (use -v to see invocation)

我正在使用Swift语言(根本不是Objective-C).@H_944_24@

提前致谢.@H_944_24@

更新1@H_944_24@

当我放线时出现问题:
    Mixpanel.sharedInstanceWithToken(MIXPANEL_TOKEN);
而不是之前.@H_944_24@

我在项目中安装Mixpanel代码没有问题,即使我从桥接头导入它也没有问题.@H_944_24@

解决方法

我有同样的问题,我只是尝试通过分别拖入我的项目重新添加框架文件.

ios – 找不到架构x86_64的符号:“_ OBJC_CLASS _ $_ Mixpanel”,引自:AppDelegate.o中的__TMaCSo8Mixpanel@H_944_24@@H_944_24@@H_944_24@

不要直接拖动文件夹而只将文件拖到项目中.@H_944_24@

另外不要忘记链接框架@H_944_24@

大佬总结

以上是大佬教程为你收集整理的ios – 找不到架构x86_64的符号:“_ OBJC_CLASS _ $_ Mixpanel”,引自:AppDelegate.o中的__TMaCSo8Mixpanel全部内容,希望文章能够帮你解决ios – 找不到架构x86_64的符号:“_ OBJC_CLASS _ $_ Mixpanel”,引自:AppDelegate.o中的__TMaCSo8Mixpanel所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。