Skip to main content

Questions tagged [info.plist]

Info.plist (information property list) is a structured text file (XML) used in Apple's developer environment and operating systems that contains essential configuration information for a bundled executable.

info.plist
Filter by
Sorted by
Tagged with
1040 votes
104 answers
821k views

Xcode 10 Error: Multiple commands produce

error: Multiple commands produce '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist': 1) Target '...
make's user avatar
  • 9,863
215 votes
12 answers
249k views

NSPhotoLibraryUsageDescription key must be present in Info.plist to use camera roll

Recently I started to get this error: NSPhotoLibraryUsageDescription key must be present in Info.plist to use camera roll. I am using React Native to build my app (I am not familiar with ios ...
Murat Ozgul's user avatar
  • 11.6k
204 votes
19 answers
152k views

Error Appstore connect : Missing Purpose String in Info.plist File

I've submitted my app for review to the App Store Connect. Although the app is still under review, I've received an email to inform me that I have to fix an error. Here is the content of the message: ...
John doe's user avatar
  • 3,840
115 votes
5 answers
81k views

iOS: Access app-info.plist variables in code

I am working on a Universal app & would like to access the values stored in app-info.plist file in my code. Reason: I instantiate a UIViewController dynamically from a storyboard using: ...
sherlock's user avatar
  • 1,531
101 votes
6 answers
102k views

Changing the development language in Xcode

I need to set Spanish as development language for an iOS app. I'm already using Xcode 6, and I changed the Localization native development region entry in app's Info.plist (CFBundleDevelopmentRegion) ...
AppsDev's user avatar
  • 12.4k
94 votes
5 answers
45k views

Read version from Info.plist

I want to read the bundle version info from Info.plist into my code, preferably as a string. How can I do this?
John Smith's user avatar
  • 12.7k
87 votes
2 answers
28k views

How do I comment lines in .plist file?

How do I comment out lines in my .plist file in my iOS/Mac projects? I want to comment out the settings that I don't want to expose for this version of the project, but I may want to expose it later.
Enrico Susatyo's user avatar
81 votes
27 answers
103k views

Info.plist Utility Error: "Info.plist couldn't be opened because there is no such file"

I'm running into what seems to be common error, in that Xcode can't seem to find my 'Info.plist' file. I've checked the answers to these two StackOverflow questions (Could not read from Info.plist ...
narner's user avatar
  • 3,147
69 votes
13 answers
95k views

Xcode can't open Info.plist -- error says "there is no such file"

I switched to Xcode 4 and loaded my project, which worked perfectly in Xcode 3. When I run it, I get an error that says: The file “Info.plist” couldn’t be opened because there is no such file. I ...
Octavia Togami's user avatar
68 votes
1 answer
26k views

What is the meaning of the "Application Requires iPhone Environment" key in info.plist?

I'm having trouble understanding the specific requirements in the info.plist file in my app. Should I change it at all, or are the default settings typically the "correct" options? Specifically, the ...
waylonion's user avatar
  • 6,936
66 votes
10 answers
47k views

Xcode Buildtime Error: 'Unable to load contents of file list: '.../Info.plist' (in target 'xxxx')

Xcode started throwing this error in a project today, and I'm having trouble figuring out what it means and how to troubleshoot it, and it's not coming up in any searches. It happens immediately after ...
stephenspann's user avatar
  • 1,843
58 votes
5 answers
93k views

NSLocationWhenInUseUsageDescription warning, but I have already added it

While I have already added: NSLocationWhenInUseUsageDescription I keep receiving this warning: This app has attempted to access privacy-sensitive data without a usage description. The app's Info....
Mohamed's user avatar
  • 677
54 votes
21 answers
41k views

Fixing file 'project.pch' has been modified since the precompiled header was built error in Xcode

I was recently working on my application messing around in the info.plist section, and since that my application will not run on my test device: file 'project.pch' has been modified since the ...
user1542348's user avatar
43 votes
1 answer
11k views

In Xcode, under Info tab, what's Role for in URL Types section?

In Xcode, under Info tab, what's Role dropdown in URL Types section for? The valid value for this is Editor, Viewer, None.
Boon's user avatar
  • 41.2k
40 votes
3 answers
69k views

ITMS-90683: Missing Purpose String in Info.plist NSCameraUsageDescription

I upload my app in app store successfully. App store send me an email like this: App Store Connect Dear Developer, We identified one or more issues with a recent delivery for your app, "...
nativescript's user avatar
38 votes
3 answers
31k views

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

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 ...
Sefran2's user avatar
  • 3,588
36 votes
4 answers
36k views

Bundle creator OS Type code ??? in Xcode 4

I just realized that Bundle Creator OS Type code in my iOS app's Info.plist value is ????? in Xcode 4. What is the value supposed to be?
moon's user avatar
  • 1,502
35 votes
7 answers
63k views

The app's Info.plist file should contain a NSBluetoothAlwaysUsageDescription key while the key is in the plist file

First of all, I would like to state that I already looked at Stack Overflow post here and adding either the one mentioned by either iCoder & Deepak didn't solve the problem for me. I'm using ...
MikeSli's user avatar
  • 967
29 votes
2 answers
7k views

Alternate Icon in iOS 10.3

I have the info on how to set up alternate icons in iOS 10.3 adding the key in the Info.plist. However, what I am not sure of is which sizes are needed for each alternate. I use assets folders right ...
user717452's user avatar
25 votes
1 answer
7k views

How to stop Xcode 11 from changing CFBundleVersion and CFBundleShortVersionString to $(CURRENT_PROJECT_VERSION) and $(MARKETING_VERSION)?

Since version 11, Xcode sets my CFBundleVersion value to $(CURRENT_PROJECT_VERSION) and my CFBundleShortVersionString to value $(MARKETING_VERSION) whenever I enter Version or Build values in the ...
hotdogsoup.nl's user avatar
24 votes
1 answer
12k views

What does "InfoDictionary version" signify in information property list (plist file)?

What does "InfoDictionary version" signify? It is definitely different from the bundle version, but what is the role of "InfoDictionary version"?
B K's user avatar
  • 1,564
20 votes
4 answers
12k views

The app's Info.plist can't contain values for the UIRequiredDeviceCapabilities key

"The app's Info.plist can't contain values for the UIRequiredDeviceCapabilities key that would prevent this app from opening on any iOS device. For more information, see Understanding the ...
Vikki's user avatar
  • 211
19 votes
3 answers
31k views

Where is info.plist for React Native projects run in Expo for the purpose of callback URLs?

I am handling OAuth requests in my iOS React Native application. This application is contained and launched through Expo. I want to add in a custom callback url, so that I can return back to the ...
Code Doggo's user avatar
  • 2,206
19 votes
3 answers
5k views

Is there an info.plist key for advertising identifier use

There is an entry for itsappusesnonexemptencryption (ITSAppUsesNonExemptEncryption export compliance while internal testing?), but is there one for the Advertising identifier, and if so, what is it?
zugzwang's user avatar
  • 293
18 votes
5 answers
10k views

Flutter: Runner.app/Info.plist does not exist. The Flutter "Thin Binary" build phase must run after "Copy Bundle Resources"

After upgrading flutter to flutter 1.22.4. I am getting the below error while building the Xcode Project. Runner.app/Info.plist does not exist. The Flutter "Thin Binary" build phase must ...
Dhaval Kansara's user avatar
18 votes
7 answers
56k views

How to add properties in info.plist in iOS

I want to open PDF attachment via email in my own application: I refer two link here: How do I associate file types with an iPhone application? and here on Raywenderlich where it shows some XML ...
bapi's user avatar
  • 1,933
18 votes
1 answer
22k views

How to change/add/edit Info.plist in Flutter

I have a serious question that I didn't find the answer to. I have a Flutter app and needed to use a dependency and in its docs, it says this Setup iOS Info.plist And the docs have this code:- <...
Hussein Al-Mosawi's user avatar
18 votes
10 answers
21k views

Can't localize info.plist strings

I need to localize two keys of info.plist: NSLocationUsageDescription and NSCameraUsageDescription. So I tried to create a new file called InfoPlist.strings and then I localized it, but app always ...
DrKey's user avatar
  • 3,475
17 votes
5 answers
5k views

Adding a custom font to macOS app using Swift

I followed a bunch of tutorials but it doesn’t work: I simply want to add a custom font to a macOS app. What I tried essentially: Added the .ttf font-files to my project: Target Membership is set ...
ixany's user avatar
  • 5,901
17 votes
5 answers
10k views

Flutter not using build number from pubspec.yaml

When I run flutter build run I expect the version and build number to user my version in pubspec.yaml 1.1.5+10 However the 10 is always reverting to 1. This is set correctly in info.plist <key&...
user1961's user avatar
  • 1,430
16 votes
3 answers
15k views

UIImagePickerController not asking for permission

I have implemented the following code in an app to allow the user to add an image to the app. However the user is never asked for permission to access photo's. What am I missing here? in my info....
scottc00's user avatar
  • 303
16 votes
2 answers
12k views

Xcode cannot locate localized info.plist

After adding a few Localizations: and localized the (AppName)-info.plist file: and checked Bundle Resources (also tried to remove Go-info.plist from the Copy Resources Bundle list: and the file ...
ohho's user avatar
  • 51.6k
16 votes
3 answers
17k views

NSLocationWhenInUseUsageDescription localization using .strings file not working

I've completed translating my app to Turkish using Base Localization. However, I also need to translate NSLocationWhenInUseUsageDescription key in my Info.plist file. I did exactly what I did for ...
Can Poyrazoğlu's user avatar
16 votes
2 answers
21k views

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

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 ...
Nitish's user avatar
  • 14k
14 votes
2 answers
6k views

Add entries to Info.plist in Qt

In Qt, it is possible to specify an Info.plist file to use when building on Mac, as follows: QMAKE_INFO_PLIST = MyInfo.plist This replaces the Qt auto-generated Info.plist file with another one. ...
Oliver Moran's user avatar
  • 5,157
14 votes
2 answers
2k views

Specifying app name for iCloud "Manage Storage" list

Where does iCloud source the app name that it displays in the iCloud preferences? iOS: Settings.app > iCloud > Storage & Backup > Manage Store > Documents & Data OSX: System ...
Jaysen Marais's user avatar
13 votes
2 answers
8k views

Output current app's build version as a string - Xamarin.iOS

I want to output the app's current build version as a string onto my app's about view. Is there a method of reading this dynamically from the info.plist file or elsewhere rather than hardcoding it in?...
Dave Haigh's user avatar
  • 4,539
13 votes
6 answers
8k views

<Error>: FT_Open_Face failed: error 85

I am trying to install a custom font into my iPhone application. When I add the 'Fonts provided by application’ key into my info.plist file I get the following error ': FT_Open_Face failed: error 85.’ ...
Adam H's user avatar
  • 1,521
13 votes
5 answers
4k views

The package is missing an Info.plist or the CFBundlePackageType is not ‘APPL’ or ‘FMWK’. Unable to validate your application. (-21017)

I'm trying to upload bundle to Appstore with Github Actions for an app with multiple targets (one per environment: internal, client and retail). I'm getting this error: *** Error: Error uploading '...
gfrancoa's user avatar
  • 131
13 votes
1 answer
1k views

Can you dynamically assign CFBundleDocumentTypes to your Cocoa application?

Can you dynamically assign CFBundleDocumentTypes to your Cocoa application? Meaning during run time can I assign more extensions for my app to handle. Currently I set some extensions for my app to ...
Michael Wildermuth's user avatar
12 votes
4 answers
14k views

iPhone application name on iTunes

Is there any way to set the display name of the application which is shown on iPhone and on iTunes different? The name that I wrote to "Display bundle name" in info.plist is shown both on iTunes and ...
xenep's user avatar
  • 3,385
12 votes
3 answers
3k views

Is there an easy way to find packages that use permissions in flutter? Missing Purpose String in Info.plist submission problem

During the submission to Apple of the application I was notified of the following ITMS-90683: Missing Purpose String in Info.plist. NSBluetoothPeripheralUsageDescription ...
bl4ckr0se's user avatar
  • 604
11 votes
1 answer
5k views

SceneDelegate function is never called

I have a SwiftUI/SpriteKit project. In an error-laden quest to change the bundle identifier, I decided to create a new project and copy my files over. Now I've got this new project with all my old ...
West1's user avatar
  • 1,770
11 votes
8 answers
29k views

Ensure that the application's Info.plist contains a value for CFBundleIdentifier. Print: Entry, ":CFBundleIdentifier", Does Not Exist

I am attempting to build my first iOS app using this repo: https://github.com/pmusaraj/discourse-mobile-single-site-app When building, I receive an error and cannot move forward. I am an absolute ...
waffleslop's user avatar
11 votes
1 answer
994 views

Visual Studio Cordova Missing Info.plist key

I´m using visual studio for developing cordova applications. If I upload my App to the Store with Xcode8, I get the following error mail. Missing Info.plist key - This app attempts to access privacy-...
alexander-fire's user avatar
11 votes
1 answer
9k views

Xcode adding DTXcode key and others to Info.plist

Recently Xcode started adding keys to the Info.plist of my Cocoa app: DTXcode DTXcodeBuild DTCompiler DTPlatformBuild DTPlatformName DTPlatformVersion DTSDKBuild DTSDKName What are those keys used ...
Mark's user avatar
  • 1,447
10 votes
2 answers
9k views

canOpenURL not working in ios 10 [duplicate]

The above code is always returning false if {(UIApplication.shared.canOpenURL(URL(string:"comgooglemaps://")!))} I guess this a problem found in iOS10. I am trying to open google maps app if there ...
datta kadiyala's user avatar
10 votes
2 answers
27k views

Creating and writing into .plist with Terminal or bash script

I need to create a .plist file during post install and the only option I can use is a bash script. I have to create a foo.plist into /Library/launchAgents with a bash script and I've used the ...
Mubasher's user avatar
  • 950
10 votes
4 answers
3k views

.app does not have an executable path after installing over an old build

I have a TestFlight build that one user has downloaded, then we released a new version and they installed over that build. They got this error when trying to launch the app: Wed Aug 31 20:13:28 ...
roblocop's user avatar
  • 356
9 votes
3 answers
6k views

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

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 ...
Doc_1faux's user avatar
  • 161

1
2 3 4 5
16