NSLocationWhenInUseUsageDescription warning, but I have already added it

Adding both NSLocationAlwaysAndWhenInUseUsageDescription and NSLocationWhenInUseUsageDescription keys in plist solved my problem. <key>NSLocationAlwaysUsageDescription</key> <string>Your location is required for xyz benefits for you</string> <key>NSLocationWhenInUseUsageDescription</key> <string>Your location is required for xyz benefits for you</string>

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

Here’s Apple’s documentation on the “LSRequiresiPhoneOS” bits of an application’s info.plist file. Basically all it means is that the app is designed to run under iOS. This flag should be set to YES no matter if the target device is an iPhone, iPod Touch or iPad. Who knows, maybe in the not-so-distant future, MacOS will …

Read more

Where is Info.plist in Xcode 13? (missing, not inside project navigator)

It’s a “feature.” You don’t need it anymore. From the Release Notes: Projects created from several templates no longer require configuration files such as entitlements and Info.plist files. Configure common fields in the target’s Info tab, and build settings in the project editor. These files are added to the project when additional fields are used. …

Read more