Post

Replies

Boosts

Views

Activity

Unable to use Sandbox for testing in Mac App Store
Folks; I've had an app in the Mac App Store for some time. I used a test account setup in App Store Connect to test this. Let's call this testAccount1. Everything worked as expected. For various reasons I have eliminated that account in App Store Connect. Now I need to perform more sandbox testing against this app. I have setup a new account in App Store Connect. Let's call this testAccount2. BTW: macOS 11.2 Beta (20D5042d) on Transition Kit (A12Z Bionic) with Xcode 12.3 Used Xcode to perform a 'clean' Used Finder to remove the ~/Library/Containter/'appName' folder. When I launch the app in Xcode and reach the appropriate point I perform 'exit(173)' This results in a prompt to sign into the App Store which I do by providing TestAccount2. So far so good. Now when I attempt to purchase an In-App Purchase I am again prompted to Sign in to the App Store. This window contains a text field to enter an AppleID. This field is pre-populated with TestAccount1!!! scenario 1: over-ride the pre--populated AppleID with TestAccout2. in this case I am then prompted to enter the password. after entering the password I receive a prompt to 'Sign in to App Store' this window does not contain a text field to enter an AppleID (only 'Cancel' or 'Buy') On the 4th click it errors out .... " Code=306 "Reached max retry count" scenario 2: accept the pre-poulated AppleID NOTE:this AppleID is not valid - I have deleted this from App Store Connect after entering the password the normal in-app prompts appear after confirming the purchase I receive : "You are not authorized to make purchases of this InApp in Sandbox at this time." Bottom Line: I cannot test with a new Sandbox account I cannot test with an invalid Sandbox account Can someone please clarify how I am supposed to test in Mac App Store Sandbox? Please! Steve
0
0
825
Jan ’21
Using a macOS text processing service with Preview
I have an Objective-C macOS app which provides a service that provides unique services on selected text. This app has been for sale in the Mac App Store for several years. The app registers as service provider during 'appDidFinishLaunching' with: [[NSApplication sharedApplication] setServicesProvider:self]; When my service is invoked it uses the standard service method: (void)serviceName:(NSPasteboard *)pboard userData:(NSString *)userData error:(NSString **)error In the body of this standard service method the contents of the NSPasteboard (pboard) are examined and consumed by my app. - (void) kudosService:(NSPasteboard *)pboard userData:(NSString *)userData error:(NSString **)error; { if ([pboard pasteboardItems].count==0) { return; } NSPasteboardItem *pI = [pboard pasteboardItems][0]; NSLog(@"pI:%@",pI.types ); for (NSString *uti in pI.types) { NSLog(@"uti:%@ string:%@",uti, [pI stringForType:uti] ); } ... } Something has changed with Preview app; at this point I'm inclined to think the change occurred with version 11. Console output for Preview pI:( "public.utf8-plain-text", "public.rtf", "public.utf16-external-plain-text" ) uti:public.utf8-plain-text string:(null) uti:public.rtf string:(null) uti:public.utf16-external-plain-text string:(null) This is the output regardless of whether or not the user has a mere text selection OR has formally 'Cop(ied)' [Cmd-C] the text in the Preview window! Please NOTE if I open the exact same .pdf document in Safari and invoke the service from Safari I see the expected Console output: pI:( "public.utf8-plain-text" ) uti:public.utf8-plain-text string:The Best Gluten-Free Chocolate Cake When did this change in Preview behavior occur? Can anyone point me to some documentation, which I have obviously overlooked, that would shed some light on this matter!
0
0
793
Jun ’22
windowContent not displayed
M1Pro running macOS 12.5 & Xcode 13.4.1 developing a macOS application using storyboards simple beginning to an app: appDelegate, a custom windowController, and a custom viewController windowContent set in IB using drag no error reported during build when run: windowWillLoad is called viewController viewDidLoad is called window didLoad is called appDelegate applicationDidFinishLaunching is called window is drawn on screen but nothing appears in the window view has 2 verticalStackViews, a tableView, and a horizontalStackView I'm stumped.... Any thoughts appreciated on how to track this down!
0
0
789
Jul ’22
Cannot use verified Sandbox Account
I have setup and verified a sandbox account for testing. I have received both email and text verification and received the email noting that the account has been enabled for two-factor. Yet I receive the error below on both iOS and macOS devices. Can someone shed some light on this matter? Thanks! Steve iTunes Account creation not allowed This Apple ID cannot be used with the iTunes Store at this time. Please try again later
0
0
743
Jul ’23
Xcode 15.0.1 (15A507) Archive - Strange Behavior
I have MacCatalyst app that a few weeks ago I successfully submitted and it was approved for both the iOS app version as well as a macOS version (AppStoreConnect) Now when I use Archive in Xcode when the Organizer window opens the widget at top left is set to 'Other Items' additionally no version information is shown and the 'Validate' button is disabled... I know this is probably ridiculous but I don't see (nor do I recall) how I tell Xcode to archive for macCatalyst or archive for iOS.. Can someone help me out here - please?
0
0
667
Nov ’23