All you have to do is click on the blue project icon -on top of the left- and go to the “Build Settings” tab, search “Info. plist” and choose “Info. plist File” section.
Info. plist - The primary property list for Mac OS X applications, located in the /Contents/ directory of an . APP bundle. To view this file, right-click an application file, select "Show Package Contents," and open the Contents folder.
Information Property-List Files (Info.plist) The Info. plist file contains critical information about the configuration of an iOS mobile app—such as iOS versions that are supported and device compatibility—which the operating system uses to interact with the app.
plist . This name of this file is case sensitive and must have an initial capital letter I . In iOS apps, this file resides in the top-level of the bundle directory. In macOS bundles, this file resides in the bundle's Contents directory.
The Info.plist
file is by default located in the root folder of your application's bundle, it's derived from the {ProjectName}-Info.plist
file in the Xcode project. By default it's listed in a group called Supporting Files
.
The app I was developing had some custom settings and in my case the Info.plist file
was in a different place.
Here is how I look for it. (the safest way)
In xCode:
Info.plist file
In JetBrains AppCode:
Info.plist location
[Info.plist]
Build Settings -> Info.plist File(INFOPLIST_FILE)
When you create a new Bundle
(Application, Framework, Tests), Xcode automatically save it into a place which you can find simply in Build Settings
. But sometimes it is not so simple to find it, for example using CocoaPods
During refactoring or others situations the Info.plist
path can be changed and Xcode do not automatically change Build Settings
and you get
Build input file cannot be found: 'some_path/Info.plist' (in target 'SomeTarget' from project 'SomeProject')
You can fix it finding a file and modifying settings
File -> Open Quickly -> Find the correct one -> Reveal in Project Navigator -> update Info.plist File in the Build Settings
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With