V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
FreeLester
V2EX  ›  分享创造

一键解决 MacOS Antigravity 登录问题 无需开 tun 模式 告别复杂配置!

  •  
  •   FreeLester · 1 天前 · 1512 次点击

    开发 Antify 的原因是 Proxifier 的使用太麻烦了‼️ 编写规则简直太劝退‼️

    Antify 无需复杂配置,无需手动编写规则,只需一键拖动 Antigravity.app 到 Antify 即可自动配置所需规则。

    Antify 支持对任意 App 的无侵入代理

    官网: https://antifyapp.com/

    Antify 支持 macOS 14+

    用户需自备 SOCKS5/HTTP 代理

    欢迎大家多多试用,多多反馈,我会继续优化打磨 Antify 的。

    44 条回复    2026-01-30 22:44:18 +08:00
    pheyer
        1
    pheyer  
       1 天前
    666, Proxifier 的平替终于出来了
    ruanimal
        2
    ruanimal  
       1 天前
    这个是什么原理的? linux 上能实现吗
    nginxxx
        3
    nginxxx  
       1 天前
    舒服了,原版 ne 的体验,但是现在添加完 Antigravity 再添加 cursor 就显示冲突了,看看能不能冲突直接忽略覆盖
    fe619742721
        4
    fe619742721  
       1 天前
    node 能添加吗
    GGGoing
        5
    GGGoing  
       1 天前
    给力,有计划支持 win 版吗
    superkeke
        6
    superkeke  
       1 天前
    能配合 surge 或者 fclash 使用吗
    hay0577
        7
    hay0577  
       1 天前
    不行哎
    帮忙看看我这么配置对吗

    ![图片描述]( "鼠标悬停显示的文字")
    ![图片描述]( "鼠标悬停显示的文字")

    然后出现的问题就是我在 Antigravity 上点击登录 跳转到 网页的登录页面 返回到 Antigravity 后还是显示的
    ![图片描述]( "鼠标悬停显示的文字")
    FreeLester
        8
    FreeLester  
    OP
       1 天前
    @nginxxx 今晚我下载 cursor 复现下
    FreeLester
        9
    FreeLester  
    OP
       1 天前
    @hay0577 我复现问题了。因为我本身是已经登录成功的,没测试过从未登录开始。 暂时,你可以在登录阶段设置系统代理 可能需要 开启 TUN 模式。等登录后 可以关闭系统代理/TUN 模式 使用 Antify 单独代理 Antigravity 。
    这个问题的解决方案我还要研究下。
    FreeLester
        10
    FreeLester  
    OP
       1 天前
    @superkeke 嗯 只要能提供 socks5/http 代理的软件都可以配合。
    FreeLester
        11
    FreeLester  
    OP
       1 天前
    @GGGoing 目前没有计划,因为我对 win 开发一窍不通。
    FreeLester
        12
    FreeLester  
    OP
       1 天前
    @fe619742721 我研究下 对 node 这块认知不多。
    FreeLester
        13
    FreeLester  
    OP
       1 天前
    @ruanimal MacOS 提供的网络扩展
    94nb
        14
    94nb  
       1 天前
    bd
    HappyAndSmile
        15
    HappyAndSmile  
       1 天前
    强力支持,希望 OP 尽快完善,谢谢
    nginxxx
        16
    nginxxx  
       1 天前
    @FreeLester 删除 rule 后再 dashboard 里还有 rule 的条数存在,再次添加就提示 rule 存在
    sijilove
        17
    sijilove  
       1 天前
    mark 等 win 版本
    blufaux
        18
    blufaux  
       1 天前 via iPhone
    等 windows 版本
    FreeLester
        20
    FreeLester  
    OP
       1 天前
    @nginxxx #16 感谢反馈
    FreeLester
        21
    FreeLester  
    OP
       1 天前
    @hay0577 新建一条 rule ,path 填写:
    /System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.Networking.xpc
    这条 rule 在 Antigravity 登录时需要 enable ,登录后就可以 disable 了。

    原因是这个这个登录流程是 OAuth 2.0 for Native Apps ,在验证阶段使用了 MacOS WebKit 处理请求, 所以需要将 WebKit 的请求也代理。
    FreeLester
        22
    FreeLester  
    OP
       1 天前
    @pengyOne 图看起来 Antigravity rules 都添加了。请你尝试以下步骤:
    1. 先确定自己填写的代理是可用的
    2. 先启动 Antify ,后重启 Antigravity ,或者重启几次 Antigravity 试试
    FreeLester
        23
    FreeLester  
    OP
       1 天前
    @nginxxx #16 已修复,可以 Settings - Check Upgrade
    FreeLester
        24
    FreeLester  
    OP
       1 天前
    @nginxxx #3 已修复,可以 Settings - Check Upgrade
    BlueSkyXN
        25
    BlueSkyXN  
       22 小时 43 分钟前 via iPhone
    ? macOS 上反而遇不到登录问题,那玩意只出现在 Windows ,因为 win 下代理基本以系统代理为主
    反而 Mac 上一般用 iOS 同款的火箭这些,反而遇不到
    sn0wdr1am
        26
    sn0wdr1am  
       22 小时 3 分钟前
    Antify 需要 macOS 14.0 (Sonoma) 或更高版本。
    pengyOne
        27
    pengyOne  
       20 小时 44 分钟前
    @BlueSkyXN 牛,感谢。。。楼主的软件没给我解决问题,你的方法给我解决了
    infyni
        28
    infyni  
       20 小时 41 分钟前
    配置过后,Loading models... 无法加载 models 。 不知道有没有哪里配置错了?

    andforce
        29
    andforce  
       20 小时 31 分钟前
    代理配置的地方我没看明白,我现在用的是 Clash ,代理配置是机场给的一个链接而已。

    那么请问,我在 Antify 里的 Peoxies 里因该如何填写呢?
    black55
        30
    black55  
       20 小时 14 分钟前   ❤️ 1
    @andforce 不管你用的什么软件,软件上去看设置界面,会有端口设置相关的,你要找到端口相关的地方,一般来说是使用 7890 端口,你找找看有没有眼熟的数字。代理的话,你就是填 127.0.0.1:7890
    nginxxx
        31
    nginxxx  
       19 小时 48 分钟前
    添加完 cursor 和 antigravity 后,命令行的 git 也会被 rule 接管了
    nginxxx
        32
    nginxxx  
       19 小时 19 分钟前
    git,curl 等 cli 指令感觉都被接管了,感觉还是没完全隔离 app
    FreeLester
        33
    FreeLester  
    OP
       18 小时 46 分钟前
    @nginxxx #32 等我复现研究下
    mauve
        34
    mauve  
    PRO
       18 小时 15 分钟前
    为什么不开 TUN 模式呢?我日常一直开
    FreeLester
        35
    FreeLester  
    OP
       17 小时 41 分钟前
    @nginxxx #32 没有复现这个情况,你再试试看呢,是否你配置默认 mode = proxy 了?
    nginxxx
        36
    nginxxx  
       16 小时 40 分钟前
    @FreeLester 只添加了 cursor 后
    $ git pull
    Connection closed by 127.0.0.1 port 7890
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
    itplanes01
        37
    itplanes01  
       16 小时 7 分钟前 via Android
    必须开 extension 吗 开了和 tailscale magicdns 冲突
    ares001
        38
    ares001  
    PRO
       16 小时 0 分钟前
    这个项目的原理是什么?做得很漂亮
    FreeLester
        39
    FreeLester  
    OP
       9 小时 5 分钟前
    @ares001 MacOS Network Extension 其中的 transparent network proxy
    FreeLester
        40
    FreeLester  
    OP
       9 小时 2 分钟前
    @itplanes01 是说 tailscale 也有一个 Network Extension 是吗?
    我要花点时间研究下,没用过 tailscale magicdns 。
    FreeLester
        41
    FreeLester  
    OP
       9 小时 1 分钟前
    @infyni 从图中看配置正确。你先确认 1.代理 是正确的吗? 2.重启 Antigravity 再试试
    FreeLester
        42
    FreeLester  
    OP
       8 小时 59 分钟前
    @sn0wdr1am 你的 OS 版本是多少的? 我大概调研了下 macOS 14+ 应该比例很大了,特别是程序员版本应该不会他老。。
    FreeLester
        43
    FreeLester  
    OP
       8 小时 52 分钟前
    @nginxxx #36 非常抱歉☹️,这是个 bug 。我今天修复了,等会儿会发新版。还得麻烦你到官网上重新下载,因为旧版的自动升级也有个 bug ,今天一起修复了。
    sn0wdr1am
        44
    sn0wdr1am  
       8 小时 29 分钟前   ❤️ 1
    @FreeLester 很明显,我的电脑满足不了这个软件的最低系统要求。
    如果苹果官方没有限制的话,能兼容低版本系统,可以扩大用户群。

    目前我的方案是用 proxifer 。
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   978 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:14 · PVG 07:14 · LAX 15:14 · JFK 18:14
    ♥ Do have faith in what you're doing.