ios/mac command

陆城
2023-12-01

security cms -D -i XXX.mobileprovision查看mobileprovision


Start Jenkins:
sudo launchctl load /Library/LaunchDaemons/org.jenkins-ci.plist

Stop Jenkins:
sudo launchctl unload /Library/LaunchDaemons/org.jenkins-ci.plist

卸载以jenkins-2.73.1.pkg安装的jenkins
/Library/Application\ Support/Jenkins/Uninstall.command

jenkins ALL=(ALL) NOPASSWD: ALL


security find-identity -p codesigning -v

security unlock-keychain -p PASSWORD /Users/xxxxx/Library/Keychains/login.keychain

前往文件夹 Cmd+Shift+G

echo PASSWORD | sudo -S COMMAND

sudo ls /var/db/dslocal/nodes/Default/users

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain user;killall Finder;echo "Open With has been rebuilt, Finder will relaunch"清理Finder右键打开方式的重复项

配置ipa包的安装

nginx的conf/mime.types添加
application/octet-stream    ipa;
text/xml    plist;

nginx -s reload

读取版本名称
xcodebuild -showBuildSettings | grep MARKETING_VERSION | tr -d 'MARKETING_VERSION ='
读取版本号
xcodebuild -showBuildSettings | grep CURRENT_PROJECT_VERSION | tr -d 'CURRENT_PROJECT_VERSION ='
 类似资料: