Still happening
Post
Replies
Boosts
Views
Activity
Same here, I've been trying to create a new app for 24 hours now, still no luck. I also tried creating an app in another account, same issue.
So why are you declaring it like this?
This is actually a good question. I've changed it to your suggestion, but it still crashes in the line where it gets instantiated..
So just use that code?
Using your code works fine in a completely fresh project, but in my project it still crashes where it gets instantiated, no matter if using your or my code..
Thank you for your fast response.
The code I didn't supply was:
private var userLocationButton: CLLocationButton!
the setupUserLocationButton func is called in viewDidLoad
Style.CornerRadius.double is CGFloat = 10.0
and the themeColor is a dark blue
I'm also using Xcode 13.2 (13C90) from the Developer website (never using the App Store version)
with your exact code and assigning
"userLocationButton = button",
it still crashes when run in the Simulator with:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: width && height'
terminating with uncaught exception of type NSException
CoreSimulator 783.5 - Device: iPhone 13 () - Runtime: iOS 15.2 (19C51) - DeviceType: iPhone 13
I had the same issue. It worked on the web but never showed up in Xcode.