Search code examples
iosflutterfirebase-authenticationapple-sign-in

Module 'apple_sign_in' not found


I am using flutter with https://pub.dev/packages/apple_sign_in package for logging in with apple.

I was able to publish the earlier version of app with apple_sign_in but now I am not being able to archive the Xcode Project for publishing.

Note: I can still build the app and app runs but It does build when archiving.and throws the error saying

Module 'apple_sign_in' not found enter image description here


Solution

  • It was because I came to delete the Podfile and regenerate it. That had generated a lower version of iOS than that needed by apple_sign_in module as minimum supported iOS version.

    Once I updated the minimum supported iOS version to the minimum required by apple_sign_in plugin, the problem was resolved.

    As of apple_sign_in: ^0.1.0. we can use platform :ios, '10.0'