info.plist

Alternate Icon in iOS 10.3

假装没事ソ 提交于 2019-11-27 12:50:12
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 now, and have to put in about 12 different sized icons for spotlight, different iphone and ipad sizes, etc. What's the rule on the alternate ones? This is not a duplicate of is it possible. It is asking if you have to include every single size for the alternate icons Since the biggest problem is how to configure the icon image source and info.plist, here is a sample to tell you how to set alternate

Xcode can't open Info.plist — error says “there is no such file”

百般思念 提交于 2019-11-27 10:41:10
问题 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 have looked at the file in Xcode and it is there. So why can't it be opened? 回答1: That the file exists in your Xcode project folder isn't enough. Have you verified the file is properly referenced in your application target's build settings so it's properly copied into the app bundle? It's not quite

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

淺唱寂寞╮ 提交于 2019-11-27 09:38:28
问题 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: Dear Developer, We identified one or more issues with a recent delivery for your app XXXXX. Your delivery was successful, but you may wish to correct the following issues in your next delivery: "Missing Purpose String in Info.plist File. Your app's code references one or more APIs that access

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

依然范特西╮ 提交于 2019-11-27 06:24:45
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 precompiled header was built Something to note is that the app runs fine in the simulator. Edit: Now I am getting this error instead of the other one: No such file or directory (/Users/Me/Library/Developer/Xcode/DerivedData/MyProject-abcdefghijklmnopqrstuvwxyz/Build/Products/Debug-iphoneos/MyApp./MyApp) How to regenerate the info.plist file? HexAndBugs You could try a deep clean (not the same as Product >

Unable to create UIBackgroundModes key in Info.plist for iOS4

徘徊边缘 提交于 2019-11-27 04:24:07
问题 I have an audio application which works great for iPhone 3.1.x versions. I am trying to upgrade it to iOS4.0 to work in multitasking environment. When I try to create a new UIBackgroundModes key in info.plist , it ("Required Background Modes") doesn't show up in drop down list? I also upgraded the Xcode SDK to 3.2.3, Base SDK to 4.0, deployment target to 4.0 but still UIBackgroundModes ("Required Background Modes") won't show up in info.plist drop down list. I also created test project for 4

LSUIElement not working

╄→尐↘猪︶ㄣ 提交于 2019-11-27 02:52:50
问题 I have an application that has LSUIElement = 1 in the Info.plist. When I run the application, a dock item and toplevel menu bar is created for it. Why? EDIT: I was using a library that was calling TransformProcessType(), clobbering my Info.plist configuration. 回答1: Go to your Info.plist file, and add a new key-value pair, or type Boolean. Start typing in the key the phrase "Application is agent". It should auto-complete for you. Then check the checkbox. This is how I create my agent

iOS: Access app-info.plist variables in code

假装没事ソ 提交于 2019-11-27 00:16:02
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: UIStoryboard* storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard_iPhone" bundle:nil]; self = [storyboard instantiateViewControllerWithIdentifier:@"ExampleViewController"]; Now, having the storyboard name @"MainStoryboard_iPhone" above is ugly. I want to do something like: UIStoryboard* storyboard = [UIStoryboard storyboardWithName:appInfo.mainStoryboardBaseNamePhone bundle:nil]; self = [storyboard

Changing the development language in Xcode

末鹿安然 提交于 2019-11-26 21:55:22
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 ) from "en" to "es". However, in Project > Info > Localizations, English remains set as Development Language. As said in Information Property List Key Reference , CFBundleDevelopmentRegion specifies the default language. I need to set Spanish to the default language, what am I missing? Thanks Here's how you can do this: Add the language you want to be your Base language first. Uncheck all of the

React-native loading image over https works while http does not work

核能气质少年 提交于 2019-11-26 21:52:19
问题 I want to load an Image in the iOS simulator over a http uri as source. But nothing is shown on the screen expect the wireframe which can be made visible with the inspector. If you load the same code in Android it works fine and if you use a https uri instead of http it also works fine. Example code: render() { return ( <View> <Image source={{uri:https://facebook.github.io/react/img/logo_og.png'}} // works // source={{uri: http://facebook.github.io/react/img/logo_og.png'}} // doesn't work

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

只谈情不闲聊 提交于 2019-11-26 19:18:21
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 native development) and I don't know how to add this key to Info.plist Can you post an example? Thanks I am using npm package "react-native-camera-roll-picker": "^1.1.7" Thanks @rmaddy, I added this just after other key-string pairs in Info.plist and fixed the problem: <key>NSPhotoLibraryUsageDescription</key> <string>Photo Library Access Warning</string> Edit: I also ended up having similar problems on