Flutter打包iOS过程中pod访问github失败 - git/&#39

📅 2026-11-30 👤 拼多多助力营销技巧 📂 pdd助力 👁️ 456 次阅读

问题描述

执行Flutter打包iOS命令出现如下错误:

# flutter build ios 拼多多帮助力入口

...

Error output from CocoaPods:

↳

Cloning into '/var/folders/q8/sd0qtp6d69b30yt6gsh1jrg40000gq/T/d20231116-58127-8g2zje'...

fatal: unable to access 'https://github.com/ccgus/fmdb.git/': Failure when receiving data from the peer

[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a

platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error running pod install

问题分析

安装失败的原因是网络问题。

解决方案

开启代理 配置代理

% export https_proxy=http://127.0.0.1:7890

重新打包,执行成功。

精彩文章

标签: 拼多多助力网站平台 赚钱项目 拼多多助力网 首码项目 手赚APP
拼多多助力营销技巧