我收到此错误:
未找到成员:“FirebaseAppPlatform.verifyExtends”。FirebaseAppPlatform.verifyExtends(_delegate);
flutter clean
flutter pub get
pod install
Run Code Online (Sandbox Code Playgroud) 我的问题是由于某种原因我无法在 iOS 模拟器上开始调试。我已经尝试了几种解决方案,我猜它以他们的方式有所帮助,但问题并没有消失,我现在很绝望。我不知道这个网站究竟是如何运作的,或者是否有任何现有的解决方案,但问题是我找不到,我需要你的帮助。
错误在这里:
Launching lib/main.dart on iPhone 11 Pro Max in debug mode...
Running Xcode build...
Xcode build done. 45,6s
Failed to build iOS app
Error output from Xcode build:
?
** BUILD FAILED **
Xcode's output:
?
/Users/omerugurerden/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.12.11/ios/Classes/CloudFirestorePlugin.m:155:24: error: no visible @interface for 'FIRQuery' declares the selector 'queryWhereField:arrayContainsAny:'
query = [query queryWhereField:fieldName arrayContainsAny:value];
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/omerugurerden/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.12.11/ios/Classes/CloudFirestorePlugin.m:157:24: error: no visible @interface for 'FIRQuery' declares the selector 'queryWhereFieldPath:arrayContainsAny:'
query = [query queryWhereFieldPath:fieldPath arrayContainsAny:value];
~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/omerugurerden/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/cloud_firestore-0.12.11/ios/Classes/CloudFirestorePlugin.m:163:24: error: no visible @interface …Run Code Online (Sandbox Code Playgroud) 我无法在 IOS 设备上运行我的 flutter 项目。
这是我在 flutter run 之后得到的。我不明白为什么。请查看下面的错误并告诉我如何解决此问题。
Launching lib/main.dart on iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team
in Xcode project: L24VC6F98D
Running Xcode build...
Xcode build done. 8,2s
Failed to build iOS app
Error output from Xcode build:
?
2020-09-18 11:56:14.934 xcodebuild[29414:155421] warning: The file reference
for "Objective-C/TOCropViewController/Models/TOActivityCroppedImageProvider.h"
is a member of multiple groups ("TOCropViewController" and
"TOCropViewController"); this indicates a malformed project. Only the
membership in one of the groups will …Run Code Online (Sandbox Code Playgroud) 我在我的 flutter 应用程序中使用 firebase_app_check 。我在 Firebase 中使用 AppCheck。事实证明设置起来并不容易,文档中有很多“白点”。所以按顺序:
为什么我的应用程序在发布模式下无法与 AppChecker 一起使用?为什么“诚信游戏”不起作用?我必须在平台级别添加代码吗?根据这个文件?像这样:
val firebaseAppCheck = FirebaseAppCheck.getInstance()
firebaseAppCheck.installAppCheckProviderFactory(
SafetyNetAppCheckProviderFactory.getInstance()
)
Run Code Online (Sandbox Code Playgroud)
或者一个插件就足够了?
我该如何修复它?
android firebase flutter google-cloud-firestore firebase-app-check
我在这个问题上浪费了将近一周的时间却毫无结果。
\n这是错误:
\nFailed to build iOS app\nError output from Xcode build:\n\xe2\x86\xb3\n ** BUILD FAILED **\n\n\nXcode\'s output:\n\xe2\x86\xb3\n Writing result bundle at path:\n /var/folders/fq/7j2x58m57c9bk10jg7q47krr0000gn/T/flutter_tools.vyKPSp/flutter_ios_build_temp_di\n rGZCufm/temporary_xcresult_bundle\n\n\n Failed to package /Volumes/ME/Projects/Flutter-Proj/app.\n Command PhaseScriptExecution failed with a nonzero exit code\n note: Building targets in dependency order\n warning: Run script build phase \'Create Symlinks to Header Folders\' will be run during every\n build because it does not specify any outputs. To address this warning, either add output\n dependencies to the script phase, or configure …Run Code Online (Sandbox Code Playgroud) 我正在开发一个颤振应用程序。我最近转移到 macOS,从那时起就无法运行该应用程序。其他应用程序运行良好,因此我认为错误出在该应用程序的代码中。也许由于同样的原因,我无法进行构建。
\n这是输出flutter doctor:
[\xe2\x9c\x93] Flutter (Channel stable, 1.20.1, on Mac OS X 10.15.6 19G73, locale en-US)\n \xe2\x80\xa2 Flutter version 1.20.1 at /Users/bhawna/dev/flutter\n \xe2\x80\xa2 Framework revision 2ae34518b8 (4 days ago), 2020-08-05 19:53:19 -0700\n \xe2\x80\xa2 Engine revision c8e3b94853\n \xe2\x80\xa2 Dart version 2.9.0\n\n[\xe2\x9c\x97] Android toolchain - develop for Android devices\n \xe2\x9c\x97 Unable to locate Android SDK.\n Install Android Studio from: https://developer.android.com/studio/index.html\n On first launch it will assist you in installing the Android SDK components.\n (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for …Run Code Online (Sandbox Code Playgroud)