iOS编译报错 arm64

使用极光RN插件集成推送功能,pod集成,手动link真机报“ld: symbol(s) not found for architecture arm64”。
报错日志:

Undefined symbols for architecture arm64:
  "_JPUSHStringHashingByMD5", referenced from:
      -[JPUSHBadgeNumberReportRequest p_generateRequestHead] in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_OBJC_METACLASS_$_JPUSHReportResponse", referenced from:
      _OBJC_METACLASS_$_JPUSHMessageReportResponse in libjpush-ios-3.1.2.a(JPUSHMessageReport.o)
      _OBJC_METACLASS_$_JPUSHBadgeNumberReportResponse in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_OBJC_METACLASS_$_JPUSHReportRequest", referenced from:
      _OBJC_METACLASS_$_JPUSHMessageReportRequest in libjpush-ios-3.1.2.a(JPUSHMessageReport.o)
      _OBJC_METACLASS_$_JPUSHBadgeNumberReportRequest in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_OBJC_CLASS_$_JPUSHFileHelper", referenced from:
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHTagAlias.o)
  "_OBJC_CLASS_$_JPUSHRequest", referenced from:
      _OBJC_CLASS_$_JPUSHAliasRequest in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      _OBJC_CLASS_$_JPUSHTagsRequest in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
      _OBJC_CLASS_$_JPUSHUserPropertyRequest in libjpush-ios-3.1.2.a(JPUSHUserProperty.o)
      _OBJC_CLASS_$_JPUSHSetTagAlias in libjpush-ios-3.1.2.a(JPUSHSetTagAlias.o)
  "_OBJC_CLASS_$_JPUSHReportResponse", referenced from:
      _OBJC_CLASS_$_JPUSHMessageReportResponse in libjpush-ios-3.1.2.a(JPUSHMessageReport.o)
      _OBJC_CLASS_$_JPUSHBadgeNumberReportResponse in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_JPUSHGetCurrentTimestamp", referenced from:
      -[JPUSHTagAlias setTagAliasUsingCallback:] in libjpush-ios-3.1.2.a(JPUSHTagAlias.o)
      -[JPUSHTagAliasManagerController tagOperate:type:andCompletion:andSeq:] in libjpush-ios-3.1.2.a(JPUSHTagAliasManagerController.o)
      -[JPUSHTagAliasManagerController aliasOperate:type:andCompletion:andSeq:] in libjpush-ios-3.1.2.a(JPUSHTagAliasManagerController.o)
      -[JPUSHTagAliasManagerController handleServerUnavaiableResponseWith:andContent:] in libjpush-ios-3.1.2.a(JPUSHTagAliasManagerController.o)
      -[JPUSHTagAliasManagerController isFreezeReport] in libjpush-ios-3.1.2.a(JPUSHTagAliasManagerController.o)
  "_OBJC_CLASS_$_JPUSHReceivedPacketController", referenced from:
      _OBJC_CLASS_$_JPUSHAliasResponse in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      _OBJC_CLASS_$_JPUSHTagsResponse in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
  "_JPUSHDecodeDataFromBuffer", referenced from:
      -[JPUSHAliasResponse initWithBuffer:length:] in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      -[JPUSHTagsResponse initWithBuffer:length:] in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
  "_OBJC_CLASS_$_JPUSHReportRequest", referenced from:
      _OBJC_CLASS_$_JPUSHMessageReportRequest in libjpush-ios-3.1.2.a(JPUSHMessageReport.o)
      _OBJC_CLASS_$_JPUSHBadgeNumberReportRequest in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_OBJC_IVAR_$_JPUSHRequest._packetData", referenced from:
      -[JPUSHAliasRequest packData] in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      -[JPUSHTagsRequest packData] in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
      -[JPUSHUserPropertyRequest packData] in libjpush-ios-3.1.2.a(JPUSHUserProperty.o)
      -[JPUSHSetTagAlias packData] in libjpush-ios-3.1.2.a(JPUSHSetTagAlias.o)
  "_JPUSHConvertTokenDataToString", referenced from:
      -[JPUSHDeviceTokenController judgeAndSetDeviceToken:] in libjpush-ios-3.1.2.a(JPUSHDeviceTokenController.o)
  "_JPUSHJSONData", referenced from:
      -[JPUSHAliasRequest packData] in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      -[JPUSHTagsRequest packData] in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
      -[JPUSHBadgeNumberReportRequest packetData] in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
      -[JPUSHSetTagAlias requestJsonData] in libjpush-ios-3.1.2.a(JPUSHSetTagAlias.o)
  "_JPUSHJSONObject", referenced from:
      -[JPUSHClientController handleMessage:] in libjpush-ios-3.1.2.a(JPUSHClientController.o)
      -[JPUSHClientController decodeGeofenceMessage:] in libjpush-ios-3.1.2.a(JPUSHClientController.o)
      -[JPUSHAliasResponse initWithBuffer:length:] in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      -[JPUSHTagAlias doSetTagsAliasCallbackWithRetJson:] in libjpush-ios-3.1.2.a(JPUSHTagAlias.o)
      -[JPUSHTagsResponse initWithBuffer:length:] in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
  "_OBJC_METACLASS_$_JPUSHReceivedPacketController", referenced from:
      _OBJC_METACLASS_$_JPUSHAliasResponse in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      _OBJC_METACLASS_$_JPUSHTagsResponse in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
  "_OBJC_CLASS_$_JPUSHLog", referenced from:
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHService.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHClientController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHGeofenceManager.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHLocalNotificationController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHBadgeNumberController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHDeviceTokenController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHTagAlias.o)
      ...
  "_JCOREIntVersion", referenced from:
      ___92+[JPUSHService commonSetupWithOption:appKey:channel:apsForProduction:advertisingIdentifier:]_block_invoke in libjpush-ios-3.1.2.a(JPUSHService.o)
  "_OBJC_CLASS_$_JCOREInterface", referenced from:
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHService.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHClientController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHSetTagAliasArg.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHBadgeNumberController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHDeviceTokenController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHTagAlias.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHTagAliasManagerController.o)
      ...
  "_kJPFNetworkDidRegisterNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
  "_JCORECheckFormatOfMobileNumber", referenced from:
      -[JPUSHService setMobileNumber:completion:] in libjpush-ios-3.1.2.a(JPUSHService.o)
  "_kJPFNetworkDidSetupNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
  "_kJPFNetworkDidReceiveMessageNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
  "_OBJC_METACLASS_$_JPUSHRequest", referenced from:
      _OBJC_METACLASS_$_JPUSHAliasRequest in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      _OBJC_METACLASS_$_JPUSHTagsRequest in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
      _OBJC_METACLASS_$_JPUSHUserPropertyRequest in libjpush-ios-3.1.2.a(JPUSHUserProperty.o)
      _OBJC_METACLASS_$_JPUSHSetTagAlias in libjpush-ios-3.1.2.a(JPUSHSetTagAlias.o)
  "_OBJC_CLASS_$_JPUSHResponse", referenced from:
      _OBJC_CLASS_$_JPUSHUserPropertyResponse in libjpush-ios-3.1.2.a(JPUSHUserProperty.o)
  "_kJPFNetworkIsConnectingNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
  "_OBJC_METACLASS_$_JPUSHResponse", referenced from:
      _OBJC_METACLASS_$_JPUSHUserPropertyResponse in libjpush-ios-3.1.2.a(JPUSHUserProperty.o)
  "_JCOREDisplayVersion", referenced from:
      ___92+[JPUSHService commonSetupWithOption:appKey:channel:apsForProduction:advertisingIdentifier:]_block_invoke in libjpush-ios-3.1.2.a(JPUSHService.o)
  "_JPUSHBase64", referenced from:
      -[JPUSHBadgeNumberReportRequest p_generateRequestHead] in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_JCOREGetBuildVersion", referenced from:
      ___92+[JPUSHService commonSetupWithOption:appKey:channel:apsForProduction:advertisingIdentifier:]_block_invoke in libjpush-ios-3.1.2.a(JPUSHService.o)
  "_kJPFNetworkDidCloseNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
      -[RCTJPushModule reactJSDidload] in RCTJPushModule.o
  "_kJPFNetworkDidLoginNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
      -[RCTJPushModule reactJSDidload] in RCTJPushModule.o
      -[JPUSHClientController observeNotifications] in libjpush-ios-3.1.2.a(JPUSHClientController.o)
      -[JPUSHClientController unobserveNotifications] in libjpush-ios-3.1.2.a(JPUSHClientController.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

podfile文件中的配置:

pod 'RNSVG', :path => '../node_modules/react-native-svg'
  pod 'JPushRN', :path => '../node_modules/jpush-react-native'

工程结构:
36 36

注意这一点

确定没有使用react-native link命令, 是按照接入指南操作的,自己写的demo是可以link编译成功的,是不是和工程结构有关?

那再看一下你是否有 pod 资源齐全,可能存在 pod 无法加齐资源需要手动添加的情况,展开你有关极光的资源看下,重点看下 JPush iOS 3.1.2 a 这个文件

有的25

JPush iOS 3.1.2 a 这个库info显示是支持所有架构的

jcore 是不是没有安装?

有安装33

我刚刚新建了一个demo,发现自动link可以编译成功,而通过pod集成手动link就一直是ld: symbol(s) not found for architecture arm64

我的意思是 JCore 可能没有通过 pod 安装:

  pod 'JCoreRN', :path => '../node_modules/jcore-react-native'

demo手动link失败确实是因为 JCore 没有通过 pod 安装,但我把pod 'JCoreRN', :path => '../node_modules/jcore-react-native'这句添加到项目的podfile文件里删除podfile.local重新pod install 还是报“ld: symbol(s) not found for architecture arm64。我用之前没有接入Jpush的项目副本测试过,我每次测试都会删除package-lock.json、 node_modules、和podfile.local都是一样的结果.

要确保 jcore-react-native 已经安装了,

检查 node_modules/jcore-react-native 是否存在

文件夹检查过了,都有的。每次删除都会npm install, pod install,安装正常。

pod install 的日志能提供一下吗?

pod install 后 xcode 工程 中有 JCoreRN 这个project 吗?

pod install日志

bogon:ios jasonbehr$ pod install
Analyzing dependencies
Fetching podspec for `CodePush` from `../node_modules/react-native-code-push`
Fetching podspec for `JCoreRN` from `../node_modules/jcore-react-native`
Fetching podspec for `JPushRN` from `../node_modules/jpush-react-native`
Fetching podspec for `React` from `../node_modules/react-native`
Fetching podspec for `lottie-ios` from `../node_modules/lottie-ios`
Fetching podspec for `lottie-react-native` from `../node_modules/lottie-react-native`
Fetching podspec for `yoga` from `../node_modules/react-native/ReactCommon/yoga`
Downloading dependencies
Using AFNetworking (3.2.1)
Using Alamofire (4.8.1)
Using AsyncSwift (2.0.4)
Using BSBacktraceLogger (0.0.1)
Using Base64 (1.1.2)
Using Closures (0.4)
Using CocoaLumberjack (3.5.2)
Using CodePush (5.5.2)
Using Colours (5.13.0)
Using Crashlytics (3.12.0)
Using CryptoSwift (0.14.0)
Using DZNEmptyDataSet (1.8.1)
Using DoraemonKit (1.1.3)
Using DoubleConversion (1.1.6)
Using EFQRCode (4.2.2)
Using FCUUID (1.3.1)
Using Fabric (1.9.0)
Using Folly (2018.10.22.00)
Using IHKeyboardAvoiding (4.6)
Using IQKeyboardManagerSwift (6.2.0)
Installing JCoreRN (1.3.1)
Installing JPushRN (2.5.3)
Using JWT (3.0.0-beta.11)
Using Kingfisher (4.9.0)
Using MBProgressHUD (1.1.0)
Using MJRefresh (3.1.15.7)
Using ObjcExceptionBridging (1.0.1)
Using PNChart (0.8.9)
Using Peek (5.2.0)
Using PhoneNumberKit (2.6.0)
Using PromisesObjC (1.2.7)
Using PromisesSwift (1.2.7)
Using RNFS (2.13.3)
Using ReachabilitySwift (4.3.0)
Using React (0.58.6)
Using ReactiveCocoa (8.0.2)
Using ReactiveSwift (4.0.0)
Using Result (4.1.0)
Using SSZipArchive (2.1.4)
Using SkyFloatingLabelTextField (3.6.0)
Using SnapKit (4.2.0)
Using SwiftyJSON (4.2.0)
Using SwiftyLoad (0.1.0)
Using TPKeyboardAvoiding (1.3.2)
Using Then (2.4.0)
Using UICKeyChainStore (2.1.2)
Using UICountingLabel (1.2.0)
Using UITextView+Placeholder (1.2.1)
Using URLNavigator (2.1.0)
Using Valet (3.2.3)
Using XCGLogger (6.0.4)
Using YYCategories (1.0.4)
Using YYText (1.0.7)
Using Zip (1.1.0)
Using boost-for-react-native (1.63.0)
Using fishhook (0.2)
Using glog (0.3.5)
Using lottie-ios (2.5.0)
Using lottie-react-native (2.5.11)
Using netfox (1.12.1)
Using react-native-splash-screen (3.2.0)
Using react-native-video (4.3.1)
Using react-native-wechat (1.9.10)
Using rn-fetch-blob (0.10.6)
Using yoga (0.58.6.React)
Generating Pods project
Integrating client projects
Sending stats
Pod installation complete! There are 63 dependencies from the Podfile and 65 total pods installed.

[!] The Podfile contains framework or static library targets (Common-Public, Common-BizHome, Common-Tracker, Common-BizRealize), for which the Podfile does not contain host targets (targets which embed the framework).
If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).
bogon:ios jasonbehr$ 

