Post

Replies

Boosts

Views

Activity

App Store Connect Notifications
When logged into App Store Connect and viewing Users and Access I select Account Holder and then open my AppleID.On the ensuing window I see the possible notifications that I can sign up for.One is entitled 'Developer Response' which has the clarifying text 'Receive an email if a customer edits a review you’ve responded to.'I would like to advocate for a new notification:'Receive an email if a customer creates a review.'Without this notification I must manually check for this activity.Even with one app this seems to me to be an unnecessary use of my limited time.With now several apps this is becoming quite tedious...Please advise if there is a better way to advocate for this useful feature.Steve
2
1
7.7k
Apr ’20
Catalina & AEDeterminePermissionToAutomateTarget
Folks;I'm seeing some behavior I don't understand related to 'Privacy : Automation' (Xcode 11.4 Catalina 10.15.4)My macOS app uses AppleScript to interact with ~20 other mainstream macOS applications (Safari, Chrome, Word, etc..)All of this used to work in Mojave (and I'm pretty certain earlier Catalina)I've been noticing some strange results during testing so I have reset Privacy for my app using 'tccutil reset All com.someName.myAppName'This reset has been successful - in System Preferences I no longer see my app under the 'Automation' area.HOWEVERwhen my app is about to execute AppleScript to another app it first executes:OSStatus status = AEDeterminePermissionToAutomateTarget(targetAppEventDescriptor.aeDesc, typeWildCard, typeWildCard, false);after the reset above, this now returns 'errAEEventWouldRequireUserConsent'after receiving this 'wouldRequire' response my app executes:OSStatus status = AEDeterminePermissionToAutomateTarget(targetAppEventDescriptor.aeDesc, typeWildCard, typeWildCard, true);this is now ALWAYS returning 'errAEEventNotPermitted'.This paradigm used to work very nicely.Is there some information that I have missed?My hunch is that 'typeWildCard' for AEEventClass and AEEventID are now problematic...Any help here would be deeply appreciated!Steve
1
0
554
Apr ’20
Xcode 11.4 dragging a button in XIB
Xcode 11.4 installed this morning after updating to 10.15.4.now when I try and drag a button onto a tabView item Xcode spikes CPU usage to over 100%; the UI feedback in Xcode is VERY slow and the normal 'insertion mark' on the left in the view hierarchy just bounces around and never stabilizes to indicate the drop location.I have spent nearly an hour trying to place a button on a tabView!!I have restarted the machine and switched pointing devices.Does anyone have any suggestions?
0
0
462
Mar ’20
NSPrintOperation PDFOperationWithView
Folks;macOS 10.15 - Xcode 11.3.1I've been somewhat successful getting this method to create a PDFDocument from the contents of an NSTextView.However, the contents of this NSTextView is an NSAttributedString (set using TextStorage).The view behaves as expected and there is .pdf document created.The contents of the .pdf file appears to be the .string value of the NSTextView.How do I use this NSPrintOperation to produce a PDFDocument which retains the attributed string?Thanks for any thoughts!SteveBTW: If anyone has a means of producing a PDFDocument from NSAttributedString for macOS that does not involve NSPrintOperation I would appreciate a quick example or a link... I used to use 'cupsfilter' but it has been marked deprecated AND it also yields this same result... It logs'cupsfilter: No filter to convert from text/rtf to application/pdf.' but creates the file...(but loses the attributed string)
18
0
4.9k
Feb ’20
CNLabeledValue localizedStringForLabel:
Folks;I'm looking at CNContacts ability to supply some localized values.In my very first test I'm setting NSString *test = [CNLabeledValue localizedStringForLabel:CNLabelHome];The value that gets assigned is 'domicile' !I'm running macOS 10.15.2 & Xcode 11.3 with only English specified in System Prefs - Language & Region - preferred languagesI have not localized any storyboards.The Project does NOT have 'Use Base Internationalization' turned on and has 'English - Development Langauge' as the only localization.The [NSLocale currentLocale] is 'en_US'.I had expected the result to 'Home' since the localization for the mac should be English...How do I detemine how this method is using the French language for its localization?All insights appreciated!Steve
1
0
479
Jan ’20
AutoRenew Subscription Boilerplate
Folks;I have a set of auto renewable subscriptions working for iPhone and iPad.I'm now beginning to explore all the nooks and crannies of delivering a localized version of the product.The UI aspect seems pretty straightforward.In the case of auto-renewables my best understanding is that the app needs to display information per Schedule 2 of the Paid Applications Developer Agreement... My app contains the following boilerplate language:"This is an auto-renewing subscription. A payment will be charged to your account at the end of your 3 day free trial. Your subscription will automatically renew unless it is canceled at least 24 hours before the end of the current period. Your account will be charged for the renewal within 24 hours prior to the end of the current period. You can manage and cancel your subscriptions by going to your @account settings@ on the App Store after purchase. For more information please see our @TermsOfService@ and @PrivacyStatement@."My recollection is that this language was specifically required and reviewed by App Store Review.The '@' designates a hyperlink will be rendered at that text to provide access to the developer website.Is there any means that Apple can provide localized versions of the required boilerplate?I guess I'm not confident that a random translation service would render something that would pass Apple's legal inspection.For example, go the App Store and examine the 'Terms and Conditions' document and review the 'Subscriptions' entry.Since Apple is requiring that the app internally provide this information in order that the user is fully informed it would seem reasonable that they could provide different text for different markets. (It would appear that they already do via the 'Terms and Conditions' mentioned above.) It seems to me that a more efficient solution to this whole issue it provide a mechanism for Apple to supply text (the 'Subscription' secction) which adequately describes the subscription information to the satisfaction of Apple legal - if this were the case then a standard boilerplate could be supplied and everyone would be better served... As it is the user is faced with a myriad of different stated and translated texts that may read quite differently and require an onerous effort to understand ...Any thoughts or reflections appreciated.Steve
2
0
1.3k
Jan ’20
How to make iOS App Preview for 6.5"
The specs state that the resolution for the video should be 886x1920 (or 1920x886).How do I create a video with this resoultion?I have looked at QuickTime Player, iMovie, and FinalCutPro and I don't see a way to produce a video with this resolution.BTW: I don't have an iPhoneX of any kind. Does this fact alone mean I cannot produce a 6.5 inch App Preview?It doesn't seem like it should but maybe..??I hope I am just missing something easy but in the programs mentioned above I find only 480p, 720p, 1080p, and 4K.Any guidance (a link to a "how to" with tools required?) would be really appreciated!
1
0
1.7k
Nov ’19
macOS & NSUserDefaults
Folks;When I run an archived copy of my mac application on a test dev machine (not my main dev box) I see errors in the Console log that trouble me...1) I see this error immediately before any of my code executes!error 16:14:25.839821 -0700 [MYAPPNAME] Couldn't read values in CFPrefsPlistSource<0x6000000ed280> (Domain: [MYAPPBUNDLEID], User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access, detaching from cfprefsdI open my standard defaults (a .plist) in -awakeFromNib like so: NSUserDefaults *ud = [NSUserDefaults standardUserDefaults]; [ud registerDefaults:[NSDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"WhodoMacOSDefaults" ofType:@"plist"]]]; [ud setObject:launch_Date forKey:kKudosLaunchDate];This activity throws 2 of these errors in the console:error 16:14:26.429881 -0700 [MYAPPNAME] attempt to set <private> for key in <private> in non-persistent preferences domain CFPrefsPlistSource<0x6000000ed280> (Domain: [MYAPPBUNDLEID], User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes)Then subsequently every 'set' for NSUserDefaults throw another of these into the console log...Nothing fancy going on in this app: no app groups, no iCloud, no hardened runtime...I don't see a 'user-preference-read' option in the standard entitlement document. Am I missing some basic conguration setting?Is this all just a by-product of running a 'development' archive?Any thoughts appreciated!Steve
6
0
8.7k
May ’19