Repository navigation
objc-class-ref in GeneratedPluginRegistrant.o ld: symbol(s) not found for architecture x86_64 #51992
Copy link
Copy link
Closed
Labels
a: buildBuilding flutter applications with the toolBuilding flutter applications with the toolplatform-iosiOS applications specificallyiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project management"xcodebuild" on iOS and general Xcode project managementtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
Description
Steps to Reproduce
- Run
flutter build ios. - Open iOS in XCode
- Build Project
Expected results:
Application Builds
Actual results:
XCode Build Failed:
Logs
Showing Recent Issues
Build target Runner of project Runner with configuration Debug
Ld /Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/Tempo.app/Tempo normal x86_64 (in target 'Runner' from project 'Runner')
cd /Users/admin/StudioProjects/tempo-guided-breathing/ios
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios8.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -L/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator -L/Users/admin/StudioProjects/tempo-guided-breathing/ios/Flutter -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/AppAuth -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/BoringSSL-GRPC -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseAuth -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseCore -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseCoreDiagnostics -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseFirestore -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseInstallations -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseInstanceID -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseMessaging -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseStorage -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/GTMAppAuth -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/GTMSessionFetcher -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/GoogleDataTransport -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/GoogleDataTransportCCTSupport -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/GoogleUtilities -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/PromisesObjC -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/Protobuf -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/PureLayout -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/abseil -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/audioplayers -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/cloud_firestore -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/file_picker -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_admob -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_analytics -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_auth -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_core -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_messaging -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_storage -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/flutter_native_admob -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/gRPC-C++ -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/gRPC-Core -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/google_sign_in -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/leveldb-library -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/nanopb -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/path_provider -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/share -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/url_launcher -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/vibration -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/wakelock -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Pods/../Flutter -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Pods/GoogleAppMeasurement/Frameworks -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Pods/GoogleSignIn/Frameworks -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/AppAuth -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/BoringSSL-GRPC -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseAuth -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseCore -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseCoreDiagnostics -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseFirestore -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseInstallations -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseInstanceID -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseMessaging -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/FirebaseStorage -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/GTMAppAuth -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/GTMSessionFetcher -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/GoogleDataTransport -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/GoogleDataTransportCCTSupport -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/GoogleUtilities -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/PromisesObjC -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/Protobuf -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/PureLayout -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/abseil -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/audioplayers -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/cloud_firestore -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/file_picker -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_admob -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_analytics -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_auth -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_core -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_messaging -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/firebase_storage -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/flutter_native_admob -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/gRPC-C++ -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/gRPC-Core -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/google_sign_in -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/leveldb-library -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/nanopb -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/path_provider -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/share -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/url_launcher -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/vibration -F/Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/wakelock -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Pods/../Flutter -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Pods/GoogleAppMeasurement/Frameworks -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Pods/GoogleSignIn/Frameworks -F/Users/admin/StudioProjects/tempo-guided-breathing/ios/Flutter -filelist /Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Tempo.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Tempo_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Tempo.swiftmodule -ObjC -lc++ -lsqlite3 -lz -framework AVFoundation -framework AppAuth -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreMedia -framework CoreTelephony -framework CoreText -framework CoreVideo -framework FBLPromises -framework FIRAnalyticsConnector -framework FirebaseAnalytics -framework FirebaseAuth -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseFirestore -framework FirebaseInstallations -framework FirebaseInstanceID -framework FirebaseMessaging -framework FirebaseStorage -framework Flutter -framework Foundation -framework GTMAppAuth -framework GTMSessionFetcher -framework GoogleAppMeasurement -framework GoogleDataTransport -framework GoogleDataTransportCCTSupport -framework GoogleMobileAds -framework GoogleSignIn -framework GoogleUtilities -framework LocalAuthentication -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework PureLayout -framework QuartzCore -framework SafariServices -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework absl -framework audioplayers -framework cloud_firestore -framework file_picker -framework firebase_admob -framework firebase_analytics -framework firebase_auth -framework firebase_core -framework firebase_messaging -framework firebase_storage -framework flutter_native_admob -framework google_sign_in -framework grpc -framework grpcpp -framework leveldb -framework nanopb -framework openssl_grpc -framework path_provider -framework protobuf -framework share -framework url_launcher -framework vibration -framework wakelock -weak_framework AdSupport -weak_framework AuthenticationServices -weak_framework JavaScriptCore -weak_framework SafariServices -weak_framework UserNotifications -weak_framework WebKit -framework Flutter -ObjC -lc++ -lsqlite3 -lz -framework AVFoundation -framework AppAuth -framework AudioToolbox -framework CFNetwork -framework CoreGraphics -framework CoreMedia -framework CoreTelephony -framework CoreText -framework CoreVideo -framework FBLPromises -framework FIRAnalyticsConnector -framework FirebaseAnalytics -framework FirebaseAuth -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseFirestore -framework FirebaseInstallations -framework FirebaseInstanceID -framework FirebaseMessaging -framework FirebaseStorage -framework Flutter -framework Foundation -framework GTMAppAuth -framework GTMSessionFetcher -framework GoogleAppMeasurement -framework GoogleDataTransport -framework GoogleDataTransportCCTSupport -framework GoogleMobileAds -framework GoogleSignIn -framework GoogleUtilities -framework LocalAuthentication -framework MediaPlayer -framework MessageUI -framework MobileCoreServices -framework PureLayout -framework QuartzCore -framework SafariServices -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework absl -framework audioplayers -framework cloud_firestore -framework file_picker -framework firebase_admob -framework firebase_analytics -framework firebase_auth -framework firebase_core -framework firebase_messaging -framework firebase_storage -framework flutter_native_admob -framework google_sign_in -framework grpc -framework grpcpp -framework leveldb -framework nanopb -framework openssl_grpc -framework path_provider -framework protobuf -framework share -framework url_launcher -framework vibration -framework wakelock -weak_framework AdSupport -weak_framework AuthenticationServices -weak_framework JavaScriptCore -weak_framework SafariServices -weak_framework UserNotifications -weak_framework WebKit -framework Flutter -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Tempo.app-Simulated.xcent -framework Pods_Runner -Xlinker -dependency_info -Xlinker /Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Objects-normal/x86_64/Tempo_dependency_info.dat -o /Users/admin/Library/Developer/Xcode/DerivedData/Runner-fdiewvaqiesrjoggcmbthlijahou/Build/Products/Debug-iphonesimulator/Tempo.app/Tempo
C, referenced from:
objc-class-ref in GeneratedPluginRegistrant.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
admin@DM108 ios % flutter analyze
Analyzing ios...
No issues found! (ran in 4.0s)
admin@DM108 ios %
[✓] Flutter (Channel master, v1.15.4-pre.267, on Mac OS X 10.15.3 19D76, locale en-US)
• Flutter version 1.15.4-pre.267 at /Users/admin/Desktop/flutter
• Framework revision 0a84024b86 (24 hours ago), 2020-03-03 23:19:01 -0500
• Engine revision 90bd6f8148
• Dart version 2.8.0 (build 2.8.0-dev.11.0 5701c4fd3b)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/admin/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
✗ Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.3.1, Build version 11C504
• CocoaPods version 1.9.0
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
[✓] Connected device (1 available)
• iPhone 11 Pro Max • ECA13ABE-B1F0-47D3-BDFF-8A3BE2462172 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator)
! Doctor found issues in 1 category.
admin@DM108 tempo-guided-breathing %
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
a: buildBuilding flutter applications with the toolBuilding flutter applications with the toolplatform-iosiOS applications specificallyiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project management"xcodebuild" on iOS and general Xcode project managementtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter respondsThe Flutter team cannot make further progress on this issue until the original reporter responds
Activity
gaaclarke commentedon Mar 5, 2020
When you build the project you are building from
Runner.xcworkspacenotRunner.xcodeprojright?This may be a bug in a plugin. What are your dependencies? Could you show us the contents of your
GeneratedPluginRegistrant.m?gaaclarke commentedon Mar 5, 2020
Also, I couldn't reproduce it with
v1.15.10-pre.5just adding the sqflite package with the counter app.calvinmuller commentedon Mar 5, 2020
I'm also seeing this when switching from
stabletomastergaaclarke commentedon Mar 5, 2020
@calvinmuller You are probably building from the xcodeproj not the xcworkspace as I noted above.
calvinmuller commentedon Mar 5, 2020
I'm running in debug mode from IntelliJ
gaaclarke commentedon Mar 5, 2020
@calvinmuller IntelliJ can't compile the app, Xcode does it. If it is presenting a front end to xcode projects you need to look into why IntelliJ is building from the .xcodeproj, not the .xcworkspace.
jmagman commentedon Mar 6, 2020
You said "Open iOS in XCode" in your description, not IntelliJ. When you open in Xcode, can you confirm you have opened
ios/Runner.xcworkspaceand NOTios/Runner.xcodeproj? Or are you saying you see the errors from another IDE?calvinmuller commentedon Mar 6, 2020
This is how I reproduce by just switching to master
Calvins-MacBook-Pro:~ calvinmuller$
flutter channel masterSwitching to flutter channel 'master'...
git: Switched to branch 'master'
Calvins-MacBook-Pro:donatenation calvinmuller$
flutter runcalvinmuller commentedon Mar 6, 2020
Switching to
betaApp launches no problems.
praharshbhatt commentedon Mar 6, 2020
Yes, I'm running from Runner.xcworkspace.
I'm getting this error on master and stable and beta.
2 remaining items
jmagman commentedon Mar 10, 2020
Do you have the legacy build system on?
open
ios/Runner.xcworkspaceryanhz commentedon Mar 10, 2020
I think this issue is weird. Credit from #41900
It looks like you need to:
rm -rf ios/Podfile ios/Podfile.lock ios/Pods ios/Runner.xcworkspaceand then run
flutter runjmagman commentedon Mar 10, 2020
That could work because the legacy build system was on. I need to know if ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings contains:
or in the UI you can see it in
File > Workspace Settings > Build System.jmagman commentedon Mar 10, 2020
Fixed manually in plugins and Firebase
flutter-team-archive/plugins#2592
firebase/flutterfire#2152
ryanhz commentedon Mar 10, 2020
jmagman commentedon Mar 10, 2020
Thank you @ryanhz! That's probably the issue then.
Does the error go away if you delete
ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings?ryanhz commentedon Mar 10, 2020
Yes, the error gone as soon as run
rm -f ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettingsjmagman commentedon Mar 10, 2020
@praharshbhatt Can you also confirm?
DK15 commentedon Mar 10, 2020
@jmagman FYI I tried to follow your suggestion to delete
ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings, but am still getting same error as mentioned in my original ticket. Appreciate any help in resolving this issue.pamir72 commentedon Mar 10, 2020
Confirm.
rm -f ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings fixed the issue for me too.
DK15 commentedon Mar 10, 2020
My issue was resolved after upgrading flutter to latest stable channel which further led to upgrading few plugins as well.
pod updatethen did the trick. I am finally able to launch my app and work on it after battling since Monday morning.lock commentedon Apr 5, 2020
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.