Re: Xcode 14 minimum deployment target

2022-10-28 Thread Markus Spoettl via Cocoa-dev
On 10/28/22 1:40 PM, Mark Allan via Cocoa-dev wrote: I've held off upgrading for the same reason. I wonder if it's something to do with a semantic difference between "is no longer supported" and "is no longer possible". Maybe what they really mean is "if it appears to work, great, but we can't

Re: Cocoa framework or Object class to uncompress files

2022-10-25 Thread Markus Spoettl via Cocoa-dev
On 10/25/22 3:45 AM, Carl Hoefs via Cocoa-dev wrote: My iOS app downloads a gzip'd data file into its sandbox that the app needs to unzip and process. I don't see anything in Cocoa (such as NSFileManager) that addresses uncompressing files. Is there a way? (BTW, I tried some ancient 3rd party

Re: WKWebView rejecting keyboard input

2021-04-15 Thread Markus Spoettl via Cocoa-dev
On 4/15/21 4:42 PM, Robert Walsh via Cocoa-dev wrote: I have an Objective-C application that creates a WKWebView to collect form input. The form has a label, an input (password) field, and two buttons. When the form is shown inside the web view by the application, the user can click the

Re: NSSecureCoding & Nested Collections & macOS 11

2020-09-05 Thread Markus Spoettl via Cocoa-dev
On 9/3/20 12:15 PM, Markus Spoettl via Cocoa-dev wrote: On macOS 11 this produces the following exception: -- -[NSKeyedUnarchiver _validateDecodeCollectionAllowedClassesRequirementsWithClasses:]: This method only supports decoding non-nested collections. Please

Re: NSSecureCoding & Nested Collections & macOS 11

2020-09-03 Thread Markus Spoettl via Cocoa-dev
On 9/3/20 9:12 PM, Jens Alfke wrote: That sounds like a framework bug, since the warning is telling you to use the method you're already using. I'd file a bug report with Apple. Agreed and I did as did a user a couple of months ago. What is strange is that this wasn't fixed months ago, as

NSSecureCoding & Nested Collections & macOS 11

2020-09-03 Thread Markus Spoettl via Cocoa-dev
Hi, my app implements secure decoding for all its serialization and it worked fine up until macOS 11. Now the deserialization chokes on nested collections like this NSArray of NSDictionary containing [NSNumber, NSString, NSDate] (both keys and objects) What previously worked no longer

Re: iOS open In place, permission denied

2020-04-28 Thread Markus Spoettl via Cocoa-dev
On 4/28/20 11:23 AM, Markus Spoettl via Cocoa-dev wrote: - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options Just in case anyone is interested, main part of the solution is to wrap the usage of url inside a [url startAccessingSecurityScopedResource

iOS open In place, permission denied

2020-04-28 Thread Markus Spoettl via Cocoa-dev
Hi everyone, I have a strange problem with the - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options app delegate method, that seems to have cropped up a couple of weeks ago when switching to the iOS 13 SDK (from 12). My app can no longer access

Re: Code signing problem in one project...

2020-04-26 Thread Markus Spoettl via Cocoa-dev
On 4/26/20 11:25 PM, Steve Mykytyn via Cocoa-dev wrote: I'm automatically managing code signing on all my Xcode projects. Just today, one started refusing to validate / distribute, claiming it was missing a private key. All the other projects continue to build just fine. Tried restarting

Re: Questions regarding release

2019-09-26 Thread Markus Spoettl via Cocoa-dev
On 9/26/19 11:16 AM, Gabriel Zachmann via Cocoa-dev wrote: NSImage * nsImage = [[NSImage alloc] initWithSize: nsimgrep.size]; [nsImage addRepresentation: nsimgrep]; return NSImage; You probably mean to write return nsImage; Best Regards Markus --