mac-app-store

Mac app store productbuild

北城余情 提交于 2019-11-30 19:38:46
Apple's document on submitting an app to the Mac App store contains this example use of the command productbuild, from in /Developer/usr/bin/. productbuild \ --component build/Release/Sample.app /Applications \ --sign "3rd Party Mac Developer Installer: Name1 Name2" \ --product product_definition.plist Sample.pkg When I run this command on my Sample app, I get the error: productbuild: error: No product definition plist found at "product_definition.plist". What is this product_definition.plist, where should it come from, what should be inside it, and what tool should be used to create this

Mac App Store: circumvent sandbox requirement

﹥>﹥吖頭↗ 提交于 2019-11-30 19:28:44
问题 As many sources state on the internet, you need to have your app Sandboxed to be able to deploy it in the App Store. Furthermore, it is impossible to use the accessibility api (AXUIElement.h) when sandboxed,according to this. However, some apps still seem to use this api. One of these apps is Cinch. In the installation procedure of Cinch you need to give Cinch rights to use the accessibility API, so clearly they are using this API. After checking out the binary from the app store with the

How to run an AppleScript from a sandboxed application on a Mac (OS X)

扶醉桌前 提交于 2019-11-30 13:18:32
问题 We are developing an application for the Mac App Store using Qt 5.2.0.Framework on MacOSX 10.9. Here is a simple AppleScript that creates a Microsoft Excel workbook and saves to any location. tell application "Microsoft Excel" set myworkbook to make new workbook set fname to POSIX file "/Private/var/root/Download/ExcelFile" as text save workbook as myworkbook filename fname end tell The above script is saved as Untitled.scpt in /Library/ApplicationScript/ . Inside the application, we use the

Submitting a Mac App fails with 'Bad File Descriptor'

*爱你&永不变心* 提交于 2019-11-30 09:23:36
问题 I've managed to sign my app and have archived it in Xcode 4.2 but when I go to the organiser and press ether 'Validate' or 'Submit' (and after going through the two sheets for iTunes Connect login and application record and signing) I get an error "The operation couldn't be completed. Bad file descriptor". Restarting Xcode did not fix the problem. I've also tried the Application Loader app included in the developer tools but I can't figure out what kind of file it's looking for since it won't

How to run an AppleScript from a sandboxed application on a Mac (OS X)

南楼画角 提交于 2019-11-30 07:02:17
We are developing an application for the Mac App Store using Qt 5.2.0.Framework on MacOSX 10.9. Here is a simple AppleScript that creates a Microsoft Excel workbook and saves to any location. tell application "Microsoft Excel" set myworkbook to make new workbook set fname to POSIX file "/Private/var/root/Download/ExcelFile" as text save workbook as myworkbook filename fname end tell The above script is saved as Untitled.scpt in /Library/ApplicationScript/ . Inside the application, we use the Cocoa framework to execute the AppleScript. This AppleScript works in a non-sandboxed application. It

Programmatically open Mac App Store

自古美人都是妖i 提交于 2019-11-29 22:58:57
I am trying to programmatically open the Mac App Store in a custom Mac App. I started with the link below. http://itunes.apple.com/us/app/angry-birds/id403961173?mt=12 I tried the following code, however it opens the browser rather than the Mac App Store. [[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString:@"http://itunes.apple.com/us/app/angry-birds/id403961173?mt=12"]]; Any suggestions on how I can do this? Regexident URLs of this pattern open up the Mac App Store: macappstore://itunes.apple.com/app/id403961173?mt=12 So in your case: [[NSWorkspace sharedWorkspace] openURL: [NSURL

Cannot update .geojson file for app submission on App Store

一世执手 提交于 2019-11-29 12:44:45
My GeoJSON file is supposed to cover the entire world. Here is the GeoJSON file: { "type": "MultiPolygon", "coordinates": [ [[[-169.4,58.8], [-168.0,83.4], [188.4,83.3], [194.0,-72.8], [-166.6,-73.6], [-169.4,58.8]]] ] } The name of the file is example.GeoJSON . I keep getting the following error when uploading the file: Your routing app coverage file is invalid. For more information see the Developer Guide. What is wrong with the above file? My app has a mapkit that shows the annotation of a particular place depending on the place that is chosen. When tapping the map in the app, Apple Maps

Dropping promised files on to application icon in Dock

半城伤御伤魂 提交于 2019-11-29 04:44:09
Is it possible to open promised files NSFilesPromisePboardType in sandboxed application when dropping on to application icon in Dock? The Dock icon is accepting the drop, but -application:openFile: is never called. The only reference I found are pre sandbox: Accepting iCal events dropped on my application's icon rdar://47917787 Let's break this down: NSApplication and NSDocumentController in NSDocument based apps gives you -application:openFile: or -openDocumentWithContentsOfURL:display:completionHandler: for free in case of NSFilenamesPboardType and NSURLPboardType drops. Note: I think under

Are Mac App Store code sign resource envelopes always version 1?

青春壹個敷衍的年華 提交于 2019-11-29 01:18:56
问题 After the latest email detailing changes on the gatekeeper for 10.10 beta 5 and 10.9.5 , I went and immediately verified my app with the recommended method from TN2206 . To my surprise, since I used no resource rules and built it on Mavericks, it failed: $ spctl -a -t exec -v /Applications/MyApp.app/ /Applications/MyApp.app/: rejected source=obsolete resource envelope Then, I went on to check the submitted binary inside the Xcode archive, which was promptly rejected, but without the "obsolete

How do you codesign framework bundles for the Mac App Store?

感情迁移 提交于 2019-11-28 15:14:32
After a recent submission I have gotten the following error: Invalid Signature - the nested app bundle (FooBar.app/Contents/Frameworks/GData.framework) is not signed, the signature is invalid, or it is not signed with an Apple submission certificate. Refer to the Code Signing and Application Sandboxing Guide for more information. Invalid Signature - the nested app bundle (FooBar.app/Contents/Frameworks/Growl.framework) is not signed, the signature is invalid, or it is not signed with an Apple submission certificate. Refer to the Code Signing and Application Sandboxing Guide for more