"dependencies": {
    "jcore-react-native": "^1.3.1",
    "jpush-react-native": "^2.5.3",
    "lottie-react-native": "^2.5.11",
    "native-base": "^2.8.1",
    "prop-types": "latest",
    "react": "16.6.0-alpha.8af6728",
    "react-native": "0.58.6",

46

看 JCoreRN 已经成功安装了,还报这个错误?
有完整的错误日志吗?


Ld /Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Products/Debug-iphoneos/JPushRN/JPushRN.framework/JPushRN normal arm64 (in target: JPushRN)
    cd /Users/jasonbehr/Desktop/JPushDemo/Mall/ios/Pods
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk -L/Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Products/Debug-iphoneos/JPushRN -L/Users/jasonbehr/Desktop/JPushDemo/Mall/ios/Pods/../../node_modules/jpush-react-native/ios/RCTJPushModule -F/Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Products/Debug-iphoneos/JPushRN -F/Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Products/Debug-iphoneos/DoubleConversion -F/Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Products/Debug-iphoneos/Folly -F/Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Products/Debug-iphoneos/React -F/Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Products/Debug-iphoneos/glog -F/Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Products/Debug-iphoneos/yoga -filelist /Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/JPushRN.build/Objects-normal/arm64/JPushRN.LinkFileList -install_name @rpath/JPushRN.framework/JPushRN -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/JPushRN.build/Objects-normal/arm64/JPushRN_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fembed-bitcode-marker -fobjc-arc -fobjc-link-runtime -ljpush-ios-3.1.2 -lresolv -lz -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework CoreTelephony -framework Foundation -framework Security -framework SystemConfiguration -framework UIKit -weak_framework UserNotifications -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework CoreTelephony -framework Foundation -framework React -framework Security -framework SystemConfiguration -framework UIKit -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/JPushRN.build/Objects-normal/arm64/JPushRN_dependency_info.dat -o /Users/jasonbehr/Library/Developer/Xcode/DerivedData/Mall-dskoqncgvdoqbddspjbiexkmhgnq/Build/Products/Debug-iphoneos/JPushRN/JPushRN.framework/JPushRN


Undefined symbols for architecture arm64:
  "_JPUSHStringHashingByMD5", referenced from:
      -[JPUSHBadgeNumberReportRequest p_generateRequestHead] in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_OBJC_METACLASS_$_JPUSHReportResponse", referenced from:
      _OBJC_METACLASS_$_JPUSHMessageReportResponse in libjpush-ios-3.1.2.a(JPUSHMessageReport.o)
      _OBJC_METACLASS_$_JPUSHBadgeNumberReportResponse in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_OBJC_METACLASS_$_JPUSHReportRequest", referenced from:
      _OBJC_METACLASS_$_JPUSHMessageReportRequest in libjpush-ios-3.1.2.a(JPUSHMessageReport.o)
      _OBJC_METACLASS_$_JPUSHBadgeNumberReportRequest in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_OBJC_CLASS_$_JPUSHFileHelper", referenced from:
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHTagAlias.o)
  "_OBJC_CLASS_$_JPUSHRequest", referenced from:
      _OBJC_CLASS_$_JPUSHAliasRequest in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      _OBJC_CLASS_$_JPUSHTagsRequest in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
      _OBJC_CLASS_$_JPUSHUserPropertyRequest in libjpush-ios-3.1.2.a(JPUSHUserProperty.o)
      _OBJC_CLASS_$_JPUSHSetTagAlias in libjpush-ios-3.1.2.a(JPUSHSetTagAlias.o)
  "_OBJC_CLASS_$_JPUSHReportResponse", referenced from:
      _OBJC_CLASS_$_JPUSHMessageReportResponse in libjpush-ios-3.1.2.a(JPUSHMessageReport.o)
      _OBJC_CLASS_$_JPUSHBadgeNumberReportResponse in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_JPUSHGetCurrentTimestamp", referenced from:
      -[JPUSHTagAlias setTagAliasUsingCallback:] in libjpush-ios-3.1.2.a(JPUSHTagAlias.o)
      -[JPUSHTagAliasManagerController tagOperate:type:andCompletion:andSeq:] in libjpush-ios-3.1.2.a(JPUSHTagAliasManagerController.o)
      -[JPUSHTagAliasManagerController aliasOperate:type:andCompletion:andSeq:] in libjpush-ios-3.1.2.a(JPUSHTagAliasManagerController.o)
      -[JPUSHTagAliasManagerController handleServerUnavaiableResponseWith:andContent:] in libjpush-ios-3.1.2.a(JPUSHTagAliasManagerController.o)
      -[JPUSHTagAliasManagerController isFreezeReport] in libjpush-ios-3.1.2.a(JPUSHTagAliasManagerController.o)
  "_OBJC_CLASS_$_JPUSHReceivedPacketController", referenced from:
      _OBJC_CLASS_$_JPUSHAliasResponse in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      _OBJC_CLASS_$_JPUSHTagsResponse in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
  "_JPUSHDecodeDataFromBuffer", referenced from:
      -[JPUSHAliasResponse initWithBuffer:length:] in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      -[JPUSHTagsResponse initWithBuffer:length:] in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
  "_OBJC_CLASS_$_JPUSHReportRequest", referenced from:
      _OBJC_CLASS_$_JPUSHMessageReportRequest in libjpush-ios-3.1.2.a(JPUSHMessageReport.o)
      _OBJC_CLASS_$_JPUSHBadgeNumberReportRequest in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_OBJC_IVAR_$_JPUSHRequest._packetData", referenced from:
      -[JPUSHAliasRequest packData] in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      -[JPUSHTagsRequest packData] in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
      -[JPUSHUserPropertyRequest packData] in libjpush-ios-3.1.2.a(JPUSHUserProperty.o)
      -[JPUSHSetTagAlias packData] in libjpush-ios-3.1.2.a(JPUSHSetTagAlias.o)
  "_JPUSHConvertTokenDataToString", referenced from:
      -[JPUSHDeviceTokenController judgeAndSetDeviceToken:] in libjpush-ios-3.1.2.a(JPUSHDeviceTokenController.o)
  "_JPUSHJSONData", referenced from:
      -[JPUSHAliasRequest packData] in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      -[JPUSHTagsRequest packData] in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
      -[JPUSHBadgeNumberReportRequest packetData] in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
      -[JPUSHSetTagAlias requestJsonData] in libjpush-ios-3.1.2.a(JPUSHSetTagAlias.o)
  "_JPUSHJSONObject", referenced from:
      -[JPUSHClientController handleMessage:] in libjpush-ios-3.1.2.a(JPUSHClientController.o)
      -[JPUSHClientController decodeGeofenceMessage:] in libjpush-ios-3.1.2.a(JPUSHClientController.o)
      -[JPUSHAliasResponse initWithBuffer:length:] in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      -[JPUSHTagAlias doSetTagsAliasCallbackWithRetJson:] in libjpush-ios-3.1.2.a(JPUSHTagAlias.o)
      -[JPUSHTagsResponse initWithBuffer:length:] in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
  "_OBJC_METACLASS_$_JPUSHReceivedPacketController", referenced from:
      _OBJC_METACLASS_$_JPUSHAliasResponse in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      _OBJC_METACLASS_$_JPUSHTagsResponse in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
  "_OBJC_CLASS_$_JPUSHLog", referenced from:
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHService.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHClientController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHGeofenceManager.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHLocalNotificationController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHBadgeNumberController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHDeviceTokenController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHTagAlias.o)
      ...
  "_JCOREIntVersion", referenced from:
      ___92+[JPUSHService commonSetupWithOption:appKey:channel:apsForProduction:advertisingIdentifier:]_block_invoke in libjpush-ios-3.1.2.a(JPUSHService.o)
  "_OBJC_CLASS_$_JCOREInterface", referenced from:
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHService.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHClientController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHSetTagAliasArg.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHBadgeNumberController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHDeviceTokenController.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHTagAlias.o)
      objc-class-ref in libjpush-ios-3.1.2.a(JPUSHTagAliasManagerController.o)
      ...
  "_kJPFNetworkDidRegisterNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
  "_JCORECheckFormatOfMobileNumber", referenced from:
      -[JPUSHService setMobileNumber:completion:] in libjpush-ios-3.1.2.a(JPUSHService.o)
  "_kJPFNetworkDidSetupNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
  "_kJPFNetworkDidReceiveMessageNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
  "_OBJC_METACLASS_$_JPUSHRequest", referenced from:
      _OBJC_METACLASS_$_JPUSHAliasRequest in libjpush-ios-3.1.2.a(JPUSHAliasOperation.o)
      _OBJC_METACLASS_$_JPUSHTagsRequest in libjpush-ios-3.1.2.a(JPUSHTagsOperation.o)
      _OBJC_METACLASS_$_JPUSHUserPropertyRequest in libjpush-ios-3.1.2.a(JPUSHUserProperty.o)
      _OBJC_METACLASS_$_JPUSHSetTagAlias in libjpush-ios-3.1.2.a(JPUSHSetTagAlias.o)
  "_OBJC_CLASS_$_JPUSHResponse", referenced from:
      _OBJC_CLASS_$_JPUSHUserPropertyResponse in libjpush-ios-3.1.2.a(JPUSHUserProperty.o)
  "_kJPFNetworkIsConnectingNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
  "_OBJC_METACLASS_$_JPUSHResponse", referenced from:
      _OBJC_METACLASS_$_JPUSHUserPropertyResponse in libjpush-ios-3.1.2.a(JPUSHUserProperty.o)
  "_JCOREDisplayVersion", referenced from:
      ___92+[JPUSHService commonSetupWithOption:appKey:channel:apsForProduction:advertisingIdentifier:]_block_invoke in libjpush-ios-3.1.2.a(JPUSHService.o)
  "_JPUSHBase64", referenced from:
      -[JPUSHBadgeNumberReportRequest p_generateRequestHead] in libjpush-ios-3.1.2.a(JPUSHBadgeNumberReport.o)
  "_JCOREGetBuildVersion", referenced from:
      ___92+[JPUSHService commonSetupWithOption:appKey:channel:apsForProduction:advertisingIdentifier:]_block_invoke in libjpush-ios-3.1.2.a(JPUSHService.o)
  "_kJPFNetworkDidCloseNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
      -[RCTJPushModule reactJSDidload] in RCTJPushModule.o
  "_kJPFNetworkDidLoginNotification", referenced from:
      -[RCTJPushModule init] in RCTJPushModule.o
      -[RCTJPushModule reactJSDidload] in RCTJPushModule.o
      -[JPUSHClientController observeNotifications] in libjpush-ios-3.1.2.a(JPUSHClientController.o)
      -[JPUSHClientController unobserveNotifications] in libjpush-ios-3.1.2.a(JPUSHClientController.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

你好问一下,这个问题解决了吗?我这边也遇到了同样的问题

iOS编译报错 arm64 你好,pod 引入rn版极光推送插件出现的arm64问题解决了吗?

你好 ,你那边有解决吗? 我这边也遇到相同的问题