V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
satoru
V2EX  ›  macOS

用 Wails 之类的工具 build 出 mac app 后如何分享给别人测试

  •  
  •   satoru · 198 天前 · 486 次点击
    这是一个创建于 198 天前的主题,其中的信息可能已经有所发展或是发生改变。
    请问在不买 Apple Developer Program 的前提下有办法打包给别人下载吗?

    我尝试直接用 zip 把 xxx.app 目录压缩后发给别人
    但是别人收到解压后打开会遇到 "is damaged and can’t be opened. You should move it to the Trash" 这样的错误 ( https://osxdaily.com/2019/02/13/fix-app-damaged-cant-be-opened-trash-error-mac/)
    平时下载过一些开源项目提供的免费 app ,除了会显示 unidentified developer 相关的安全提示外好像没有别的问题,不知道那种是怎么打包的
    1 条回复    2023-11-18 23:47:40 +08:00
    flmn
        1
    flmn  
       197 天前   ❤️ 1
    sudo xattr -rd com.apple.quarantine /Applications/LockedApp.app

    or

    sudo spctl --master-disable
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   928 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:28 · PVG 03:28 · LAX 12:28 · JFK 15:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.