首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏哈雷彗星撞地球

    Mac下Jenkins构建+蒲公英分发构建过程补充

    /${APP_NAME}/Info.plist" #取版本号 bundleShortVersion=$(/usr/libexec/PlistBuddy -c "print CFBundleShortVersionString " "${project_infoplist_path}") #取build值 bundleVersion=$(/usr/libexec/PlistBuddy -c "print CFBundleVersion /${APP_NAME}/Info.plist" #取版本号 bundleShortVersion=$(/usr/libexec/PlistBuddy -c "print CFBundleShortVersionString " "${project_infoplist_path}") #取build值 bundleVersion=$(/usr/libexec/PlistBuddy -c "print CFBundleVersion

    1.3K41发布于 2018-08-22
  • 来自专栏二锅头一桶天下

    你猜为什么被驳回

    /bin/bash#/usr/libexec/PlistBuddy -c "print" ~/Library/Preferences/com.navicat.NavicatPremium.plist/usr /libexec/PlistBuddy -c "Delete :91F6C435D172C8163E0689D3DAD3F3E9" ~/Library/Preferences/com.navicat.NavicatPremium.plist /usr/libexec/PlistBuddy -c "Delete :B966DBD409B87EF577C9BBF3363E9614" ~/Library/Preferences/com.navicat.NavicatPremium.plistrm

    21200编辑于 2023-12-02
  • 来自专栏日常技术分享

    ios 多渠道打包+自动化

    [0m" fi # 修改 Plist # plist路径 infoPlist_File_Path=$Applications_Path/*.app/info.plist /usr/libexec/PlistBuddy -c "Set :CFBundleName $appName" $infoPlist_File_Path /usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName $appDisplayName" $infoPlist_File_Path /usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier $appBundleId " $infoPlist_File_Path /usr/libexec/PlistBuddy -c "Set :Channel $appChannelName" $infoPlist_File_Path

    1.7K30发布于 2018-09-13
  • 来自专栏代码手工艺人

    Xcode的iOS项目的版本号设置

    PROJECT_DIR}/${INFOPLIST_FILE} #increment the build number (ie 115 to 116) buildnum=$(/usr/libexec/PlistBuddy build number in $plist" exit 2 fi buildnum=$(expr $buildnum + 1) /usr/libexec/Plistbuddy

    3.3K10发布于 2021-09-07
  • 来自专栏落影的专栏

    target和scheme、.xcarchive和.ipa的详细解析

    learn.xcarchive -exportPath App -exportProvisioningProfile "provisioning file name" 扩展内容 1、命令行修改plist参数 PlistBuddy 支持修改plist,下面是一个修改指令: /usr/libexec/PlistBuddy -c "Set :TestVersion ${TestVersion}" ${infoplist_path} PlistBuddy简单使用,简书上也有详细介绍的文章。

    3.5K60发布于 2018-04-27
  • 来自专栏FreeBuf

    在IPA中重签名iOS应用程序

    -i Payload/iGoat-Swift.app/embedded.mobileprovision > provision.plist 我们可以用常用的文本编辑器打开plist文件,或者直接使用PlistBuddy 来将plist中的所有授权域提取出来: $ /usr/libexec/PlistBuddy -x -c 'Print :Entitlements' provision.plist | tee entitlements.plist $ /usr/libexec/PlistBuddy -x -c 'Print :Entitlements' provision.plist > entitlements.plist $ cat entitlements.plist 我们可以根据这个配置描述文件来获取到目标App所需的权限: $ security cms -D -i new_embedded.mobileprovision > new_provision.plist $ /usr/libexec/PlistBuddy

    3.9K10发布于 2020-03-10
  • 来自专栏一个会写诗的程序员的博客

    MacOS 如何删除启动时的客人用户?

    HiddenUsersList 命令: sudo/usr/libexec/plistbuddy -c "add :HiddenUsersList:0 string Guest" /Library/Preferences /com.apple.loginwindow.plist 恢复命令: sudo /usr/libexec/plistbuddy -c "delete :HiddenUsersList:0" /Library

    1.7K10发布于 2021-03-18
  • 来自专栏前端大白专栏

    React-Native(Print: Entry, ":CFBundleIdentifier", Does Not Exist)

    Print: Entry, ":CFBundleIdentifier", Does Not Exist Command failed: /usr/libexec/PlistBuddy -c Print:

    1.5K60发布于 2018-06-15
  • 来自专栏卓越笔记

    jenkins 之 iOS 打包及上传至蒲公英

    ,内部版本号,bundleID info_plist_path="$project_name/$info_plist_name.plist" bundle_version=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" $info_plist_path` bundle_build_version=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" $info_plist_path` bundle_identifier=`/usr/libexec/PlistBuddy -c "Print CFBundleIdentifier

    3K20编辑于 2023-02-17
  • 来自专栏哈雷彗星撞地球

    Mac下Jenkins+SVN+Xcode构建持续导出环境1 安装Jenkins2 安装Jenkins插件3 Xcode以及开发证书设置4 配置构建项目

    ****" echo "*************************************" exit fi #取版本号 bundleShortVersion=$(/usr/libexec/PlistBuddy print CFBundleShortVersionString" "${project_infoplist_path}") #取build值 bundleVersion=$(/usr/libexec/PlistBuddy

    1.5K31发布于 2018-08-22
  • 来自专栏向治洪

    关于jd-gui启动报This program requires Java 1.8+的错误

    string JVMVersion="" JVMMaxVersion="" # function 'plist_get()' # # read a specific Plist key with 'PlistBuddy ##################################################################### plist_get(){ /usr/libexec/PlistBuddy {InfoPlistFile}" 2> /dev/null } # function 'plist_get_java()' # # read a specific Plist key with 'PlistBuddy check Info.plist for Apple style Java keys -> if key :Java is present, parse in apple mode /usr/libexec/PlistBuddy keys -> if key :JavaX is present, parse in apple mode if [ $exitcode -ne 0 ]; then /usr/libexec/PlistBuddy

    1.9K20编辑于 2022-05-25
  • 来自专栏移动开发之家

    Flutter 搭建 iOS 命令行服务打包发布全保姆式流程

    /usr/libexec/PlistBuddy -c "Set CFBundleVersion ${CFBundleVersion}" . /Runner/Info.plist /usr/libexec/PlistBuddy -c "Print CFBundleVersion " . /Runner/Info.plist 在 Mac 上其实本身就自带了满足需求的命令行工具:PlistBuddy, 如上命令所示 通过 Set 命令可以直接动态配置 plist 下的版本号、 code 和第三方

    4.4K50发布于 2021-04-23
  • 来自专栏关于app上架

    testflight上架ipa包-只有ipa包的情况下如何修改签名信息为苹果开发者账户对应的信息-ipa苹果包如何手动改签或者第三方工具改签-优雅草卓伊凡

    应用的Info.plist路径INFO_PLIST="$DIR/your_project_name/Info.plist"# 当前版本号CURRENT_VERSION=$( /usr/libexec/PlistBuddy $PATCH"# 更新Info.plist中的版本号/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $NEW_VERSION" "

    62100编辑于 2025-04-06
  • 来自专栏每日一篇技术文章

    react-native 自动化构建过程(ipa包)

    image.png 3.导出entitlements.plist /usr/libexec/PlistBuddy -x -c "Print:Entitlements" embedded.plist> entitlements.plist

    1.4K20发布于 2020-03-24
  • 来自专栏移动端开发

    Bugly iOS自动导入符号表

    echo "Info.Plist : ${INFOPLIST_FILE}" # BUNDLE_VERSION=$(/usr/libexec/PlistBuddy -c 'Print CFBundleVersion ' "${INFOPLIST_FILE}") # BUNDLE_SHORT_VERSION=$(/usr/libexec/PlistBuddy -c 'Print CFBundleShortVersionString

    1.9K10编辑于 2022-10-05
  • 来自专栏开发与安全

    学习 iOS Application Security 需要注意的一些点

    iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk cp SDKSettings.plist SDKSettings.plist.bak /usr/libexec/PlistBuddy -c "Set :DefaultProperties:AD_HOC_CODE_SIGNING_ALLOWED YES” SDKSettings.plist /usr/libexec/PlistBuddy

    2.6K30发布于 2019-05-25
  • 来自专栏移动开发之家

    iOS 构建时支持动态指定构建模式和 bundleId

    QA 和 Prod 打包后是两个不同的 bundleId,两个 ipa 可以同时存在手机上; 自定义构建时修改某些信息; 所以基于这些,最终决定了自己构建一套 命令行的打包模式 ,大概总结是: 通过 PlistBuddy

    1.6K10编辑于 2022-05-13
  • 来自专栏Guangdong Qi

    iOS 企业签名与超级签名

    企业) 2、获取证书里面的信息(xx.plist) security cms -D -i xx.mobileprovision > xx.plist 3、导出xx.plist /usr/libexec/PlistBuddy

    3.7K50发布于 2019-08-29
  • 来自专栏appuploader使用操作流程

    自动化流程完成打包 IPA 到 上传 AppStore(部分)

    其中 $PRO_NAME 你可以通过 security cms -D -i embedded.mobileprovision > plistfile PRO_NAME=`/usr/libexec/PlistBuddy

    69510编辑于 2023-04-13
  • 来自专栏腾讯安全

    工业行业位于勒索攻击目标榜首、黑客组织攻击阿富汗和印度|全球网络安全热点

    部署从云基础设施下载的二级负载 通过使用SQLite枚举LSQuarantineDataURLString获取受感染 Mac的完整下载历史记录 通过从下载的有效负载中删除隔离属性来绕过Gatekeeper 使用PlistBuddy 它使用PlistBuddy在LaunchAgent/LaunchDeamon中创建和修改Plist以实现持久性。”

    63720发布于 2021-10-26
领券