且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到模块"apple_sign_in"

更新时间:2023-12-03 15:12:40

这是因为我来删除 Podfile 并重新生成它.生成的iOS版本低于模块 apple_sign_in 作为最低支持的iOS版本所需的版本.

将最低支持的iOS版本更新为 apple_sign_in 插件所需的最低版本后,问题已解决.

apple_sign_in:^ 0.1.0.起,我们可以使用 platform:ios,'10 .0'

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

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'