info-plist

Xcode creates generic archive of iOS app because of malformed/incomplete Info.plist file inside the archive

旧城冷巷雨未停 提交于 2021-02-08 08:46:41
问题 I am trying to archive and distribute my ios app but out of nowhere it just stopped working. I have deployed my app many times and also had this problem before because xcode somehow creaded some bad xml lines in my project.pbxproj file, but eventually I edited the xml source code and it was ok (app archive and upload/distribution to AppStore). Now xcode is showing my new created archive in "Other items" sections and i cannot upload to AppStore. I opened the archive and I noticed that key

Do remote push notifications require to add UIBackgroundModes in Info.plist?

随声附和 提交于 2020-02-26 05:11:33
问题 I have integrated remote push notifications, but I am getting this warning: didReceiveRemoteNotification:fetchCompletionHandler:] , but you still need to add " remote-notification " to the list of your supported UIBackgroundMode s in your Info.plist . My Xcode version is 8.3.1. I really want to add this to Info.plist . I have followed some tutorials as well but they didn't mentioned this either. What should I really do? 回答1: Yes, you should enable Background Modes/Remote notifications to be

Opt into app thinning for icons in asset catalog in existing project

≡放荡痞女 提交于 2020-01-01 09:43:51
问题 At WWDC 2017 Session 201 What's New in Cocoa Touch, around the 33:50 mark, it is stated that "By incorporating [icons] in Asset Catalogs, we're now able to have them participate in the app thinning, which will significantly lower your app's footprint. So, this is a really exciting thing to adopt, and it will be adopted by default in new projects in iOS 11. You can opt into it in existing projects by adding a key to your Info.plist." What is the key you need to add in your Info.plist to enable

Enable “low resolution” mode in Mac app bundle by default

时光总嘲笑我的痴心妄想 提交于 2019-12-25 01:26:40
问题 I'm publishing a Mac app which supports Retina (high resolution) mode, but I would like to disable this mode by default. In other words, I want the "Open in Low Resolution" option in the Get Info menu of the app bundle to be checked when the app bundle is unzipped. If the user wishes to enable high resolution mode, they should be able to uncheck the option. In my attempt to solve this problem, I found the options NSHighResolutionCapable and NSHighResolutionMagnifyAllowed from https:/

where in an XCode project does it set “InfoPlist.strings” as the filename to use for locationalization?

﹥>﹥吖頭↗ 提交于 2019-12-24 09:33:29
问题 where in an XCode project does it set "InfoPlist.strings" as the filename to use for locationalization? Just trying to understand how XCode pulls things together here. For example to set the app name specifically I can change this in "AppName_plist-Info.plist", however if I go localization it seems it then has to be set via the "InfoPlist.strings" files. I can see in XCode where it specifies the "AppName_plist-Info.plist" file name, in the Target/BuildSettings/Packaging information area, but

Configuration dependent value in Info.plist file

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-20 18:08:12
问题 I have three configurations in my iOS project: Debug Adhoc Release Now I want to change the name of the App as follows: MyAppDebug MyAppAdhoc MyApp (Note that this one does not have a suffix) Is there a way I can easily achieve this in Xcode with some type of "compiler-if-else-macro-thing" ? 回答1: Changing display name of app for respective configurations: one way to achieve this is by using the same info plist file that you have. Part 1: create an user defined variable Click on target project

Different app-name depending on configuration when app-name is localized in InfoPlist.strings

江枫思渺然 提交于 2019-12-20 12:36:15
问题 We use a setup with different plists for each configuration. Like this: Target-Info-Dev.plist, Target-Info-Beta.plist... This way our configurations could have their own CFBundleDisplayName, and we can differentiate builds by app-name on device. Like this: "DEV Appname", "BETA Appname"... However, now we are required to localize the app-name. We have done this by creating a localized InfoPlist.strings for each target: "CFBundleDisplayName" = "<localized-appname>"; "CFBundleName" = "<localized

Could not localize iOS app bundle display name

佐手、 提交于 2019-12-18 09:12:03
问题 I have followed the answers to some SO question to localize my app's name. InfoPlist.strings (Base): CFBundleDisplayName = "Name In English"; CFBundleName = "Name In English"; InfoPlist.strings (Arabic (Saudi Arabia)): CFBundleDisplayName = "Name In Arabic"; CFBundleName = "Name In Arabic"; I have also tried adding quotation marks around CFBundleDisplayName and CFBundleName InfoPlist.strings file is located at the root directory of my app.next to Info.plist file, but after localized, it was

Exposing an app's ubiquitous container to iCloud Drive in iOS 8

余生颓废 提交于 2019-12-17 15:34:28
问题 I'm developing an iCloud-enabled app where users will be able to import and export files via iCloud Drive. When browsing iCloud Drive, either using the UIDocumentPickerViewController (iOS 8) or the Finder (OS X Yosemite), I can see directories created/owned by other iCloud-Drive-enabled apps, such as, Automator, Keynote, or TextEdit. I want our app to expose its ubiquitous documents directory in iCloud Drive, too, but haven't been able to figure it out yet. Within some of the aforementioned

Is it possible to launch app from URL and handle the URL content from inside app?

邮差的信 提交于 2019-12-11 14:11:01
问题 I want to use a functionality from which the user can launch my app/application from pressing a project file. I have my eyes on the com.gluonhq.charm.down.plugins.RuntimeArgsService Gluon service. My first step will be to just launch the app from a URL. However - I would like to know if/how it could be possible to let my application know from what URL it was launched - so it can automatically import that project and display it for the user. Can the launch URL be provided to the app