【发布时间】:2014-05-01 12:47:45
【问题描述】:
我知道有很多与我的问题相关的答案,比如。
Programmatically rename an XCode project
Renaming xcode 4 project and the actual folder
等等
但是看看我的代码:
NSString *plistPath = @"...../TestingAPI-Info.plist";
NSMutableDictionary *dictionary = [[NSMutableDictionary alloc]initWithContentsOfFile:plistPath];
[dictionary setObject:@"myTestingApp" forKey:@"CFBundleDisplayName"];
[dictionary writeToFile:plistPath atomically:YES];
我正在通过上面的代码更改应用程序图标的名称,
更改名称“MySuperApp => myTestingApp”
所以,使用上面的代码进行更改是否有效?我害怕应用程序被拒绝??我还想通过上面的代码设置所有更改,例如 Bundle identifier, Bundle name..etc ?
它是否有效?通过使用上面的代码苹果是否拒绝我的申请??
【问题讨论】:
-
要求很不寻常,早上醒来发现app名字变了,找不到app,有什么用?
-
但这会改变项目名称或应用程序显示名称吗?
标签: ios iphone objective-c xcode cocoa-touch