Posts

Post not yet marked as solved
4 Replies
601 Views
I have a macOS App that uses a custom file format (XML based). It is properly in the Info.plist as a file format so that my App is launched when this custom file type is double clicked etc etc. All that has been working fine for awhile now. If I use Finder and duplicate one of these custom files, it does the right thing and creates a "File 2.customxml" file, keeping the file extension intact. But if I AirDrop one of these files to another Mac and there is already a file of the same name in the Downloads folder, it creates the file "File.customxml 2" instead of "File 2.customxml". And of course there is no Application registered to open a file of type ".customxml 2". If a user clicks "Open" in the AirDrop popup, my App is opened with this file the first time, but not opened or informed the second time and instead it falls to another App, eg: TextEdit Is there anyway I can get AirDrop to do the "right" file naming? (This is all between 2 Macs)
Posted
by janice.
Last updated
.
Post marked as solved
4 Replies
890 Views
I use an NSSegmentedControl "on top of" an NSBox in my App in a couple of places. (Text only, no images) In Light Mode, the control draws on top of the lines of the NSBox so it looks like the lines go behind the Control. The unselected segments are white (probably opaque) and it covers up the box lines. In Dark Mode however, it looks like the *un*selected segments are now transparent and so the lines from the NSBox show thru the unselected segments. The selected segment is completely opaque though and so the NSBox line isn't seen.What's the best way to "override" this transparency to get the same Light mode behaviour? I was hoping that I could assign a CA layer property/filter of some sort to have it always draw opaque? Or is my only solution to subclass and write my own drawRect:? Or?
Posted
by janice.
Last updated
.
Post not yet marked as solved
0 Replies
278 Views
I have a shipping Mac App Store App supporting macOS 10.9 and above. In several places inside the App I show a Google Map inside a WebView. I'm testing my App in macOS 10.15 Beta5 (19A526h) and none of the WebView's are working. The Webview shows a blank white canvas and there are no errors reported in the XCode console, nor in the machine console, nor any WebView delegate error callbacks. The WebView delegate callbacks all report that the URL was loaded successfully, just nothing shows up on the screen.The same binary works fine in 10.14 but does not work in 10.15 Beta. Built using Xcode 10.2.1 or 10.3 using macOS 10.14 SDK.Does this sound like a bug that should be filed? Or am I running into a security change I don't yet know about?(Yes, I know that WebView has been deprecated in favour of WKWebView but it should still work)
Posted
by janice.
Last updated
.
Post not yet marked as solved
1 Replies
323 Views
I have a shipping macOS App that runs on 10.9 and above that allows a user to "lookup" people in their Contacts (aka AddressBook) like:[ABAddressBook sharedAddressBook]Users that have used my app in releases previous to 10.14 already have an entry in the TCC database for my App and can turn Contact access on and off in Security & Privacy as expected.New users who run the App for the first time in 10.14 are not getting prompted to allow access or not. Did something change? Do I need to do something different to have them prompted?
Posted
by janice.
Last updated
.
Post not yet marked as solved
0 Replies
319 Views
I generated and gave a Promo code to a customer in Spain. When he tried to redeem it in the Mac App Store Application, he couldn't and sent me a screen shot of the error."Tambien puedes introducir el codigo a mano.Este codigo se aplicara a tu ID de Apple, xxxx@gmail.com"The Text Box shows he has entered the correct promo code,and then underneath in Red text is:MZFreeProductCode.CannotRedeemiOSAppOnDestopHas anyone else seen this? Is this a temporary problem or a Spain problem or an App Store bug? Who would I report this to?(And the promo code is definitely not an iOS App promo code)Thanks,
Posted
by janice.
Last updated
.
Post not yet marked as solved
19 Replies
4.9k Views
I have a shipping Sandbox'd App that saves a thumbnail of an image if the user add's it to the App. Italso saves the original URL to that image with the thumbnail for reference later on.If the user then later wants to "look" at the original image, I do:[[NSWorkspace sharedWorkspace] openURL:photoURL]which has worked in the past. Now it only half works in that, if the original imagecame from an eg: http(s):// URL, the openURL will launch Safari with that URL. But ifthe original image came from a file:// URL, it no longer launches eg: Preview orthe default Application for that file type, and instead fails and pops up a messageon my App saying "The application "<MyApp>" does not have permission to open<imagename>.png".(I checked and "URLForApplicationToOpenURL:" returns Preview forthe default Application for the file. I also checked and no "error" messages show upin the Console)I don't have, and don't want, access to the original file in my App. I justwant to launch whatever viewer Application the user has configured.Did something change security wise to make this feature impossible now?
Posted
by janice.
Last updated
.
Post not yet marked as solved
2 Replies
615 Views
I have a Beta version of my macOS App that I would like a Test User to be able to test. They already have the released version installed on their machine, so this is a 2nd version. When they start it up though, the "Apple-ID" text box is greyed out and uneditable and contains their "real" Apple ID. They are not able to even enter the Sandbox Test User information.What needs to be done to trigger the "new" Apple ID to be used?Just FYI, yes all the other get "Hardware-UUID", new Provisioning Profile, Archive, Export for Development stuff has been done. It has been successfully installed/started by others. But they are previous Beta testers and this person is a new Beta tester. What are the requirements for being able to use a different (Test) Apple ID for the first time?Janice
Posted
by janice.
Last updated
.
Post not yet marked as solved
2 Replies
2.1k Views
I would like to be able to create a 'Beta' version of my macOS App Store App to send to a customer so I'm first just trying to make it work on another Mac that I have available to test with. I have followed the directions in "Exporting Your App for Testing (Mac)" including adding the UUID to the list of devices, and including it in the Team Provisioning Profile. Then I Archive and "Export a Development-signed Application" and sign with my Development account and then Mac Team Provisioning Profile. (In which I can see that it contains the needed Hardware UUID). I'm just using the XCode defaults here.When I run it on the friends Mac, they are prompted to sign in with their Apple ID, but then they get the ubiquitous "This Application is Damaged" popup and it won't run. In the console I get the subject message including:default 09:10:10.964192 -0800 storeassetd ISStoreURLOperation: Chose not to retry after error: Error Domain=ISErrorDomain Code=500317 "500317" UserInfo={NSLocalizedFailureReason=500317}default 09:10:10.964320 -0800 storeassetd FetchReceiptOperation: Failed, Error Domain=ISErrorDomain Code=500317 "500317" UserInfo={NSLocalizedFailureReason=500317}default 09:10:12.731630 -0800 storelegacy StoreLegacy: Failed to renew receipt for application at path /Applications/DiveLogDT.app : 'The operation couldn’t be completed. 500317'I have tried the same experiment using the shipping Bundle version and Bundle version short, also bumping both versions, and also creating a new App release instance in iTunesConnect that matches the new "Bundle version string, short", and none of that made a difference, I still got the same console errors.Any thoughts on what this error message means or suggestions on how I can create test versions of my macOS App?
Posted
by janice.
Last updated
.