info.plist

The file *.storyboardc was not found

六眼飞鱼酱① 提交于 2019-12-01 05:47:13
问题 I am trying to submit iOS app with extension, but get a weird error on validation: My widget storyboard named Main.storyboard. Property file looks like this: 回答1: I guess it's a bug. I solved this problem when I moved Main.storyboard (NSExtensionMainStoryboard defined in info.plist) to the subdirectory of extension target. It means that you can't localize main.storyboard, because it will be moved to base directory or specific language directory. 回答2: For me quitting Xcode (version 7.1.1) and

Can't get a translucent status bar in iOS

*爱你&永不变心* 提交于 2019-12-01 05:17:00
问题 I'm trying to get the standard black translucent status bar in my iOS (iOS 6) app programmatically with no luck. I tried adding the key/value in my info.plist, as well as adding... [[UIApplication sharedApplication]setStatusBarStyle:UIStatusBarStyleBlackTranslucent]; ...to no effect. What else could be causing this? 回答1: Thank you everyone for your input! You can set it in the info.plist, or use [[UIApplication sharedApplication]setStatusBarStyle:UIStatusBarStyleBlackTranslucent]; Turns out

List of Fonts Provided by Application (iOS)

 ̄綄美尐妖づ 提交于 2019-12-01 04:01:54
does anyone know how to get a list of custom fonts from the 'Fonts provided by application' key in the info.plist file in Xcode? Thanks The following code reads the list of custom font files from the Info.plist, and extracts the full font name from the font file. (Parts of the code is copied from https://stackoverflow.com/a/17519740/1187415 with small modifications and ARC adjustments). Objective-C NSDictionary* infoDict = [[NSBundle mainBundle] infoDictionary]; NSArray* fontFiles = [infoDict objectForKey:@"UIAppFonts"]; for (NSString *fontFile in fontFiles) { NSLog(@"file name: %@", fontFile)

Hide statusbar using info.plist in any app

南笙酒味 提交于 2019-12-01 03:40:36
问题 To clarify, I'm not trying to do this on my own app, so I don't have access to the source code. I am trying to edit info.plist or any other files in the installed .app file on my device to remove the status bar from an app, namely Google Chrome I'm trying to hide the statusbar on Google Chrome. I added UIViewControllerBasedStatusBarAppearance = false and UIStatusBarHidden = true to info.plist , but all that got me was a grey bar where the status bar used to be. So close! Are there any other

AppStore language description and “Localization native development region”

梦想的初衷 提交于 2019-12-01 03:30:33
问题 an iPhone app, localized in three languages (english, italian and spanish), was submitted to the AppStore with description and screenshots in the three languages. The result is that in AppStore USA there is an english description, in the AppStore Spain there is a spanish description and in the AppStore Italy there is an italian description, but in all the others AppStore the language description is the italian. I think the problem is that in the info.plist file, the "Localization native

How to read Info.Plist at run-time in react-native iOS app?

半腔热情 提交于 2019-11-30 20:52:58
At run time, is there a way to read CFBundleVersion from the Info.Plist ? I want to display the version info in the app's "About Box". Thanks in advance, -Ed I suggest you use this very well done library You'll have all the info you need I think. EDIT You can also use some Obj-C in your AppDelegate.m file. Just add these lines : NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]; NSDictionary *props = @{@"version" : version}; and replace these lines : RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation moduleName:@

Cordova: Modifying *-Info.plist from plugin.xml

☆樱花仙子☆ 提交于 2019-11-30 19:40:31
I'm building a plugin to use star printers from an iOS device, with their SDK and everything is working fine except that config-file command to modify the info.plist file is not working properly. Inside my plugin.xml I have: <config-file target="*-Info.plist" parent="Supported external accessory protocols"> <array> <key>item 0</key> <string>jp.star-m.starpro</string> </array> </config-file> With that I should get a Supported external accessory protocols array with 1 item called item 0 , type String and value jp.star-m.starpro but instead I'm getting an array with two items as if I would have

iOS version specific info.plist settings

我们两清 提交于 2019-11-30 18:07:19
问题 I am in the process of updating an app for iOS7 (while still supporting iOS6), and have updated the status bar to use a white foreground using UIStatusBarStyle: UIStatusBarStyleLightContent . However the UIStatusBarStyleLightContent value is new in iOS7, and so when run on iOS6 the UIStatusBarStyle reverts back to UIStatusBarStyleDefault , giving the light-gray with dark text iOS6 default. But I need my iOS6 version to use the black style UIStatusBarStyleBlackOpaque status bar. Given you can

Xcode falsely claims CFBundleExecutable to be (null)

China☆狼群 提交于 2019-11-30 15:43:27
I'm trying to create an ad-hoc build of an iPhone app for beta testing. On their end, they're seeing an error like the following: "The info.plist for application at xxx specifies a CFBundleExecutable of (null), which does not exist" Here is an excerpt from the actual info.plist: <key>CFBundleExecutable</key> <string>${EXECUTABLE_NAME}</string> And it clearly is not null. What am I doing wrong here? The WORKING SOLUTION is this (and only this): In Xcode, choose “Executables” from the project hierarchy. Click your project executable then press Command-I. Choose the General tab and set the

CFBundleLocalizations info.plist - How to put multiple languages

对着背影说爱祢 提交于 2019-11-30 14:51:46
I cannot find the answer for this question anywhere. I'm new to Xcode. I have developed two multilanguage iPhone apps and cannot upload them to iTunes Connect because I'm getting the famous error "the value for the info.plist key cfbundlelocalizations is not of the required type for that key". Everybody says that it's because I need to put there an array of values, but I don't know how to do it. If I need for example, English and French, what should I to put there? Something like this (0=en, 1=fr)? The plist editor in Xcode seems to insist that it should be a string... if you want an array,