栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

Mac电脑开发人员命令汇总

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Mac电脑开发人员命令汇总

  1. chrome浏览器跨域浏览命令:
    open -a "/Applications/Google Chrome.app" --args --disable-web-security  --user-data-dir=/Users/dmcb/chromeDevUserData/
  2. Mac os 查看隐藏文件快捷线:
    cmd+shift+.
  3. mac下使用命令行安装、卸载ipa包
    # 安装
    brew install --HEAD libimobiledevice 
    
    brew link --overwrite libimobiledevice 
    
    brew install ideviceinstaller 
    
    brew link --overwrite ideviceinstaller
    
    
    # 获取ios的bundleld
    ideviceinstaller -l -o list_user 
    
    # 获取ios的型号
    ideviceinfo -k ProductType
    
    # 获取ios的系统版本
    ideviceinfo -k ProductVersion
    
    # 获取ios的手机名称
    ideviceinfo -k DeviceName
    
    # 获取ios的udid,查看连接的设备udid
    idevice_id -l
    
    # 查看手机所有APP
    ideviceinstaller -l 
    
    # 安装到设备
    ideviceinstaller -i xxx.ipa 
    
    # 卸载app
    ideviceinstaller -u com.xxx.xxx 
    
  4. 验证下载文件的 MD5/SHA1/SHA256
    # 验证SHA-256
    openssl dgst -sha256 /path/to/file
    
    # 验证SHA-1
    openssl sha1 /path/to/file
    
    # 验证 MD5
    openssl md5 /path/to/file
  5. mac 电脑生成 ssh 公钥和私钥
    # 查看ssh公钥和私钥信息
    ls -al ~/.ssh
    
    # 生成新的公钥和私钥
    ssh-keygen -t rsa -C "your_email@example.com"

  6. Xcode证书位置
    ~/Library/MobileDevice/Provisioning Profiles

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/851720.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号