Communication with Apple failed.

I am trying to learn Swift in Xcode. I am using a SampleTrips project in order to use an SQLite database. Trouble is I don't know anything, I don't even now if I'm in the right forum. I muddled through a configuration but am stuck at this error:

I don't know what any of this means or why it's necessary to learn Swift. Can anyone explain?

I am trying to run a SampleTrips project but getting this configuration error:

Can anyone tell me what this means and why I need it to run a sample project?

Communication with Apple failed.
 
 
Q