ios命令行自助打包-修改app名称和bundle identifier

# 修改bundle identifier

sed -i '' s/com.hs.rest/com.hs.rest1/g /Users/dcw0505/Desktop/test/test.xcodeproj/project.pbxproj


# 修改应用名

/usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName $appName" /Users/dcw0505/Desktop/test/test/info.plist


如果要修改应用icon和launchimage直接替换icon和launchimage目录里面的图片就可以了,用到rm移除命令,cp粘贴命令


参考链接:

http://stackoverflow.com/questions/32910416/modify-product-bundle-identifier-in-project-pbxproj-of-xcode

你可能感兴趣的:(OC笔记)