I am encountering multiple problems deploying an app using Xcode.
First, I could not install Xcode from the App Store. I tried multiple times, rebooting etc. Finally I found a link to download an xip file from the developer site and unzip it. That worked. It took 2 hours.
Now I'm trying to build my app. I get a message saying IOS 18.1 not installed. I try clicking on it an select Manage Run Destinations. It brings me to the Devices popup screen but I am unable to select anything. I tried setting up a Simulator as well. Still unable to select a desitiation.
So then I tried updating my IPAd to IOS 18.1 thinking that might help. Big mistake. First I got a message saying some library were incompatible. Now I have a message saying Unknown Error. Disconnect and reconnect cables which I have done multiple times. This of course includes multiple times of clicking trust this device, then entering device password, then entering the auth code. They don't make it easy.
I tried clicking the Get for IOS 18.1. I really don't want to update my machine to this. I'm actually using a friend's MAC. When I did this it tells me it requires 8gb and I don't have enough disk space. But I do have 20gb available.
So about 4 hours of trying and nothing works. Two hours to install Xcode, can't select a different destination, can't connect my IPAd anymore, can't download the update. Not even sure why the device or destination is necessary. It's not necessary to build the same app for Android.
I had similar issues with XCode in my initial attempts just to get the app signed until I figured out that I needed to have a device attached for the provisioning to work. That took days including trying to find a UDID from ITunes(???) and other wild goose chases. That makes no sense whatsoever. Now I can't even do that.
So I guess my question is/are: Do I have a new buggy version of XCode and if so, how do I get a previous one? How do I select a different destination? How do I get past the IOS 18.1 requirement? How do I download IOS 18.1 if that's what I decide to do? How do I connect my IPad? Can I go back to previous OS on IPad if 18.1 doesn't work with XCode? How do I do certificate provisioning if I can't connect my IPad?
Other than that everything works great.