V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
qdwang
V2EX  ›  iDev

请问一下,关于分发 mac app 的问题

  •  
  •   qdwang · Nov 27, 2021 · 11381 views
    This topic created in 1623 days ago, the information mentioned may be changed or developed.

    本机开发了一个.app 程序,发给别人后,会显示损坏,我知道这是 gatekeeper 在起作用。

    现在问题是,如何直接发给别人不报错直接可以用?

    第一步是用 developer id 签名.app 整个包。 第二步是用 notarytool 做.app 公正。

    其中第二部必须要安装 xcode 对吗?

    有没有什么更简便的方法吗?目前第一步已经完成了。

    7 replies    2022-04-21 16:49:13 +08:00
    ysc3839
        1
    ysc3839  
       Nov 27, 2021 via Android
    参见一些开源项目 GitHub Action 的方法?
    kidonng
        2
    kidonng  
       Nov 27, 2021
    XCode 肯定是不可少的,不想用 notarytool 可以用 fastlane 。

    @ysc3839 说得不错,比如可以看看 yichengchen/clashX 是怎么做的🐶
    BB9z
        3
    BB9z  
       Nov 27, 2021
    装 Xcode 比你折腾其他方案省时省力。
    qdwang
        4
    qdwang  
    OP
       Nov 28, 2021
    @kidonng 感谢提醒,我去研究一下
    Livid
        5
    Livid  
    MOD
    PRO
       Apr 20, 2022
    xtinput
        6
    xtinput  
       Apr 20, 2022
    我用的 sign to run locally ,然后导出来的包可以给其它电脑使用
    qdwang
        7
    qdwang  
    OP
       Apr 21, 2022
    @Livid
    @xtinput 感谢,已经搞定了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3395 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 12:11 · PVG 20:11 · LAX 05:11 · JFK 08:11
    ♥ Do have faith in what you're doing.