[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fbTmPJxWYJMYYMhlhyVz-L7giUlz6bJ0TjmjlOgWEy9g":3},{"code":4,"message":5,"data":6},200,"成功",{"id":7,"createdAt":8,"title":9,"content":10,"summary":11,"image":12,"uid":13,"user":14,"categoryId":21,"category":22,"subCategoryId":24,"subCategory":25,"comments":27,"status":17,"reason":28,"notice":28,"visitCount":29,"commentCount":30,"keywords":31},164,"2025-07-21T02:52:00.682Z","记一次flutter 报错:CocoaPods could not find compatible versions for pod","> [!] CocoaPods could not find compatible versions for pod \"Firebase/Auth\":\n  In snapshot (Podfile.lock):\n    Firebase/Auth (= 11.8.0)\n>\n>  In Podfile:\n    firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) was resolved to 5.6.2, which depends on\n      Firebase/Auth (= 11.15.0)\n>\n> Specs satisfying the `Firebase/Auth (= 11.8.0), Firebase/Auth (= 11.15.0)` dependency were found, but they required a higher minimum deployment target.\n\n以上的问题是在flutter for ios的工程中，加入flutter crashlytics这个库时出现的报错，原因是当前本地的cocoapods中没有Firebase/Auth的11.15.0版本的spec，所以需要我们升级。\n\n这个问题在`flutter pub get`或者`flutter add xxx`时没有出现，但是在编译到iOS设备中时会出现。\n\n所以一般我会在flutter pub get后，再cd到iOS目录中执行`pod install`\n![](https://image.xinwei.ltd/image1753066023489.png)\n\n解决上面截图中的办法就是要更新本地cocoapods spec：\n```terminal\npod install --repo-update --verbose\n```\n\n这样就可以了\n","记一次简单的编译报错记录。","https://image.xinwei.ltd/image1753066023489.png",521588467585093,{"phone":15,"userId":13,"nickName":16,"vipType":17,"avatar":18,"sign":19,"createdAt":20},"16100000001","一路向北",1,"https://image.xinwei.ltd/c598b22c492a000aa301910dcca147c61710561327592.jpg","风是自由的，我也是","2024-03-03T14:48:56.469Z",2,{"id":21,"name":23},"IT技术",11,{"id":24,"name":26,"parentId":21},"Flutter",[],"",15,0,"flutter,flutter pod,flutter ios,CocoaPods could not find compatible versions for pod"]