Module 'apple_sign_in' not found
Solution 1
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'
Solution 2
Make sure you're opening xcode from the Runner.xcworkspace
and not the Runner.xcodeproj
. cocoapods requires you to archive/build from this entry point. In the flutter docs they mention this but its easy to forget/overlook as the files are so similarly named and used.
erluxman
Open for remote jobs You can also hire me through upwork https://wwwerluxman.com https://www.upwork.com/freelancers/~01ca1c56b1ce85b4dd
Updated on December 18, 2022Comments
-
erluxman over 1 year
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
-
Raja C over 3 yearsI have set ios target version to 10.0, but it still doesn't work
-
Ned over 3 years@RajaC same here, posted the fix I found below.
-
krumpli over 3 yearswhen I try to open the workspace it defaults to xcodeproj
-
Ned over 3 years@krumpli In XCode
File
>Close Workspace
> SelectRunner.xcworkspace
from your flutter project's /ios folder -
Rio Weber over 3 yearsThis was the answer for me, thanks. Any idea why this is this case?
-
Ned over 3 yearsAs far as I know, everything is designed around the specific Runner.xcworkspace workspace and file paths within. Runner.xcworkspace has different file paths which results in errors.