开发者

Bundle Display Name in iPhone

开发者 https://www.devze.com 2022-12-12 04:54 出处:网络
Is it possible to m开发者_StackOverflowodify the BundleDisplay name at runtime ??? ThanksI\'d be really surprised if you could, since doing so would require you to edit the Info.plist file, which is

Is it possible to m开发者_StackOverflowodify the BundleDisplay name at runtime ???

Thanks


I'd be really surprised if you could, since doing so would require you to edit the Info.plist file, which is in a write-protected directory. Even if you could modify it, it would cause the code signature to no longer match the application bundle, and the app would refuse to launch.

The closest you can get to using a different display name is to provide localized versions of it.


If you set the Bundle Display Name to a variable ie ${MY_BUNDLE_DISPLAY_NAME} and make sure that gets set in your build phases or from your ENV, or from an XCCONFIG file when building from the command line, the name should be replaced with what you set it with.

0

精彩评论

暂无评论...
验证码 换一张
取 消