info.plist

Icons, Asset Catalog and Info.plist confusion

假装没事ソ 提交于 2019-12-20 23:09:15
问题 I have an app that started life for iOS 5 and has been updated ever since. For iOS 7 I have switched over to using an Asset Catalog for all the resources, which is nice and appears to work well. However, when I try to submit to Apple I get validation errors: Invalid Image Path - No image found at the path referenced under key 'CFBundleIconFiles': 'Icon@2x.png' I get the same error for the other icons, too. These icons do appear in the Asset Catalog and the names -- right down to the case --

Read version from Info.plist

吃可爱长大的小学妹 提交于 2019-12-20 08:06:00
问题 I want to read the bundle version info from Info.plist into my code, preferably as a string. How can I do this? 回答1: You can read your Info.plist as a dictionary with [[NSBundle mainBundle] infoDictionary] And you can easily get the version at the CFBundleVersion key that way. Finally, you can get the version with NSDictionary* infoDict = [[NSBundle mainBundle] infoDictionary]; NSString* version = [infoDict objectForKey:@"CFBundleVersion"]; 回答2: for Swift users: if let version = NSBundle

How may I customize app suggestions in iOS [closed]

陌路散爱 提交于 2019-12-20 07:44:03
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I would like to customise App Suggestions in iOS programatically. It usually says Good Morning and my app name. Is it possible that I configure it to say something other than "good morning"? Can I control when and where it appears? I couldn't find much information in this regard.

Java 7 supported JavaFx application is not running on Mojave

北战南征 提交于 2019-12-20 06:23:22
问题 My application supported on: Jdk1.7.0_76, JavaFx2.2.76_b13, Netbeans IDE, Ant for building and creating installer. Supported on Windows and Mac. It's running successfully till High-Sierra When I tried to run .app file on Mojave it is giving Unable to load Info.plist exceptions (eGPUOverrides) And when I tried to run jar file it gives following error Exception in thread "main" java.lang.NoClassDefFoundError: javafx/application/Application at java.lang.ClassLoader.defineClass1(Native Method) at

-canOpenURL: failed for URL: “spotify:” - error: “(null)”

≯℡__Kan透↙ 提交于 2019-12-20 06:06:10
问题 Not sure if this is true , but from what I've read, people say this issue only occurs on the Xcode simulator so you you must test on an actual device. The problem with this is my current server is a local node server at http://localhost:3000 , and my iOS device can not access this server. 1) Is there a way to give my iOS device access to the local server on my device? 2) Why am I getting this error when running the simulator? I have put the following in my info.plist: <key

CFBundleShortVersionString in info.plist must be higher than 1.0

∥☆過路亽.° 提交于 2019-12-20 03:33:16
问题 I uploaded the app in App Store, and now it in "Pending Developer Release" status. But I want give it to testers before release. I have no troubles with internal testers, I gave them access to application without problems. But I have trouble with external testers with the same binary. There is an error: "CFBundleShortVersionString in info.plist must be higher than 1.0" What should I do, if I don't want to reload binary, because I can lose the "Pending Developer Release" status? 回答1: When you

Xcode 7 error: could not read CFBundleIdentifier from Info.plist (null)

♀尐吖头ヾ 提交于 2019-12-19 17:34:44
问题 Getting this Error as below: error: could not read CFBundleIdentifier from Info.plist (null) When I opened Xcode 7, it asked to update app to recommended settings, I did so and then ran the project and received the above error. I haven't changed anything in the project. What do I need to change here? 回答1: Manesh You just need to do update your all info.plist file. Set Bundle identifier, Bundle name again, will work proper. 回答2: Move your info.plist from the Supporting Files in the Project

Setting NSAllowsArbitraryLoads in iOS 9 - Will Apple reject the app? [duplicate]

百般思念 提交于 2019-12-18 11:47:57
问题 This question already has answers here : Does App Store reject submission if NSAllowsArbitraryLoads set to YES? (6 answers) Closed 4 years ago . I suddenly get a message on iOS 9 : The resource could not be loaded because the App Transport Security policy requires the use of a secure connection Searched a bit and found that setting NSAllowsArbitraryLoads to YES fixes this which actually works. However I also found that Apple may reject the App for this. Though stated in App Transport Security

What is the meaning of “Localization native development region” entry in info.plist?

谁说胖子不能爱 提交于 2019-12-17 22:27:29
问题 I don't know if I really understood the function of the "Localization native development region" entry in info.plist file. Somewhere I read that this entry allows to specify the app language when there is no matching with a language resource dir. I have an app localized in three languages: english, italian and spanish (en.lproj, it.lproj and es.lproj) and I set "Localization native development region" entry to Italy. When I change the language and locale in "Settings" (for example by chosing

How to associate file type with MacOS X App without launching it first?

戏子无情 提交于 2019-12-17 13:58:26
问题 I would like to associate the last installed version of my Mac OS X application with a certain type of file. A little experimentation shows that the info.plist file seems to be read and interpreted by the operating system when launching the application, not when dragging the application bundle to the disk. Apple's documentation on run-time configuration does not say much on that topic. Is there any way, using a simple .dmg image as installation medium, to make sure the system associates that