I created this project as a test so far just to see if I could create a Swift Data source and then display the data back to a swift Table. I'm new to this and been atttempting to learn some coding since I retired as it has always interested me. As far as storage options I am not using iCloud Core Data for this app, just on device storage as best as I can understand. I noticed every time I try to add a data model I get this particular error. I have tried to do a clean build after the addition to the data model but I still encounter the error. Is there a way to clear my current data and recreate the database could you explain the steps to do that?
Post
Replies
Boosts
Views
Activity
Discovered my mistake on this one of not enabling under signings and capabilities App Data location.
Checking the box made this error go away and now everything working as expected.
I found this bit of code that done the trick:
CLGeocoder().reverseGeocodeLocation(myLocation, completionHandler: {(placemarks, error) -> Void in
print(myLocation)
guard error == nil else {
print("Reverse geocoder failed with error" + error!.localizedDescription)
return
}
guard placemarks!.count > 0 else {
print("Problem with the data received from geocoder")
return
}
let pm = placemarks![0].locality
print(pm!)
myCity = (pm!)
print(myCity)
})
I needed to make sure I was signed in with my iCloud account info on the simulator that fixed the issue.
Apparently during the compiling process the graphic is added to the "About this app" display...
So I feel dumb... :)
This didn't work for me.... ???
not sure why...
var body: some View {
NavigationView {
ZStack {
Image("DogTreat")
.resizable()
.ignoresSafeArea(.all)
.opacity(0.99)
I'm wondering if this is a limitation to the new M1 machines?
It was my newest M1 Mac book Air that shows Watch OS 7.0 as the oldest simulator to download ???
My 2017 iMac Pro shows 6.0 as the oldest Watch OS simulator??
This seems strange to me both Macs have Xcode 13.3 build 13E113???
Has anyone else seen this?
That doesn't seem to be the case for my version of Xcode 13.2.1 it lists watchOS 7.0 as the oldest simulator to download.
6.3 is the last version supported by the Series 2 Apple Watch...
I have a similar issue with a app that works fine on simulators and on Mac OS but crashes on my iPhone 11 Pro Max.
Produces a very similar crash file...
Are you using Core Data in your project?