info.plist

iOS plist.info: where should I put additional keys with a nested dict tag?

我怕爱的太早我们不能终老 提交于 2019-12-25 05:09:47
问题 In my Nativescript app (compiles to Native including plist.info file) I'm trying to add a key to plist.info to solve iOS 9 transport security issues. The solution I'm trying to apply comes from https://blog.nraboy.com/2015/12/fix-ios-9-app-transport-security-issues-in-nativescript/ Specifically it's about adding the following key to plist.info file: <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true /> </dict> However during building process I get the following

What to do with CFBundleIconName and Asset Catalog App Icon Set Name build setting when having alternate app icon(s)?

风格不统一 提交于 2019-12-24 18:29:25
问题 There are various tutorials (like here and there) that explain how to add alternate app icons to an iOS app. The addition to the MyApp.plist includes a CFBundlePrimaryIcon item. That gives me the impression this will now be used as the default icon and replaces the old/previous way of setting a single app icon using CFBundleIconName MyApp.plist entry and the Asset Catalog App Icon Set Name Xcode target build setting. However, none of the tutorials even mentions the CFBundleIconName MyApp

How to handle AppStore Warning - Missing Purpose String, because of third party library?

╄→гoц情女王★ 提交于 2019-12-24 03:36:07
问题 I have uploaded new build of the application that was in the App Store for severals years. Received following email from iTunes Connect: Your delivery was successful, but you may wish to correct the following issues in your next delivery: ITMS-90683: Missing Purpose String in Info.plist - NSLocationAlwaysUsageDescription NSLocationWhenInUseUsageDescription The application is not using location for any purpose. It may be caused: one of the pods I updated, has added usage of Location (admob?)

iOS - Entry in Info.plist for only iOS 6 and above?

◇◆丶佛笑我妖孽 提交于 2019-12-24 00:58:43
问题 I have an entry in my app's Info.plist (a Dictionary), and I only want it to be used in iOS 6 and above. It involves font replacement, using FontReplacer, and I don't want to replace fonts for a device running iOS 5. You can see the example on GitHub for a better explanation. Basically, is there a way for me to only use that Info.plist entry if the user's device is running iOS 6 or later? Thanks. 回答1: No. There isn't a way to tell the system to only have a specific entry available if >iOS 6.

Xcode 6/iOS - Archive & Info.plist missing

巧了我就是萌 提交于 2019-12-23 04:45:17
问题 I'm trying to create and validate an archive for an iOS app. I can run on the simulators and create the archive, but when I try to validate the archive, I get the following messages : The plist location seems properly set in the build settings (when I change it I can no longer run on the simulator). Any clue of what is missing ? Thanks 回答1: Well I just needed to set the "Build" AND "Version" in the "General" tab of my project infos. Setting the value in the plist manually didn't work -_- ...

Limit application capabilities in IOS to only work with Cell/WiFi data.

拜拜、爱过 提交于 2019-12-22 09:45:01
问题 I have searched all over StackOverFlow but did not find any answer on how to use Required Device Capabilities or UIRequiresPersistentWiFi . How do I set values in my application such that the app only works on cellular data/WiFi in the iPhone? Currently I have set the string WiFi property in the Required Device Capabilities Array according to iOSDeviceCompatibility. Is this the correct approach or should I set UIRequiresPersistentWiFi BOOL to YES ? 回答1: Based on the documentation, setting

OSX Custom extension icon Association

跟風遠走 提交于 2019-12-22 08:35:45
问题 I'm trying to get my application to display an icon for a custom file extension using the following code: <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeName</key> <string>My Custom Extension</string> <key>CFBundleTypeRole</key> <string>Viewer</string> <key>LSItemContentTypes</key> <array> <string>com.myapp.myext</string> </array> <key>LSHandlerRank</key> <string>Owner</string> <key>NSExportableTypes</key> <array> <string>com.myapp.myext</string> </array> </dict> </array>

Localizing Info.plist variable with appended string

久未见 提交于 2019-12-21 10:16:27
问题 I'm trying to localize the name of an app while still being able to append a string depending on the build configuration. So currently it is set up as: <key>CFBundleDisplayName</key> <string>${PRODUCT_NAME}${BUNDLE_DISPLAY_NAME_SUFFIX}</string> That setting is defined as: This way we can add the suffix to the app for our different beta builds. The problem is that when we try to localize the app display name in the localized InfoPlist.strings like so CFBundleDisplayName = "Localized App Name";

Bash script to edit CFBundleVersion field of PROJECT-Info.plist file

筅森魡賤 提交于 2019-12-21 09:17:04
问题 In order to put in place a continuous integration system, Hudson, I wrote a bash script to build Xcode project automatically. Moreover, in Debug configuration, It was asked to me, to insert the svn revision number of the project in the CFBundleRevision field of the PROJECT-Info.plist file as ${BUNDLE_VERSION}.r${SVN_REVISION}. You'll find the source code of PROJECT-Info.plist file below : <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www

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 --