Post

Replies

Boosts

Views

Activity

Comment on Simulator beta 15 is too slow
@MarcoDesmoM1200 I installed Xcode 15.1 beta 3 and ran my code in an iPhone 15 Pro simulator running iOS 17.2 beta 3. The first time it ran, it also took a long time, around 30 minutes. I made a trivial change to a string in the code, and hit Cmd-R. It took just around 1.5 minutes to update the simulator. Did a couple more trivial string changes. Still good. I then added a bit more code: foregroundStyle, fontWeight. This time, it again took 30+ minutes. Still spinning as we speak... This sucks!
Dec ’23
Comment on Simulator beta 15 is too slow
@nicolas291 I just updated to Xcode 15.1 (15C65). Running a simple app from HackingWithSwift in the iPhone 15 Pro Simulator takes forever to display the app. I'd day at least 30 minutes. Then just simply changing the value of a string in the code and hitting Cmd-R to rerun the app in the simulator takes another 30 minutes. This is totally unusable! If it matters, my Mac is: Retina 5K, 27-inch, 2017, 3.4 GHz Quad-Core Intel Core i5, running Ventura 13.6.1 (22G313).
Dec ’23
Comment on In the Platforms window, difference between iOS and iOS Simulator
OK, good to know. But the fact that there was an error during "Verifying iOS 17.2 simruntime" and yet iOS 17.2 appears in the Platforms list is a bit puzzling. Yes, I can run the code in the iPhone 15 Pro simulator. Let's see if it runs in the Preview window. I have not succeeded in seeing the app display in the Previews canvas ever since I upgraded to Xcode 15.
Dec ’23
Comment on Color Literal behaves inconsistently in Xcode 13.2.1
That works, but it is still not possible to insert a color literal as an argument in a function. Example: setGradientBackground(topColor: QQQ, bottomColor: YYY) You can't put a color literal in place of QQQ and YYY. It forces it to: setGradientBackground(topColor: colorLiteral(red: 0.4745098054, green: 0.8392156959, blue: 0.9764705896, alpha: 1), bottomColor: colorLiteral(red: 0.5546397567, green: 0.3071874082, blue: 0.007406672928, alpha: 1))
Dec ’21