问题描述
我正在开发Flutter应用,现在通过Apple实施登录。经过大量的工作,我使它可以在Android上运行,但是在iOS上进行测试时,这些应用会引发错误:
SignInWithAppleAuthorizationError(AuthorizationErrorCode.unkNown,The operation Couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1000.))
#0 SignInWithApple.getAppleIDCredential (package:sign_in_with_apple/src/sign_in_with_apple.dart:137:7)
#1 AuthorizationBloc.signInApple (package:itini/features/authorization/authorization_bloc.dart:265:48)
#2 _LoginWidgetState._loginApple (package:itini/features/authorization/login_widget.dart:390:19)
#3 _InkResponseState._handleTap (package:Flutter/src/material/ink_well.dart:992:19)
#4 _InkResponseState.build.<anonymous closure> (package:Flutter/src/material/ink_well.dart:1098:38)
#5 GestureRecognizer.invokeCallback (package:Flutter/src/gestures/recognizer.dart:184:24)
#6 TapGestureRecognizer.handleTapUp (package:Flutter/src/gestures/tap.dart:524:11)
#7 BaseTapGestureRecognizer._checkUp (package:Flutter/src/gestures/tap.dart:284:5)
#8 BaseTapGestureRecognizer.handlePrimaryPointer (package:Flutter/src/gestures/tap.dart:219:7)
#9 PrimaryPointerGestureRecognizer.handleEvent (pa<…>
在使用XCode上的功能之后,我通过启用“用Apple登录”功能使其在调试模式下工作,但是,我有一个Bitrise管道,该管道使用手动上传的特定Provisioning Profile,我希望保持这种状态。仔细检查苹果的页面,该配置文件似乎是正确的,为了确定,我已经重新上传了该配置文件。
因此,基本上,我没有在XCode上启用登录功能(仅用于测试,不适用于最终版本),但是在发行版上使用的配置文件具有此功能。因此,据我所知,这里的一切都正确(我错了吗?)。
我没有iOS开发经验,但据我了解,此Provisioning Profile问题应该不会发生,因为它已经具有使用Apple登录功能。我在这里想念什么?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)