Post

Replies

Boosts

Views

Activity

Mac Catalyst App No longer start : Cause bugs in App Store and weird macOS behaviour
My latest app version may have a bug that happens very rarely when opening/closing the app and AVAudioPlayer.init(contentsOf:fileTypeHint:) is called (note that everything related to audio player is protected inside try/catch blocks). But the app does start again. I tested on my Intel Mac and Mac mini 2024 without any problems. In fact we have more than 2000 Mac users that use our app daily without any problems. But we have 3 customers that have a serious problems. They have apple silicon Macs with macOS 15.7.7 and 26.5. So the app does not ever start again, after working for years. Uninstalling and deleting all hidden files over the entire hard drive related to our app and reinstalling it from the store. Does not make it start again. I saw many macOS bugs happening. Killing/Closing the app then rebooting the Mac without the option to reopen the apps. When the reboot is done our app is opened, we see a little dot underneath (nothing exists to start it on boot). I saw display problems in Monitor app. For one customer, after uninstalling our app, it does appear in App Store, but the "get" button is grey and cannot be clicked. Our app is not on the SSD and not in the garbage bin. I compiled a special version of my app with no sound, all the code related to the possible crash completely commented. I gave it to 2 users and the app does not start. After cleaning everything, rebooting and reinstalling the app, I have one customer that gets a message that the previous opening of the app crashed. But the 2 choices (do not open or reopen) don't work. It juste either do nothing or crash again and again. My Theory is that there is an old bug in macOS that my app triggered. And from that moment on, macOS will stop behaving properly. My app was compiled with the lasted Xcode and apple libraries (I only use the basic Apple libraries, no 3rd party stuff) as of last month. My customers are angry and I tell them to get help from Apple customer service. The problem is not in my app, but something get stuck in macOS that makes the app never start again. The app was working, even my latest update, then after 1 crash it never start again, even after cleaning, rebooting and reinstalling the app. I can't fix this on my side, an app that crashes should not ever break the entire OS. I want to reiterate that my app does work for me an thousands of people and that even a new version without any possible problem manually put on desktop does not start either. When we uninstall and reinstall an app, it should work as it did, not leave behind some hidden crap that makes it never start again.
3
0
229
2w
Xcode 16 Do not display comments correctly
Comments are not displayed correctly in Xcode 16. As you can see on the included screenshot, the first /// are displayed correctly but the remaining ////////////////////////// are super small. In a programming text editor, like Xcode, all characters MUST be monospaced. Otherwise it is impossible to code. Xcode is not supposed to be a word processor. There are no parameters to fix that. It was working fine for the past 15 years on Xcode. Please fix that so I can work again. And never do that ever again. Understood?
7
0
739
Apr ’25
Mac Catalyst WKWebView keyDown never trigger (no more keyboard events)
Everything was working fine for 4 years. But since Ventura, when the WKWebView is in focus, the keyDown event are not happening. Not only they don't fire inside of web page input box, but they won't register in the app either. As long as a WKWebView is in focus, the keyboard events won't work. The app does not receive the key events, and the web page will not receive the js events keyDown and friends. This is particularly painful with auto complete input box. Test with an empty project with only a WKWebView with this page https://www.toptal.com/developers/keycode/for/d It does work fine on iPhone and iPad. Message to Apple : You force us to use your Safari engine, yet it is always broken. Don't wait for 8 months to fix it this time, we would be tempted to go full web and skip native app with all the store certification problems.
9
9
3.5k
Oct ’24
Mac Catalyst WKWebview cannot click twice on http dropdown on macOS.
If we click on a simple html dropdown list on a WKWebview and choose an item in the list, after that we will never be able to click it ever again on that same dropdown (it will never open again), unless we click elsewhere on the webpage (removing the focus that was on the dropdown). That only happens on Mac, on iOS it works fine. This is another Mac Catalyst problem on Mac.
1
1
1.8k
Aug ’23
Mac Catalyst WKWebview random crash since Monterey
We released our app 2 years ago, it is available on iPhone, iPad and macOS (with catalyst). Since macOS Monterey, the WKWebview is crashing at random, for different customers it will be a different thing that triggers the crash. It could be a specific button or simply one text box inside a web page and it will be that specific thing all the time that will crash the app from now on. For different customers it will be a different trigger. It could be anything. The problem is exactly the same on Intel and M1. Only a restart (or multiple) or a shut down can resolve the problem, but not for everyone, for some people it will be one specific button on one of our 5 000 web pages that will start crashing the app and nothing will ever make it work again. Of course I cleared the cashes programmatically, even deleted the files and uninstalled the app. The crash dump is mostly the same and in my crash log, there is not a single line of code belonging to my code. The crash is really inside the Safari engine or the WKWebview. There are other problems with WKWebview since Monterey : Pasting text Cmd+V in web page paste the text twice and dropdown can only be used once, after that they never open again unless you click on an empty space elsewhere. This is on any web pages, not just ours. Of course none of these problems are happening on iPhone and iPad and they use the exact same code (macCatalyst). Please Apple take the macOS seriously or discontinue the product. Crash Dump Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: <SPRoundedWindow: 0x154e8f060>. "frame=!CGRectIsNull(frame)"' terminating with uncaught exception of type NSException abort() called Application Specific Backtrace 0: 0 CoreFoundation 0x00000001c404eb08 __exceptionPreprocess + 240 1 libobjc.A.dylib 0x00000001c3d99e14 objc_exception_throw + 60 2 Foundation 0x00000001c4fc4c80 -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:] + 0 3 AppKit 0x00000001c6b7fbec -[NSWindow _reallySetFrame:] + 900 4 AppKit 0x00000001c6b7f4ac -[NSWindow _oldPlaceWindow:fromServer:] + 228 5 AppKit 0x00000001c6b7e490 -[NSWindow _setFrameCommon:display:fromServer:] + 2220 6 SafariPlatformSupport 0x00000001eaf26f08 __85-[SPSafariPlatformSupport displayOTPAutoFillRelativeToRect:ofView:completionHandler:]_block_invoke + 300
12
1
3.7k
Sep ’22
WKWebview paste with keyboard paste text twice.
In my WKWebview, if I right click (macCatalyst) or long press (ios) paste, it only paste text once. But if I Cmd-V to paste, it will paste text twice with a space between the 2 copied text. This is my log (canPerform action always return true): -canPerformAction() action : paste: -canPerformAction() action : paste: -canPerformAction() action : paste: -canPerformAction() action : paste: -canPerformAction() action : newWindowForTab: -2021-12-17 09:50:17.101763-0500 myApp[18815:1434268] *** Assertion failure in -[UINSResponderProxy _initWithWrappedResponder:orMenuProxy:forAction:sender:], UINSResponderProxy.m:250 -[UINSResponderProxy _initWithWrappedResponder:orMenuProxy:forAction:sender:]: UINSResponderProxy is improperly wrapping a responder that does not respond to the action. -canPerformAction() action : paste: -canPerformAction() action : paste: -canPerformAction() action : paste:
8
0
4.1k
Apr ’22
URLRequest.httpShouldHandleCookies is broken beyond repair.
I create a new URLRequest(url: myUrl) object every time before calling URLSession.shared.dataTask(with: urlRequest). I wait for one request to complete before making another call, so no timing problem possible. If I set it to false, it does not inject cookies. If I set it to true, it does send cookies. So everything is fine? NO! If you sometimes set it to false for some calls and to true for other calls it will always not inject cookies. So if you set it to false, even if you set it to true for other calls it will never ever work. I don't know how they manage to create such a bug, but it require some special kind of evil intentions. Note : I always call the exact same domain and I always have my cookies.
2
0
1.8k
Nov ’21
Safari Web Inspector do not see my WKWebview on macCatalyst app (without Xcode)
I have a macCatalyst app. I can see the WKWebview pages in the Develop tab of Safari on my Mac when the app is started from Xcode. I can see the WKWebview pages in the Develop tab of Safari on my iPad when started on the device (not started by Xcode) If I start the same app on my Mac but normally this time (not from Xcode), all I get is "No Inspectable Applications". I have set com.apple.security.get-task-allow to 1 like other internet post has suggested, still not working. Please help me, my web colleagues need to be able to debug their webpages in the context of my app running on their mac. My Xcode and macOS is the latest version.
0
0
984
Nov ’21
Mac Catalyst App No longer start : Cause bugs in App Store and weird macOS behaviour
My latest app version may have a bug that happens very rarely when opening/closing the app and AVAudioPlayer.init(contentsOf:fileTypeHint:) is called (note that everything related to audio player is protected inside try/catch blocks). But the app does start again. I tested on my Intel Mac and Mac mini 2024 without any problems. In fact we have more than 2000 Mac users that use our app daily without any problems. But we have 3 customers that have a serious problems. They have apple silicon Macs with macOS 15.7.7 and 26.5. So the app does not ever start again, after working for years. Uninstalling and deleting all hidden files over the entire hard drive related to our app and reinstalling it from the store. Does not make it start again. I saw many macOS bugs happening. Killing/Closing the app then rebooting the Mac without the option to reopen the apps. When the reboot is done our app is opened, we see a little dot underneath (nothing exists to start it on boot). I saw display problems in Monitor app. For one customer, after uninstalling our app, it does appear in App Store, but the "get" button is grey and cannot be clicked. Our app is not on the SSD and not in the garbage bin. I compiled a special version of my app with no sound, all the code related to the possible crash completely commented. I gave it to 2 users and the app does not start. After cleaning everything, rebooting and reinstalling the app, I have one customer that gets a message that the previous opening of the app crashed. But the 2 choices (do not open or reopen) don't work. It juste either do nothing or crash again and again. My Theory is that there is an old bug in macOS that my app triggered. And from that moment on, macOS will stop behaving properly. My app was compiled with the lasted Xcode and apple libraries (I only use the basic Apple libraries, no 3rd party stuff) as of last month. My customers are angry and I tell them to get help from Apple customer service. The problem is not in my app, but something get stuck in macOS that makes the app never start again. The app was working, even my latest update, then after 1 crash it never start again, even after cleaning, rebooting and reinstalling the app. I can't fix this on my side, an app that crashes should not ever break the entire OS. I want to reiterate that my app does work for me an thousands of people and that even a new version without any possible problem manually put on desktop does not start either. When we uninstall and reinstall an app, it should work as it did, not leave behind some hidden crap that makes it never start again.
Replies
3
Boosts
0
Views
229
Activity
2w
Xcode 16 Do not display comments correctly
Comments are not displayed correctly in Xcode 16. As you can see on the included screenshot, the first /// are displayed correctly but the remaining ////////////////////////// are super small. In a programming text editor, like Xcode, all characters MUST be monospaced. Otherwise it is impossible to code. Xcode is not supposed to be a word processor. There are no parameters to fix that. It was working fine for the past 15 years on Xcode. Please fix that so I can work again. And never do that ever again. Understood?
Replies
7
Boosts
0
Views
739
Activity
Apr ’25
Mac Catalyst WKWebView keyDown never trigger (no more keyboard events)
Everything was working fine for 4 years. But since Ventura, when the WKWebView is in focus, the keyDown event are not happening. Not only they don't fire inside of web page input box, but they won't register in the app either. As long as a WKWebView is in focus, the keyboard events won't work. The app does not receive the key events, and the web page will not receive the js events keyDown and friends. This is particularly painful with auto complete input box. Test with an empty project with only a WKWebView with this page https://www.toptal.com/developers/keycode/for/d It does work fine on iPhone and iPad. Message to Apple : You force us to use your Safari engine, yet it is always broken. Don't wait for 8 months to fix it this time, we would be tempted to go full web and skip native app with all the store certification problems.
Replies
9
Boosts
9
Views
3.5k
Activity
Oct ’24
Mac Catalyst WKWebview cannot click twice on http dropdown on macOS.
If we click on a simple html dropdown list on a WKWebview and choose an item in the list, after that we will never be able to click it ever again on that same dropdown (it will never open again), unless we click elsewhere on the webpage (removing the focus that was on the dropdown). That only happens on Mac, on iOS it works fine. This is another Mac Catalyst problem on Mac.
Replies
1
Boosts
1
Views
1.8k
Activity
Aug ’23
What is the replacement for deprecated contentEdgeInsets
Warning : <<'contentEdgeInsets' was deprecated in iOS 15.0: This property is ignored when using UIButtonConfiguration>> I don't use SwiftUI so what is the replacement for contentEdgeInsets? None of the UIButtonConfiguration or UIButton.Configuration.filled() exist. I need to be able to change the inset dynamically.
Replies
10
Boosts
2
Views
16k
Activity
Jul ’23
Mac Catalyst WKWebview random crash since Monterey
We released our app 2 years ago, it is available on iPhone, iPad and macOS (with catalyst). Since macOS Monterey, the WKWebview is crashing at random, for different customers it will be a different thing that triggers the crash. It could be a specific button or simply one text box inside a web page and it will be that specific thing all the time that will crash the app from now on. For different customers it will be a different trigger. It could be anything. The problem is exactly the same on Intel and M1. Only a restart (or multiple) or a shut down can resolve the problem, but not for everyone, for some people it will be one specific button on one of our 5 000 web pages that will start crashing the app and nothing will ever make it work again. Of course I cleared the cashes programmatically, even deleted the files and uninstalled the app. The crash dump is mostly the same and in my crash log, there is not a single line of code belonging to my code. The crash is really inside the Safari engine or the WKWebview. There are other problems with WKWebview since Monterey : Pasting text Cmd+V in web page paste the text twice and dropdown can only be used once, after that they never open again unless you click on an empty space elsewhere. This is on any web pages, not just ours. Of course none of these problems are happening on iPhone and iPad and they use the exact same code (macCatalyst). Please Apple take the macOS seriously or discontinue the product. Crash Dump Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: <SPRoundedWindow: 0x154e8f060>. "frame=!CGRectIsNull(frame)"' terminating with uncaught exception of type NSException abort() called Application Specific Backtrace 0: 0 CoreFoundation 0x00000001c404eb08 __exceptionPreprocess + 240 1 libobjc.A.dylib 0x00000001c3d99e14 objc_exception_throw + 60 2 Foundation 0x00000001c4fc4c80 -[NSMutableDictionary(NSMutableDictionary) initWithContentsOfFile:] + 0 3 AppKit 0x00000001c6b7fbec -[NSWindow _reallySetFrame:] + 900 4 AppKit 0x00000001c6b7f4ac -[NSWindow _oldPlaceWindow:fromServer:] + 228 5 AppKit 0x00000001c6b7e490 -[NSWindow _setFrameCommon:display:fromServer:] + 2220 6 SafariPlatformSupport 0x00000001eaf26f08 __85-[SPSafariPlatformSupport displayOTPAutoFillRelativeToRect:ofView:completionHandler:]_block_invoke + 300
Replies
12
Boosts
1
Views
3.7k
Activity
Sep ’22
WKWebview paste with keyboard paste text twice.
In my WKWebview, if I right click (macCatalyst) or long press (ios) paste, it only paste text once. But if I Cmd-V to paste, it will paste text twice with a space between the 2 copied text. This is my log (canPerform action always return true): -canPerformAction() action : paste: -canPerformAction() action : paste: -canPerformAction() action : paste: -canPerformAction() action : paste: -canPerformAction() action : newWindowForTab: -2021-12-17 09:50:17.101763-0500 myApp[18815:1434268] *** Assertion failure in -[UINSResponderProxy _initWithWrappedResponder:orMenuProxy:forAction:sender:], UINSResponderProxy.m:250 -[UINSResponderProxy _initWithWrappedResponder:orMenuProxy:forAction:sender:]: UINSResponderProxy is improperly wrapping a responder that does not respond to the action. -canPerformAction() action : paste: -canPerformAction() action : paste: -canPerformAction() action : paste:
Replies
8
Boosts
0
Views
4.1k
Activity
Apr ’22
URLRequest.httpShouldHandleCookies is broken beyond repair.
I create a new URLRequest(url: myUrl) object every time before calling URLSession.shared.dataTask(with: urlRequest). I wait for one request to complete before making another call, so no timing problem possible. If I set it to false, it does not inject cookies. If I set it to true, it does send cookies. So everything is fine? NO! If you sometimes set it to false for some calls and to true for other calls it will always not inject cookies. So if you set it to false, even if you set it to true for other calls it will never ever work. I don't know how they manage to create such a bug, but it require some special kind of evil intentions. Note : I always call the exact same domain and I always have my cookies.
Replies
2
Boosts
0
Views
1.8k
Activity
Nov ’21
Safari Web Inspector do not see my WKWebview on macCatalyst app (without Xcode)
I have a macCatalyst app. I can see the WKWebview pages in the Develop tab of Safari on my Mac when the app is started from Xcode. I can see the WKWebview pages in the Develop tab of Safari on my iPad when started on the device (not started by Xcode) If I start the same app on my Mac but normally this time (not from Xcode), all I get is "No Inspectable Applications". I have set com.apple.security.get-task-allow to 1 like other internet post has suggested, still not working. Please help me, my web colleagues need to be able to debug their webpages in the context of my app running on their mac. My Xcode and macOS is the latest version.
Replies
0
Boosts
0
Views
984
Activity
Nov ’21