jpush_flutter iOS pod报错 building for iOS Simulator, but linking in object file

247 阅读1分钟

解决pod问题:

问题描述:

Error (Xcode): In /Users/cat/Documents/Git/flutterx/ios/Pods/JPush/libjpush-ios-3.6.1.a(JPushRichVideoMessageController.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/cat/Documents/Git/flutterx/ios/Pods/JPush/libjpush-ios-3.6.1.a' for architecture arm64

也就是jPush有问题;大概率是版本问题,思路:重新pod jPush

通常思路:(更新pod)=> pod install

Pasted Graphic 1.png

我的jPush版本是老的3.6.1,于是想手动更新jPush,结果jCore版本需要升级

Pasted Graphic 2.png

执行升级jCode命令,结果需要升级jPush,,迷了

正确做法:

===>

===>

确保jPush_flutter版本是最新

pod setup

pod update

Pasted Graphic.png