leizi
leizi
  • 发布:2024-05-13 14:48
  • 更新:2024-05-13 18:17
  • 阅读:134

ios 标准基座无法打包 一直连不上github

分类:HBuilderX

4:42:22.854 项目 'UniPluginDemo' 开始编译...
14:42:23.958 4.15
14:42:23.964 请注意运行模式下,因日志输出、sourcemap以及未压缩源码等原因,性能和包体积,均不及发行模式。
14:42:24.040 正在编译中...
14:42:27.717 开始编译插件 plus-tcic
14:42:29.836 error: Analyzing dependencies
14:42:29.845 Downloading dependencies
14:42:29.846 Installing Bugly (2.5.90)
14:42:29.853 Installing Masonry (1.1.0)
14:42:29.859 Installing TCICSDK_Pro (1.8.3.7)
14:42:29.864 [!] Error installing TCICSDK_Pro
14:42:29.865 [!] /usr/bin/git clone https://github.com/RobinWWang/TCICSDK.git /var/folders/k9/k7w8xblj59x6b71xkn32x96c0000gn/T/d20240513-1896-rywhhr --template= --single-branch --depth 1 --branch v1.8.3.7
14:42:29.871 Cloning into '/var/folders/k9/k7w8xblj59x6b71xkn32x96c0000gn/T/d20240513-1896-rywhhr'...
14:42:29.877 fatal: unable to access 'https://github.com/RobinWWang/TCICSDK.git/': Failed to connect to github.com port 443 after 264 ms: Couldn't connect to server
14:42:29.886 pod install 失败! 详情点击
14:42:29.914 uts插件[uts-alert]文件未发生变化,跳过编译
14:42:30.006 项目 'UniPluginDemo' 编译成功。
14:42:30.026 正在重签标准基座....
14:42:37.826 重签标准基座被取消

按照下面这个文档说明,在外面浏览器是可以正常打开github,但是在Hbulider 里面始终无法成功,尝试了快上百次了,大家有遇到吗? 请问该如何解决。
https://doc.dcloud.net.cn/uni-app-x/plugin/uts-ios-cocoapods.html#questions

2024-05-13 14:48 负责人:无 分享
已邀请:
leizi

leizi (作者)

希望官方老师也帮忙看看

DCloud_云服务_Mal

DCloud_云服务_Mal

打包的appid发一下,我们先查查

  • leizi (作者)

    这个是appid : UNI1965CCF 麻烦帮忙看下啊,谢谢

    2024-05-13 16:55

  • leizi (作者)

    评论下划线没有了,appid 里面还有下划线 格式是: 两条下划线 UNI 两条下划线 1965CCF

    2024-05-13 16:59

  • DCloud_云服务_Mal

    回复 leizi: 你在命令行执行一下这个命令,看看能不能成功?


    /usr/bin/git clone https://github.com/RobinWWang/TCICSDK.git /tmp/TCICSDK --template= --single-branch --depth 1 --branch v1.8.3.7

    2024-05-13 17:00

  • leizi (作者)

    回复 DCloud_云服务_Mal: 好的

    2024-05-13 17:09

  • leizi (作者)

    回复 DCloud_云服务_Mal: 这个是执行结果

    ➜ ~ /usr/bin/git clone https://github.com/RobinWWang/TCICSDK.git /tmp/TCICSDK --template= --single-branch --depth 1 --branch v1.8.3.7

    Cloning into '/tmp/TCICSDK'...

    remote: Enumerating objects: 52, done.

    remote: Counting objects: 100% (52/52), done.

    remote: Compressing objects: 100% (39/39), done.

    remote: Total 52 (delta 5), reused 34 (delta 4), pack-reused 0

    Receiving objects: 100% (52/52), 16.71 MiB | 3.83 MiB/s, done.

    Resolving deltas: 100% (5/5), done.

    Note: switching to 'a0e79a0d8d2f4adf2a8caba8cd66b09e055287ad'.


    You are in 'detached HEAD' state. You can look around, make experimental

    changes and commit them, and you can discard any commits you make in this

    state without impacting any branches by switching back to a branch.


    If you want to create a new branch to retain commits you create, you may

    do so (now or later) by using -c with the switch command. Example:


    git switch -c <new-branch-name>


    Or undo this operation with:


    git switch -


    Turn off this advice by setting config variable advice.detachedHead to false

    2024-05-13 17:11

leizi

leizi (作者)

麻烦问下,大概是什么意思哦

leizi

leizi (作者)

我在编辑器终端里面运行 不行。
/usr/bin/git clone https://github.com/RobinWWang/TCICSDK.git /tmp/TCICSDK --template= --single-branch --depth 1 --branch v1.8.3.7
Cloning into '/tmp/TCICSDK'...
fatal: unable to access 'https://github.com/RobinWWang/TCICSDK.git/': Failed to connect to github.com port 443 after 86 ms: Couldn't connect to server

  • DCloud_云服务_Mal

    你的电脑配置过代理什么的吗?

    2024-05-13 19:42

  • DCloud_云服务_Mal

    在HBuilderX的终端里执行一下以下两个命令,看看输出:

    git version

    git config --global -l

    2024-05-13 19:43

  • iOSDeveloper

    看错误信息是连接超时导致,因为GitHub有时候会被墙,你可以终端配置一下VPN代理

    2024-05-13 20:34

  • leizi (作者)

    回复 iOSDeveloper: 终端配置过了,单独跑是可以成功的,目前就是在HBulider 里面不行

    2024-05-14 14:54

  • leizi (作者)

    回复 DCloud_云服务_Mal: 下面是两条命令的运行结果,麻烦看下

    git version 2.39.3 (Apple Git-146)


    user.name=ZUU

    user.email=31319557@qq.com

    core.excludesfile=~/.gitignore_global

    2024-05-14 14:58

  • leizi (作者)

    回复 DCloud_云服务_Mal: 对,电脑是有配置代理,不配置我在外面浏览器和终端也访问不了github

    2024-05-14 14:59

  • DCloud_云服务_Mal

    回复 leizi: 给git配置一下代理,在HBuilderX的命令行里执行。代理地址换成你自己的


    git config --global http.proxy http://127.0.0.1:1080

    git config --global https.proxy http://127.0.0.1:1080

    2024-05-14 18:12

  • leizi (作者)

    回复 DCloud_云服务_Mal: 好,我试试看

    2024-05-14 19:45

  • leizi (作者)

    回复 DCloud_云服务_Mal: 配置了 git 代理成功了,感谢老师,

    2024-05-14 19:59

要回复问题请先登录注册