Post

Replies

Boosts

Views

Activity

Reply to Segmentation fault: 11 in Xcode 10 beta
Ran into a segmentation fault. Happened after I was modifying the following line and was not obvious I was missing a last parentheses. let blockW = min(geometry.size.width, 0.7 * (geometry.size.height + 10) Surprising that I couldn't have gotten a friendlier error. This was with XCode 13.4.1. However, when I tried to make a minimal simple program to submit as a bug report, I got useful errors such as: Use of local variable 'blockW' before its declaration. But could turn on/off segmentation problem easily when the statement was in my full app.
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’22
Reply to xcode doesn't show compiler errors in code
I want to add to comments from garthoid about AppleID problems. I ran into problems with errors/warnings disappearing after updating to Xcode 14.3.1 (sorry don't remember previous version I was using). In my case, I had a company ID (personal LLC company - sole developer) that Xcode said had exprired and needed to log in. I don't really remember when/how this ID was created, but there really is no associated login with Apple for it that I am aware of. I deleted the ID. The company is still listed under "Team" on the Accounts tab. However, after deleting that ID, Live Issues started working again. Hope this can be helpful to someone else.
Jun ’23
Reply to Button Style Before iOS 15.0 warning
Been bugging me too. Discovered when you add a new button it now comes in with style Plain. Change it to "Default" and it warning goes away.
Replies
Boosts
Views
Activity
Nov ’21
Reply to Button Style Before iOS 15.0 warning
Has been bugging me too. Discovered when you now add a new button it comes in with style "Plain". Change the style to "Default" and the warning will go away.
Replies
Boosts
Views
Activity
Nov ’21
Reply to Segmentation fault: 11 in Xcode 10 beta
Ran into a segmentation fault. Happened after I was modifying the following line and was not obvious I was missing a last parentheses. let blockW = min(geometry.size.width, 0.7 * (geometry.size.height + 10) Surprising that I couldn't have gotten a friendlier error. This was with XCode 13.4.1. However, when I tried to make a minimal simple program to submit as a bug report, I got useful errors such as: Use of local variable 'blockW' before its declaration. But could turn on/off segmentation problem easily when the statement was in my full app.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to xcode doesn't show compiler errors in code
I want to add to comments from garthoid about AppleID problems. I ran into problems with errors/warnings disappearing after updating to Xcode 14.3.1 (sorry don't remember previous version I was using). In my case, I had a company ID (personal LLC company - sole developer) that Xcode said had exprired and needed to log in. I don't really remember when/how this ID was created, but there really is no associated login with Apple for it that I am aware of. I deleted the ID. The company is still listed under "Team" on the Accounts tab. However, after deleting that ID, Live Issues started working again. Hope this can be helpful to someone else.
Replies
Boosts
Views
Activity
Jun ’23