Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/bash/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios CFBundleDisplayName中带plutil的空格_Ios_Bash_Encoding_Cfbundledisplayname - Fatal编程技术网

Ios CFBundleDisplayName中带plutil的空格

Ios CFBundleDisplayName中带plutil的空格,ios,bash,encoding,cfbundledisplayname,Ios,Bash,Encoding,Cfbundledisplayname,我试图在构建服务器上使用plutil重命名我的CbundleDisplayName。下面是我正在运行的bash脚本的一部分 BUNDLE_DISPLAY_NAME='MY'" "'APP' plutil -replace CFBundleDisplayName -string "$BUNDLE_DISPLAY_NAME" $PLIST_ADDRESS 我希望使用此脚本,将CbundleDisplayName更改为“我的应用程序”,但我现在拥有的是我的 

我试图在构建服务器上使用plutil重命名我的CbundleDisplayName。下面是我正在运行的bash脚本的一部分

BUNDLE_DISPLAY_NAME='MY'" "'APP'
plutil -replace CFBundleDisplayName -string "$BUNDLE_DISPLAY_NAME" $PLIST_ADDRESS
我希望使用此脚本,将CbundleDisplayName更改为
“我的应用程序”
,但我现在拥有的是
我的 应用程序


有人知道如何从plutil获得预期的输出吗?

如果有人在CbundleDisplayName with plutil中遇到类似的空间问题,我最后要做的就是复制
” "(非UTF-16(十六进制)代码的实际字符)以解决问题

BUNDLE_DISPLAY_NAME='MY'" "'APP'
plutil -replace CFBundleDisplayName -string "$BUNDLE_DISPLAY_NAME" $PLIST_ADDRESS

很好的解决方案,但这个空间实际上比我的iOS设备上其他应用程序名称中的空间要大。难道没有合适的方法来避开空间吗?