Search code examples
ioscocoapodsazure-ad-msal

MSAL build error in Xcode 10.1 (iOS SDK 12.1)


Using pod with "platform :ios, '12.1'"
Deployment Target in Xcode set to 12.1

But I still get build errors where MSAL needs specific SDK 13 classes like: Unknown type name 'ASAuthorizationController'


Solution

  • Even though your app supports older versions of iOS, the latest MSAL version requires the iOS 13 SDK since it refers to iOS 13 symbols such as ASAuthorizationController

    You either need to update to Xcode 11 or explicitly use an older version of the MSAL pod.