How to connect Xcode iOS app to Azure SQL Database / Azure App Service

ivms 1 Reputation point
2022-06-28T12:52:26.327+00:00

Hey everyone, I am trying to develop an iOS app on Xcode in Swift where the database of choice is an Azure SQL database. This is my first time using Azure.

From my understanding, the Azure SQL database needs to connect to an Azure App Service and then an Azure SDK/client library for iOS is needed in Xcode to connect the app itself to Azure App Service. Is this correct? And is this the right SDK: https://github.com/Azure/azure-sdk-for-ios/tree/main/sdk/core/AzureCore ?

I basically want to develop the retrieve/edit data code in Xcode, then these requests are received by the database and it returns the results back to the app (in JSON I think), which is then parsed for display.

I am trying to follow this MS Docs but its quite old and some links don't work (https://learn.microsoft.com/en-us/previous-versions/azure/app-service-mobile/app-service-mobile-ios-get-started), is there an updated version of this page? I have found several pages on Stack Overflow and other forums as well but they are all quite old and links are outdated (e.g. Azure Quickstarts are in an older Swift version).

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,882 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Bjoern Peters 8,781 Reputation points
    2022-06-28T13:00:40.517+00:00

    Maybe this is what you are looking for?!

    https://learn.microsoft.com/en-us/appcenter/quickstarts/ios/overview
    https://learn.microsoft.com/en-us/appcenter/build/ios/

    or at least you can find a / your way from there... ;-)

    0 comments No comments

  2. ivms 1 Reputation point
    2022-08-23T16:44:27.217+00:00

    How do I delete or have this question removed from this site entirely? This is because it is no longer relevant - thanks!