info.plist

Access parameters from custom URI scheme in Java application on OS X

对着背影说爱祢 提交于 2019-12-10 10:33:26
问题 I've successfully added a custom URI scheme in info.plist on OS X so my Java 1.7 based application (written in Netbeans) is launched whenever the user enters "myApp:SomeParameter" in their browser: <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLName</key> <string>My App</string> <key>CFBundleURLSchemes</key> <array> <string>myApp</string> </array> </dict> </array> I have also successfully added the corresponding registry entry for the application if installed on a Windows machine.

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

假如想象 提交于 2019-12-09 15:21:31
问题 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 unknown SpringBoard[1176] : The 'X' bundle at /private/var/mobile/Applications/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/X.app does not have an executable path. Please check the bundle's Info.plist file. I checked the app's plist using PhoneDisk and the executable matched the app name. Any ideas? 回答1: In my

Mac File association not working. Why or how to debug?

假如想象 提交于 2019-12-09 00:10:05
问题 I have the following Info.plist which I am attempting to associate .mybin files with the applcation. However after installing the .mybin files do not have the icon, the description or the association (when viewing with Get Info). I'm completely new to OSX development and I inherited the packaging of the application so I have no idea how to debug problems. The app is packaged to a .app using productbuild if that makes any difference. I have compared my info.plist against several other

MSMessageLiveLayout freeze/crash in transcript when info.plist contains privacy request

限于喜欢 提交于 2019-12-08 13:15:11
问题 I have an iMessage extension using MSMessageLiveLayout for messages. I want the extension to access microphone. Adding in info.plist "Privacy - Microphone Usage Description" with correct value causes the liveMessages in transcript to freeze/crash when the extension is closed. Removing the Privacy request from info.plist makes the liveMessages in transcript to work as intended... To reproduce the problem, just download Apple's "ice cream" iMessage sample extension here: https://developer.apple

Xcode 4 and cocos2D 1.0.0 beta Uncategorized errors and Info.plist doesn't exist

蹲街弑〆低调 提交于 2019-12-07 18:30:00
问题 I just installed the xcode 4 sdk and the cocos2d 1.0.0 beta template. I just created a new project with the cocos2d template. But when I build I got these errors : (for information my previous projects developed with xcode 3 have the same problem) warning: couldn't add 'com.apple.XcodeGenerated' tag to '/Users/Benoit/Library/Developer/Xcode/DerivedData/xcode4-bswxazfuwbsguiasyatbtlmvbpps/Build/Intermediates/xcode4.build': Error Domain=NSPOSIXErrorDomain Code=2 UserInfo=0x201dde680 "The

Change the value of Info.plist key programmatically in ios [duplicate]

跟風遠走 提交于 2019-12-07 17:55:53
问题 This question already has answers here : Editing Info.plist possible programmatically? (3 answers) Closed 6 years ago . Can we change the value of info.plist key programmatically in ios ? like I want to change the value of 'View controller-based status bar appearance' key to 'YES' / 'NO' in different places. 回答1: You can't change values in the info.plist programmatically. What you can do: Set "ViewControllerBased status bar appearance" to Yes Make a superclass for all your viewcontrollers

change UIBackgroundModes audio at runtime

三世轮回 提交于 2019-12-07 17:04:20
问题 I have an app that plays music, and I want to enable the background modes. My audio category is set to kAudioSessionCategory_MediaPlayback and if I add the audio string in my UIBackgroundModes inside my info.plist file it keeps playing back the audio. So far so good. Now I want to give this option to my users, to choose if the audio plays in the background or not. I tried getting the file and deleting the key but so far nothing happens. What I did was (in a selector handled by a UIButton) : -

Specify device family in Info.plist

时光毁灭记忆、已成空白 提交于 2019-12-07 14:37:34
问题 Is there a way to specify the device family solely based on a key in Info.plist, without changing the build settings? I have read about UIDeviceFamily being added automatically to Info.plist at build time, and the documentation says that I should not add this key manually. Let's say I cannot use Xcode, but I can edit Info.plist, is there a way to specify if the app should be running only on iPhone (or iPad)? Thank you, 回答1: check out the docs in UIDeviceFamily UIDeviceFamily if you need to

iPhone App display name

試著忘記壹切 提交于 2019-12-07 10:27:01
问题 If I have an iPhone app named: MyCoolApp How do I keep the bundle named: MyCoolApp.app But have the app name on that shows up underneath my icon read: My Cool App I have changed my PRODUCT_NAME target setting to be "My Cool App" and changed my plist CFBundleDisplayName and CFBundleName to be "MyCoolApp". So far my app name on the device still reads "My Cool App" I'm pretty green to this stuff still. Thanks for any help you can provide. 回答1: Sometimes when changing the Project Properties it

App store name and info.plist

血红的双手。 提交于 2019-12-07 01:13:46
问题 I've just completed my first app and having tested I'm ready for submission. However, despite numerous web searches and reading, I'm struggling to finalise the method required to enable me to have a different name on the app store to the name that appears under the app on the device home screen. In the info.plist file there is reference to bundle display name, executable name, bundle name, bundle identifier, product name etc. So, for example, say I would like the app store name to display as: