Post

Replies

Boosts

Views

Activity

Reply to Xcode 13 typing is delayed / really slow
Also experiencing these issues (slow typing, slow navigation) with XCode13. Albeit, my app is incredibly complex, multiple files, many containing thousands of lines of code. But XCode is a professional tool, and hasn't given me this kind of grief in the decade using it to build for the Apple eco system. If this continues it may finally push me away from Apple development and move my work to "web applications" instead. PS Unchecking Preferences->General->Show Live Issues helped but didn't completely solve the slowness issues for me.
Oct ’21
Reply to M1 Xcode 12.5 can't paste clipboard
Same issues as everyone else, i.e. recently migrated to M1 MacBook Air and paste no longer works in iOS 15.4 Simulator. I downloaded 13.7 simulators as suggested, paste works in 13.7 but now (in 13.7) certain kinds of videos (streams) refuse to load. Xcode 13.3; running in Rosetta mode (using some libraries e.g. AFNetworking that aren't yet updated/supported w/ new M1). Any new insights into (fixing?) this issue appreciated.
Mar ’22
Reply to iPhone 12 mini simulator
Same issue, re: iPhone mini 12; I get screen dimensions of 375x812 (x3) reported in the Simulator. Whereas the actual device dimensions are 360x780 (x3). This basically renders it impossible for me to account for iPhone mini 12 as you've said without having a physical device.
Jul ’22
Reply to Xcode 14 & iOS 16 purple warnings starting with "[Security] This method should not .. "
Same purple warning in Xcode 14 here. "This method should not be called on the main thread as it may lead to UI unresponsiveness." In my case I've traced it to a WKWebView -> loadRequest:, i.e. called from my main ViewController's -> viewDidLoad: I load a web view at app startup, as after launch/splash screen it's the first view user will see. I'm careful about accounting for network issues and will timeout (or not even try loading), display an alternative screen, etc. if there are network issues. I'm going to assume someone on the Xcode team chose to add this warning in the event a developer doesn't account for slow loading or not loading at all an initial wkwebview when the app first launches? Any other theories? Is it safe to ignore the warning?
Sep ’22
Reply to How to delete the warning 'This method should not be called on the main thread as it may lead to UI unresponsiveness.' shown in xCode14
Same purple warning in Xcode 14 here. "This method should not be called on the main thread as it may lead to UI unresponsiveness." In my case I've traced it to a WKWebView -> loadRequest:, i.e. called from my main ViewController's -> viewDidLoad: I load a web view at app startup, as after launch/splash screen it's the first view user will see. I'm careful about accounting for network issues and will timeout (or not even try loading), display an alternative screen, etc. if there are network issues. I'm going to assume someone on the Xcode team chose to add this warning in the event a developer doesn't account for slow loading or not loading at all an initial wkwebview when the app first launches? Any other theories? Is it safe to ignore the warning?
Sep ’22
Reply to This method should not be called on the main thread as it may lead to UI unresponsiveness.
Same purple warning in Xcode 14 here. "This method should not be called on the main thread as it may lead to UI unresponsiveness." In my case I've traced it to a WKWebView -> loadRequest:, i.e. called from my main ViewController's -> viewDidLoad: I load a web view at app startup, as after launch/splash screen it's the first view user will see. I'm careful about accounting for network issues and will timeout (or not even try loading), display an alternative screen, etc. if there are network issues. I'm going to assume someone on the Xcode team chose to add this warning in the event a developer doesn't account for slow loading or not loading at all an initial wkwebview when the app first launches? Any other theories? Is it safe to ignore the warning?
Sep ’22
Reply to "UI unresponsiveness" warning on @main
Same purple security warning in Xcode 14 (latest release) here. "This method should not be called on the main thread as it may lead to UI unresponsiveness." In my case I've traced it to a WKWebView -> loadRequest:, i.e. called from my main ViewController's -> viewDidLoad: i.e. I load a web view at app startup, as after launch/splash screen it's the first view user will see. I'm careful about accounting for network issues and will timeout (or not even try loading), display an alternative screen, etc. if there are network issues. I'm going to assume someone on the Xcode team chose to add this warning in the event a developer doesn't account for slow loading or not loading at all an initial wkwebview when the app first launches? Any other theories? Is it safe to ignore the warning?
Sep ’22
Reply to Video not working on 16.4 simulator
Interestingly, the pixels from an HLS stream are available in the 16.4 Simulator(s), i.e. it's possible to get a valid (loaded w/ the video frame and not black) CVPixelBufferRef from the stream, even though video won't display on screen. Att: Apple, please hurry up with a fix on this! It makes developing streaming video applications a pain i.e. not being able to actually program and text the latest OS on anything other than connected devices (rendering the Simulators pretty much useless for developing our application).
May ’23