Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1eb0e27a0) and ?? (0x1296d02b8). One of the two will be used. Which one is undefined. #72492

Closed
yvngaayush opened this issue Dec 17, 2020 · 39 comments
Labels
c: crash Stack traces logged to the console customer: crowd Affects or could affect many people, though not necessarily a specific customer. platform-host-arm Building on an ARM-based platform platform-ios iOS applications specifically platform-mac Building on or for macOS specifically tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@yvngaayush
Copy link

yvngaayush commented Dec 17, 2020

Output when I run flutter run on my new M1 Mac:

Automatically signing iOS for device deployment using specified development team in Xcode project: T4BX68JSYA
Running pod install...                                              1.4s
Running Xcode build...                                                  
Xcode build done.                                            9.3s
Failed to build iOS app

Error output from Xcode build:
↳
    objc[12879]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1eb0e27a0) and ?? (0x1296d02b8). One of the two will be used. Which one is undefined.
    objc[12879]: Class AMSupportURLSession is implemented in both ?? (0x1eb0e27f0) and ?? (0x1296d0308). One of the two will be used. Which one is undefined.
    ** BUILD FAILED **


Xcode's output:

    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Could not build the precompiled application for the device.

I have tried deleting cache and pod files. Been trying to fix this for a couple of days.... :(

@TahaTesser
Copy link
Member

Hi @yvngaayush
Can you please provide your flutter doctor -v and flutter run --verbose logs in .txt (drop it in the attachment) below, and a minimal complete reproducible code sample?
Thank you

Related #72142

@TahaTesser TahaTesser added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Dec 17, 2020
@yvngaayush
Copy link
Author

Downloading android-x64-profile/darwin-x64 tools...                 0.7s
Downloading android-x64-release/darwin-x64 tools...                 0.6s
[✓] Flutter 

> (Channel stable, 1.22.5, on macOS 11.0.1 20B29 darwin-arm, locale en-US)

    • Flutter version 1.22.5 at /Users/aayushshah/Development/flutter
    • Framework revision 7891006299 (7 days ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/aayushshah/Library/Android/sdk
    • Platform android-30, build-tools 30.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_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin installed
    • Dart plugin version 201.9245
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (1 available)
    • Aayush’s iPhone (mobile) • 00008030-001575A234E8802E • ios • iOS 14.0

• No issues found!

output.docx

The flutter run --verbose log is attached. This is a project I had worked on my old computer and it runs perfectly fine. Just not running on my M1 mac, with that error shown earlier.

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 17, 2020
@amoslai5128
Copy link

amoslai5128 commented Dec 17, 2020

Same issue here! Here are the logs similar to the post and hope that would be useful.

[✓] Flutter (Channel beta, 1.25.0-8.1.pre, on macOS 11.0.1 20B29 darwin-arm, locale en-HK)
    • Flutter version 1.25.0-8.1.pre at /Users/amoslai/Development/flutter
    • Framework revision 8f89f6505b (2 days ago), 2020-12-15 15:07:52 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/amoslai/Library/Android/sdk
    • Platform android-30, build-tools 30.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_242-release-1644-b3-6915495)
    ✗ Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (1 available)
    • iPhone 11 (mobile) • 48A6A042-F11A-418D-A11A-D0A2A9F06861 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)

! Doctor found issues in 1 category.

When I flutter run on the iOS simulator with Rosetta:

XCODE_PRODUCT_BUILD_VERSION = 12B45b
                        XCODE_VERSION_ACTUAL = 1220
                        XCODE_VERSION_MAJOR = 1200
                        XCODE_VERSION_MINOR = 1220
                        XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices
                        YACC = yacc
                        arch = arm64
                        variant = normal


                    objc[40413]: Class AMSupportURLConnectionDelegate is implemented in both ??
                    (0x1fde467a0) and ?? (0x1163782b8). One of the two will be used. Which one is
                    undefined.
                    objc[40413]: Class AMSupportURLSession is implemented in both ?? (0x1fde467f0) and ??
                    (0x116378308). One of the two will be used. Which one is undefined.
[  +95 ms] Building Runner.app for 48A6A042-F11A-418D-A11A-D0A2A9F06861.
[  +20 ms] executing: xattr -r -d com.apple.FinderInfo /Users/amoslai/Documents/GitHub/watch_app/ios
[   +3 ms] executing: /usr/bin/arch -arm64e xcrun simctl spawn 48A6A042-F11A-418D-A11A-D0A2A9F06861 log
stream --style json --predicate eventType = logEvent AND processImagePath ENDSWITH "Runner" AND
(senderImagePath ENDSWITH "/Flutter" OR senderImagePath ENDSWITH "/libswiftCore.dylib" OR processImageUUID
== senderImageUUID) AND NOT(eventMessage CONTAINS ": could not find icon for representation -> com.apple.")
AND NOT(eventMessage BEGINSWITH "assertion failed: ") AND NOT(eventMessage CONTAINS " libxpc.dylib ")

Skip many warnings on the lib target version.... then at the end, these errors display red

[ +190 ms] Could not build the application for the simulator.
[   +7 ms] Error launching application on iPhone 11.
[ +441 ms] "flutter run" took 15,009ms.
[   +9 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:623:7)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:1134:12)
           <asynchronous suspension>
           #3      FlutterCommand.run.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command.dart:986:27)
           <asynchronous suspension>
           #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #5      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #6      CommandRunner.runCommand (package:args/command_runner.dart:197:13)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand.<anonymous closure>
           (package:flutter_tools/src/runner/flutter_command_runner.dart:274:9)
           <asynchronous suspension>
           #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #9      AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #10     FlutterCommandRunner.runCommand
           (package:flutter_tools/src/runner/flutter_command_runner.dart:230:5)
           <asynchronous suspension>
           #11     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:63:9)
           <asynchronous suspension>
           #12     run.<anonymous closure> (package:flutter_tools/runner.dart:61:12)
           <asynchronous suspension>
           #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #14     AppContext.run (package:flutter_tools/src/base/context.dart:149:12)
           <asynchronous suspension>
           #15     runInContext (package:flutter_tools/src/context_runner.dart:70:10)
           <asynchronous suspension>
           #16     main (package:flutter_tools/executable.dart:88:3)
           <asynchronous suspension>
           
           
[  +32 ms] ensureAnalyticsSent: 30ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +3 ms] Shutdown hooks complete
[        ] exiting with code 1

@yvngaayush
Copy link
Author

I think it is a bug with the M1 mac, not sure what to do... please let me know if you figure something out. I've tried a bunch of stuff.

@Nolat
Copy link

Nolat commented Dec 18, 2020

I encountered the same error on a M1 Mac Mini and with the stable channel.
But if I change to the master channel, the error is gone.

My issue is that I can't use the master branch on my project, so I'm stuck with this.

@TahaTesser
Copy link
Member

TahaTesser commented Dec 18, 2020

@Nolat Is it the same issue you faced?

@yvngaayush @amoslai5128
Can you please upgrade to the latest master and try again
flutter channel master
flutter upgrade --force
flutter doctor -v

Thank you

@TahaTesser TahaTesser added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 18, 2020
@Nolat
Copy link

Nolat commented Dec 18, 2020

@TahaTesser Yes I've got that error when trying to run the app on an iOS Simulator.

Error output from Xcode build:
↳
    objc[80877]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x20041e518) and ?? (0x1168d82b8). One of the two will be used. Which one is undefined.
    objc[80877]: Class AMSupportURLSession is implemented in both ?? (0x20041e568) and ?? (0x1168d8308). One of the two will be used. Which one is undefined.
    ** BUILD FAILED **```

@markusaksli-nc
Copy link
Member

I'm not seeing this on either stable or master with just a fresh flutter create project. Was able to build and launch on simulator.

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.0.1 20B29 darwin-arm, locale en-GB)
    • Flutter version 1.22.5 at /Users/nevercode/development/flutter_stable
    • Framework revision 7891006299 (8 days ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Users/nevercode/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.6953283/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (2 available)
    • Nevercode’s iPhone (mobile) • b668e524315069f3db3661ac11ff1f66afafebdb • ios • iOS 14.2
    • iPhone 12 Pro Max (mobile)  • 09D9E93F-A98D-4735-B6E6-6E57F9CD01D8     • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

! Doctor found issues in 1 category.

@amoslai5128
Copy link

amoslai5128 commented Dec 18, 2020

@Nolat Is it the same issue you faced?

@yvngaayush @amoslai5128
Can you please upgrade to the latest master and try again
flutter channel master
flutter upgrade --force
flutter doctor -v

Thank you

flutter doctor -v:

[✓] Flutter (Channel master, 1.26.0-2.0.pre.85, on macOS 11.1 20C69 darwin-arm, locale en-HK)
    • Flutter version 1.26.0-2.0.pre.85 at /Users/amoslai/Development/flutter
    • Framework revision 3d06d66b93 (52 minutes ago), 2020-12-18 11:54:13 -0500
    • Engine revision 7983c6fda0
    • Dart version 2.12.0 (build 2.12.0-167.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/amoslai/Library/Android/sdk
    • Platform android-30, build-tools 30.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_242-release-1644-b3-6915495)
    ✗ Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (2 available)
    • iPhone 12 Pro Max (mobile) • 0A2ECFD3-1D02-4F47-8A75-A7333203D079 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome
      87.0.4280.88

Still has some errors

Running pod install...                                             12.9s
Running Xcode build...                                                  
Xcode build done.                                           11.4s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[23188]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1ebfe38f0) and ??
    (0x114d342b8). One of the two will be used. Which one is undefined.
    objc[23188]: Class AMSupportURLSession is implemented in both ?? (0x1ebfe3940) and ?? (0x114d34308).
    One of the two will be used. Which one is undefined.
    ** BUILD FAILED **


Xcode's output:
↳
    In file included from
    /Users/amoslai/Development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+4/ios/C
    lasses/FLTSharedPreferencesPlugin.m:5:
    /Users/amoslai/Development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+4/ios/C
    lasses/FLTSharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

@yvngaayush
Copy link
Author

Same output as @amoslai5128. And @markusaksli-nc, yes no issue with a new project, but after I try to transfer some files even from an existing project that compiled fine in my old computer onto the new project, it still gives this error after a certain point. Not sure...

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 18, 2020
@amoslai5128
Copy link

amoslai5128 commented Dec 18, 2020

Same output as @amoslai5128. And @markusaksli-nc, yes no issue with a new project, but after I try to transfer some files even from an existing project that compiled fine in my old computer onto the new project, it still gives this error after a certain point. Not sure...

Yes, only error builds with the M1 currently.

Also, the same error output after I updated to Big Sur 11.1 and XCode 12.3.

@yvngaayush
Copy link
Author

@amoslai5128 have you found a solution? Nothing is working

@jpolin
Copy link

jpolin commented Dec 19, 2020

+1 to this issue, just started happening (also M1)

@amoslai5128
Copy link

@amoslai5128 have you found a solution? Nothing is working

Not yet, not working for me too.

@jpolin
Copy link

jpolin commented Dec 19, 2020

I'm back up and running. unfortunately don't have a perfect list of steps of what I did (nor what worked vs had no effect).

I opened the project in xcode and tried running there, eventually having to solve a number of errors.

This might have been the crucial step, if/when you hit this error:
facebook/react-native#29984 (comment)

Good luck!

@yvngaayush
Copy link
Author

yvngaayush commented Dec 19, 2020 via email

@TahaTesser TahaTesser added customer: crowd Affects or could affect many people, though not necessarily a specific customer. passed first triage platform-host-arm Building on an ARM-based platform platform-ios iOS applications specifically platform-mac Building on or for macOS specifically c: crash Stack traces logged to the console tool Affects the "flutter" command-line tool. See also t: labels. and removed in triage Presently being triaged by the triage team labels Dec 21, 2020
@markusaksli-nc
Copy link
Member

Worth mentioning that I saw this just once when running flutter upgrade (but it didn't hinder the operation). My previous statement still stands. Not able to find a consistent repro case for this.

@joniaiuser
Copy link

Same issue. Used to work before the OS upgrade to 11.1 (from 11.0). Now doesn't work on any branches.

@joniaiuser
Copy link

OK I resolved the build. This error is misleading because it is not actually the reason why the build is failing. There were other non-related errors such as missing firebase info plist files that are causing my build to fail due to some configuration issues. Once I fixed those, this issue automatically resolved.

@joniaiuser
Copy link

@Nolat Is it the same issue you faced?
@yvngaayush @amoslai5128
Can you please upgrade to the latest master and try again
flutter channel master
flutter upgrade --force
flutter doctor -v
Thank you

flutter doctor -v:

[✓] Flutter (Channel master, 1.26.0-2.0.pre.85, on macOS 11.1 20C69 darwin-arm, locale en-HK)
    • Flutter version 1.26.0-2.0.pre.85 at /Users/amoslai/Development/flutter
    • Framework revision 3d06d66b93 (52 minutes ago), 2020-12-18 11:54:13 -0500
    • Engine revision 7983c6fda0
    • Dart version 2.12.0 (build 2.12.0-167.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/amoslai/Library/Android/sdk
    • Platform android-30, build-tools 30.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_242-release-1644-b3-6915495)
    ✗ Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (2 available)
    • iPhone 12 Pro Max (mobile) • 0A2ECFD3-1D02-4F47-8A75-A7333203D079 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome
      87.0.4280.88

Still has some errors

Running pod install...                                             12.9s
Running Xcode build...                                                  
Xcode build done.                                           11.4s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[23188]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1ebfe38f0) and ??
    (0x114d342b8). One of the two will be used. Which one is undefined.
    objc[23188]: Class AMSupportURLSession is implemented in both ?? (0x1ebfe3940) and ?? (0x114d34308).
    One of the two will be used. Which one is undefined.
    ** BUILD FAILED **


Xcode's output:
↳
    In file included from
    /Users/amoslai/Development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+4/ios/C
    lasses/FLTSharedPreferencesPlugin.m:5:
    /Users/amoslai/Development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+4/ios/C
    lasses/FLTSharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

If you notice your build error logs, the real reason for the failure is here:

lasses/FLTSharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~

The solution is here: #70895 (comment)

@amoslai5128
Copy link

@Nolat Is it the same issue you faced?
@yvngaayush @amoslai5128
Can you please upgrade to the latest master and try again
flutter channel master
flutter upgrade --force
flutter doctor -v
Thank you

flutter doctor -v:

[✓] Flutter (Channel master, 1.26.0-2.0.pre.85, on macOS 11.1 20C69 darwin-arm, locale en-HK)
    • Flutter version 1.26.0-2.0.pre.85 at /Users/amoslai/Development/flutter
    • Framework revision 3d06d66b93 (52 minutes ago), 2020-12-18 11:54:13 -0500
    • Engine revision 7983c6fda0
    • Dart version 2.12.0 (build 2.12.0-167.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/amoslai/Library/Android/sdk
    • Platform android-30, build-tools 30.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_242-release-1644-b3-6915495)
    ✗ Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.17.0

[✓] Connected device (2 available)
    • iPhone 12 Pro Max (mobile) • 0A2ECFD3-1D02-4F47-8A75-A7333203D079 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome
      87.0.4280.88

Still has some errors

Running pod install...                                             12.9s
Running Xcode build...                                                  
Xcode build done.                                           11.4s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[23188]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1ebfe38f0) and ??
    (0x114d342b8). One of the two will be used. Which one is undefined.
    objc[23188]: Class AMSupportURLSession is implemented in both ?? (0x1ebfe3940) and ?? (0x114d34308).
    One of the two will be used. Which one is undefined.
    ** BUILD FAILED **


Xcode's output:
↳
    In file included from
    /Users/amoslai/Development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+4/ios/C
    lasses/FLTSharedPreferencesPlugin.m:5:
    /Users/amoslai/Development/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+4/ios/C
    lasses/FLTSharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

If you notice your build error logs, the real reason for the failure is here:

lasses/FLTSharedPreferencesPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
#import <Flutter/Flutter.h>
^~~~~~~~~~~~~~~~~~~

The solution is here: #70895 (comment)

thank you

@yvngaayush
Copy link
Author

yvngaayush commented Dec 27, 2020

I did the above solution, and the build is still failing.

`Xcode build done.                                           10.8s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[92414]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1f727a7a0) and ?? (0x116dc02b8). One of the two will be used. Which one is undefined.
    objc[92414]: Class AMSupportURLSession is implemented in both ?? (0x1f727a7f0) and ?? (0x116dc0308). One of the two will be used. Which one is undefined.
    ** BUILD FAILED **


Xcode's output:
↳
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description

Could not build the precompiled application for the device.`

Anyone know how to fix this yet?

@fauzipadlaw
Copy link

I'm facing the same issue

[✓] Flutter (Channel beta, 1.25.0-8.1.pre, on macOS 11.1 20C69 darwin-arm, locale en-ID)
    • Flutter version 1.25.0-8.1.pre at /Users/efzet/SDKs/flutter
    • Framework revision 8f89f6505b (11 days ago), 2020-12-15 15:07:52 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/efzet/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/efzet/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 52.1.5
    • Dart plugin version 203.6912

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • iPhone 12 Pro Max (mobile) • 592AD4C9-08F0-48FD-A779-A80989369657 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)

• No issues found!

@fauzipadlaw
Copy link

I resolved the issue, not sure which one did the work. I remember also running this flutter clean && rm ios/Podfile ios/Podfile.lock pubspec.lock && rm -rf ios/Pods ios/Runner.xcworkspace && flutter run

@Abhishek01039
Copy link
Contributor

Not working @fauzipadlaw
getting the same error.

@joniaiuser
Copy link

Just in case anyone is still facing this issue.. just ignore this error message, it's not the reason why your build is failing.. Look for other error messages in the log and fix those. That will resolve your build problems.

@Abhishek01039
Copy link
Contributor

@joniaiuser

Error output from Xcode build:
↳
    objc[9582]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1f862b8f0) and ?? (0x118e242b8). One of the two will be used. Which one is
    undefined.
    objc[9582]: Class AMSupportURLSession is implemented in both ?? (0x1f862b940) and ?? (0x118e24308). One of the two will be used. Which one is undefined.
    ** BUILD FAILED **


Xcode's output:
↳
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19:
    warning: coercion of implicitly unwrappable value of type 'InAppWebView_IBWrapper?' to 'Any' does not unwrap optional
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:26:19:
    note: implicitly unwrapped property 'containerWebView' declared here
        @IBOutlet var containerWebView: InAppWebView_IBWrapper!
                      ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19:
    note: provide a default value to avoid this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                       ?? <#default value#>
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19:
    note: force-unwrap the value to avoid this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                      !
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_inappwebview-4.0.0+4/ios/Classes/InAppBrowserWebViewController.swift:388:19:
    note: explicitly cast to 'Any' with 'as Any' to silence this warning
                print(containerWebView)
                      ^~~~~~~~~~~~~~~~
                                       as Any
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.4.3/ios/Classes/FirebaseRemoteConfigPlugin.m:44:65: warning:
    'isDeveloperModeEnabled' is deprecated: This no longer needs to be set during development. Refer to documentation for additional details.
    [-Wdeprecated-declarations]
            [[NSNumber alloc] initWithBool:[firRemoteConfigSettings isDeveloperModeEnabled]];
                                                                    ^
    In module 'FirebaseRemoteConfig' imported from /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:150:
    /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/Public/FirebaseRemoteConfig/FIRRemoteConfig.h:141:37: note: property
    'isDeveloperModeEnabled' is declared deprecated here
    @property(nonatomic, readonly) BOOL isDeveloperModeEnabled DEPRECATED_MSG_ATTRIBUTE(
                                        ^
    /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/Public/FirebaseRemoteConfig/FIRRemoteConfig.h:141:60: note:
    'isDeveloperModeEnabled' has been explicitly marked deprecated here
    @property(nonatomic, readonly) BOOL isDeveloperModeEnabled DEPRECATED_MSG_ATTRIBUTE(
                                                               ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_remote_config/firebase_remote_config-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/AvailabilityMacros.h:18
    3:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
                #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
                                                                   ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.4.3/ios/Classes/FirebaseRemoteConfigPlugin.m:53:42: warning:
    'initWithDeveloperModeEnabled:' is deprecated: This no longer needs to be set during development. Refer to documentation for additional details.
    [-Wdeprecated-declarations]
            [[FIRRemoteConfigSettings alloc] initWithDeveloperModeEnabled:debugMode];
                                             ^
    In module 'FirebaseRemoteConfig' imported from /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:150:
    /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/Public/FirebaseRemoteConfig/FIRRemoteConfig.h:148:5: note:
    'initWithDeveloperModeEnabled:' has been explicitly marked deprecated here
        DEPRECATED_MSG_ATTRIBUTE("This no longer needs to be set during development. Refer to "
        ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_remote_config/firebase_remote_config-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/AvailabilityMacros.h:18
    3:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
                #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
                                                                   ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.4.3/ios/Classes/FirebaseRemoteConfigPlugin.m:100:54: warning:
    'activateFetched' is deprecated: Use -[FIRRemoteConfig activate] instead. [-Wdeprecated-declarations]
        BOOL newConfig = [[FIRRemoteConfig remoteConfig] activateFetched];
                                                         ^
    In module 'FirebaseRemoteConfig' imported from /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:150:
    /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/Public/FirebaseRemoteConfig/FIRRemoteConfig.h:255:25: note: 'activateFetched'
    has been explicitly marked deprecated here
    - (BOOL)activateFetched DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig activate] instead.");
                            ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_remote_config/firebase_remote_config-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/AvailabilityMacros.h:18
    3:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
                #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
                                                                   ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_remote_config-0.4.3/ios/Classes/FirebaseRemoteConfigPlugin.m:131:40: warning:
    'allKeysFromSource:namespace:' is deprecated: Use -[FIRRemoteConfig allKeysFromSource:] instead. [-Wdeprecated-declarations]
      NSArray *defaultKeys = [remoteConfig allKeysFromSource:FIRRemoteConfigSourceDefault
                                           ^
    In module 'FirebaseRemoteConfig' imported from /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:150:
    /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/FirebaseRemoteConfig/FirebaseRemoteConfig/Sources/Public/FirebaseRemoteConfig/FIRRemoteConfig.h:307:5: note:
    'allKeysFromSource:namespace:' has been explicitly marked deprecated here
        DEPRECATED_MSG_ATTRIBUTE("Use -[FIRRemoteConfig allKeysFromSource:] instead.");
        ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_remote_config/firebase_remote_config-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/AvailabilityMacros.h:18
    3:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
                #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
                                                                   ^
    4 warnings generated.
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:190:43: warning:
    'FIRMessagingRemoteMessage' is deprecated: FCM direct channel is deprecated, please use APNs for downstream message handling.
    [-Wdeprecated-declarations]
    - (void)applicationReceivedRemoteMessage:(FIRMessagingRemoteMessage *)remoteMessage {
                                              ^
    In module 'FirebaseMessaging' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1: note:
    'FIRMessagingRemoteMessage' has been explicitly marked deprecated here
    __deprecated_msg(
    ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdefs.h:200:48:
    note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:290:24: warning:
    'FIRMessagingRemoteMessage' is deprecated: FCM direct channel is deprecated, please use APNs for downstream message handling.
    [-Wdeprecated-declarations]
        didReceiveMessage:(FIRMessagingRemoteMessage *)remoteMessage {
                           ^
    In module 'FirebaseMessaging' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:219:1: note:
    'FIRMessagingRemoteMessage' has been explicitly marked deprecated here
    __deprecated_msg(
    ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdefs.h:200:48:
    note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:136:30: warning:
    'shouldEstablishDirectChannel' is deprecated: FCM direct channel is deprecated, please use APNs channel for downstream message delivery.
    [-Wdeprecated-declarations]
        [FIRMessaging messaging].shouldEstablishDirectChannel = true;
                                 ^
    In module 'FirebaseMessaging' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:283:56: note:
    'shouldEstablishDirectChannel' has been explicitly marked deprecated here
    @property(nonatomic) BOOL shouldEstablishDirectChannel DEPRECATED_MSG_ATTRIBUTE(
                                                           ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/AvailabilityMacros.h:18
    3:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
                #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
                                                                   ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:155:21: warning:
    'FIRInstanceID' is deprecated: FIRInstanceID is deprecated, please use FIRInstallations for installation identifier handling and use FIRMessaging for
    FCM registration token handling. [-Wdeprecated-declarations]
        [[FIRInstanceID instanceID]
                        ^
    In module 'FirebaseInstanceID' imported from /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:190:1: note:
    'FIRInstanceID' has been explicitly marked deprecated here
    __deprecated_msg("FIRInstanceID is deprecated, please use FIRInstallations for installation "
    ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdefs.h:200:48:
    note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:156:33: warning:
    'FIRInstanceIDResult' is deprecated: FIRInstanceIDResult is deprecated, please use FIRInstallations for app instance identifier handling and use
    FIRMessaging for FCM registration token handling. [-Wdeprecated-declarations]
            instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable instanceIDResult,
                                    ^
    In module 'FirebaseInstanceID' imported from /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:153:1: note:
    'FIRInstanceIDResult' has been explicitly marked deprecated here
    __deprecated_msg("FIRInstanceIDResult is deprecated, please use FIRInstallations "
    ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdefs.h:200:48:
    note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:156:9: warning:
    'instanceIDWithHandler:' is deprecated: Use `Installations.installationID(completion:)` to get the app instance identifier instead. Use
    `Messaging.token(completion:)` to get FCM registration token instead. [-Wdeprecated-declarations]
            instanceIDWithHandler:^(FIRInstanceIDResult *_Nullable instanceIDResult,
            ^
    In module 'FirebaseInstanceID' imported from /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:215:5: note:
    'instanceIDWithHandler:' has been explicitly marked deprecated here
        __deprecated_msg("Use `Installations.installationID(completion:)` to get the app instance "
        ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdefs.h:200:48:
    note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:166:21: warning:
    'FIRInstanceID' is deprecated: FIRInstanceID is deprecated, please use FIRInstallations for installation identifier handling and use FIRMessaging for
    FCM registration token handling. [-Wdeprecated-declarations]
        [[FIRInstanceID instanceID] deleteIDWithHandler:^void(NSError *_Nullable error) {
                        ^
    In module 'FirebaseInstanceID' imported from /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:190:1: note:
    'FIRInstanceID' has been explicitly marked deprecated here
    __deprecated_msg("FIRInstanceID is deprecated, please use FIRInstallations for installation "
    ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdefs.h:200:48:
    note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:166:33: warning:
    'deleteIDWithHandler:' is deprecated: Use `Installations.delete(completion:)` instead. Also check `Messaging.deleteData(completion:)`if you want to
    delete FCM registration token. [-Wdeprecated-declarations]
        [[FIRInstanceID instanceID] deleteIDWithHandler:^void(NSError *_Nullable error) {
                                    ^
    In module 'FirebaseInstanceID' imported from /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:72:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseInstanceID/Firebase/InstanceID/Public/FIRInstanceID.h:321:33: note:
    'deleteIDWithHandler:' has been explicitly marked deprecated here
                                    __deprecated_msg("Use `Installations.delete(completion:)` instead. "
                                    ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/sys/cdefs.h:200:48:
    note: expanded from macro '__deprecated_msg'
            #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                          ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:191:52: warning:
    'appData' is deprecated [-Wdeprecated-declarations]
      [self didReceiveRemoteNotification:remoteMessage.appData];
                                                       ^
    In module 'FirebaseMessaging' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62: note:
    'appData' has been explicitly marked deprecated here
    @property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
                                                                 ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/AvailabilityMacros.h:18
    1:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
            #define DEPRECATED_ATTRIBUTE        __attribute__((deprecated))
                                                               ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:289:1: warning:
    implementing deprecated method [-Wdeprecated-implementations]
    - (void)messaging:(FIRMessaging *)messaging
    ^
    In module 'FirebaseMessaging' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:253:1: note:
    method 'messaging:didReceiveMessage:' declared here
    - (void)messaging:(FIRMessaging *)messaging
    ^
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-7.0.3/ios/Classes/FLTFirebaseMessagingPlugin.m:291:63: warning:
    'appData' is deprecated [-Wdeprecated-declarations]
      [_channel invokeMethod:@"onMessage" arguments:remoteMessage.appData];
                                                                  ^
    In module 'FirebaseMessaging' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:76:
    /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/FirebaseMessaging/FirebaseMessaging/Sources/Public/FIRMessaging.h:226:62: note:
    'appData' has been explicitly marked deprecated here
    @property(nonatomic, readonly, strong) NSDictionary *appData DEPRECATED_ATTRIBUTE;
                                                                 ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_messaging/firebase_messaging-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/AvailabilityMacros.h:18
    1:60: note: expanded from macro 'DEPRECATED_ATTRIBUTE'
            #define DEPRECATED_ATTRIBUTE        __attribute__((deprecated))
                                                               ^
    11 warnings generated.
    /Users/abhishek/sdks/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-6.3.0/ios/Classes/FLTFirebaseAnalyticsPlugin.m:49:19: warning:
    'setScreenName:screenClass:' is deprecated: Use +[FIRAnalytics logEventWithName:kFIREventScreenView parameters:] instead. [-Wdeprecated-declarations]
        [FIRAnalytics setScreenName:screenName screenClass:screenClassOverride];
                      ^
    In module 'FirebaseAnalytics' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Headers/Public/Firebase/Firebase.h:22:
    /Users/abhishek/Desktop/outside work/untitled
    folder/my-lawn/ios/Pods/FirebaseAnalytics/Frameworks/FirebaseAnalytics.framework/Headers/FIRAnalytics.h:115:5: note: 'setScreenName:screenClass:' has
    been explicitly marked deprecated here
        DEPRECATED_MSG_ATTRIBUTE(
        ^
    In module 'UIKit' imported from /Users/abhishek/Desktop/outside work/untitled folder/my-lawn/ios/Pods/Target Support
    Files/firebase_analytics/firebase_analytics-prefix.pch:2:
    In module 'Foundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.fra
    mework/Headers/UIKit.h:8:
    In module 'CoreFoundation' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/Foundatio
    n.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/CoreFound
    ation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/usr/include/AvailabilityMacros.h:18
    3:64: note: expanded from macro 'DEPRECATED_MSG_ATTRIBUTE'
                #define DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))
                                                                   ^
    1 warning generated.
    /Users/abhishek/Library/Developer/Xcode/DerivedData/Runner-dvnzkapbpkekrgdpaukyiqtbcfao/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/R
    unner.build/Script-425DDA27252B1ECF00474C35.sh: line 2: /Users/abhishek/Desktop/outside: No such file or directory
    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'image_picker' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'webview_flutter' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'video_player' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'url_launcher' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'sign_in_with_apple' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'shared_preferences' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'sensors' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'path_provider' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'package_info' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'http_proxy' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'google_maps_flutter' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'flutter_inappwebview' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'device_info' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'custom_switch_button' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'wakelock' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'uni_links' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'permission_handler' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'nanopb' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'location_permissions' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'location' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'geolocator' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'flutter_secure_storage' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'flutter_email_sender' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'app_settings' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'Reachability' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'Protobuf' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FMDB' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FBSDKCoreKit' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'AppAuth' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'GoogleUtilities' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'connectivity' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'GoogleDataTransport' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'GTMAppAuth' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FBSDKLoginKit' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'google_sign_in' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'flutter_acpuserprofile' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebaseCoreDiagnostics' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebaseCore' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebaseInstallations' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebaseDynamicLinks' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebaseABTesting' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebaseInstanceID' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebaseCrashlytics' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebaseRemoteConfig' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebaseMessaging' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'firebase_dynamic_links' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'firebase_core' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'firebase_remote_config' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'firebase_performance' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'firebase_messaging' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'firebase_crashlytics' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'firebase_analytics' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'GoogleAppMeasurement' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'AppsFlyerFramework' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'Firebase' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'Flutter' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'GoogleSignIn' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebasePerformance' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to
    14.3.99. (in target 'FirebaseAnalytics' from project 'Pods')```
    I am getting this logs

@joniaiuser
Copy link

/Users/abhishek/Library/Developer/Xcode/DerivedData/Runner-dvnzkapbpkekrgdpaukyiqtbcfao/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/R unner.build/Script-425DDA27252B1ECF00474C35.sh: line 2: /Users/abhishek/Desktop/outside: No such file or directory

This is the issue. It couldn't find /outside Did you name one of your folders with a space? It seems the build sequence cannot handle folder with spaces in them.

@Abhishek01039
Copy link
Contributor

Abhishek01039 commented Jan 3, 2021

Oh
Awesome
Thanks it works
@joniaiuser

@jmagman
Copy link
Member

jmagman commented Jan 6, 2021

Class AMSupportURLConnectionDelegate is implemented in both

is a warning from Xcode command line tools that have been emitted for years. It's confusing, but it's never the reason your build is failing. We're tracking showing better error messages from Xcode with #22536.

I'm going to close this. You're all hitting totally different errors, and you need to file separate issues with flutter run -v output.

As @joniaiuser has pointed out, @yvngaayush and @amoslai5128 hit #70895.

@abdullah432

This comment has been minimized.

@abdullah432

This comment has been minimized.

@markusaksli-nc
Copy link
Member

markusaksli-nc commented Jan 25, 2021

@abdullah432
Please just read through your own build logs

    /Users/abdullahkhan/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/ios/Classes/FLTFirebasePlugin.h:9:9: error: include of
    non-modular header inside framework module 'firebase_core.FLTFirebasePlugin':
    '/Users/abdullahkhan/Development/atlast/ios/Pods/Headers/Public/FirebaseCore/FirebaseCore.h' [-Werror,-Wnon-modular-include-in-framework-module]
    #import <FirebaseCore/FirebaseCore.h>
            ^
    1 error generated.

Xcode clearly states when something is a warning or an error and errors are usually at the end of the build logs because the build stops when an error is encountered.

@prasath95
Copy link

Prasaths-MacBook-Pro:qwe prasathsivanathan$ flutter clean && rm ios/Podfile ios/Podfile.lock pubspec.lock && rm -rf ios/Pods ios/Runner.xcworkspace && flutter run
Cleaning Xcode workspace...                                      1,300ms
Deleting build...                                                   10ms
Deleting .dart_tool...                                               0ms
Deleting .packages...                                                0ms
Deleting Generated.xcconfig...                                       0ms
Deleting flutter_export_environment.sh...                            0ms
Deleting Flutter.podspec...                                          0ms
Deleting .flutter-plugins-dependencies...                            0ms
Deleting .flutter-plugins...                                         0ms
Running "flutter pub get" in qwe...                                 3.6s
Launching lib/main.dart on iPhone 8 in debug mode...
Running pod install...                                           2,620ms
Running Xcode build...                                                  
Xcode build done.                                            3.5s
Failed to build iOS app
Error output from Xcode build:
↳
    objc[55804]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x204ba8188) and ??
    (0x115f0c2b8). One of the two will be used. Which one is undefined.
    objc[55804]: Class AMSupportURLSession is implemented in both ?? (0x204ba81d8) and ?? (0x115f0c308).
    One of the two will be used. Which one is undefined.
    ** BUILD FAILED **


Xcode's output:
↳
    /Users/prasathsivanathan/Desktop/Projects/Flutter/Test3/qwe/ios/Pods/GoogleUtilities/GoogleUtilities/
    Logger/GULLogger.m:130:20: warning: this old-style function definition is not preceded by a prototype
    [-Wstrict-prototypes]
    void GULResetLogger() {
                       ^
    /Users/prasathsivanathan/Desktop/Projects/Flutter/Test3/qwe/ios/Pods/GoogleUtilities/GoogleUtilities/
    Logger/GULLogger.m:135:29: warning: this old-style function definition is not preceded by a prototype
    [-Wstrict-prototypes]
    aslclient getGULLoggerClient() {
                                ^
    /Users/prasathsivanathan/Desktop/Projects/Flutter/Test3/qwe/ios/Pods/GoogleUtilities/GoogleUtilities/
    Logger/GULLogger.m:139:35: warning: this old-style function definition is not preceded by a prototype
    [-Wstrict-prototypes]
    dispatch_queue_t getGULClientQueue() {
                                      ^
    /Users/prasathsivanathan/Desktop/Projects/Flutter/Test3/qwe/ios/Pods/GoogleUtilities/GoogleUtilities/
    Logger/GULLogger.m:143:27: warning: this old-style function definition is not preceded by a prototype
    [-Wstrict-prototypes]
    BOOL getGULLoggerDebugMode() {
                              ^
    4 warnings generated.
    /Users/prasathsivanathan/Desktop/Projects/Flutter/Test3/qwe/ios/Pods/FirebaseCore/FirebaseCore/Source
    s/FIRLogger.m:61:28: warning: this old-style function definition is not preceded by a prototype
    [-Wstrict-prototypes]
    void FIRLoggerInitializeASL() {
                               ^
    /Users/prasathsivanathan/Desktop/Projects/Flutter/Test3/qwe/ios/Pods/FirebaseCore/FirebaseCore/Source
    s/FIRLogger.m:104:20: warning: this old-style function definition is not preceded by a prototype
    [-Wstrict-prototypes]
    void FIRResetLogger() {
                       ^
    2 warnings generated.
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Analyzing workspace
    note: Constructing build description
    note: Build preparation complete
    warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements
    use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in
    target 'Runner' from project 'Runner')

Could not build the application for the simulator.
Error launching application on iPhone 8.
Prasaths-MacBook-Pro:qwe prasathsivanathan$ 

@abdullah432
Copy link

@abdullah432
Please just read through your own build logs

    /Users/abdullahkhan/Documents/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.5.3/ios/Classes/FLTFirebasePlugin.h:9:9: error: include of
    non-modular header inside framework module 'firebase_core.FLTFirebasePlugin':
    '/Users/abdullahkhan/Development/atlast/ios/Pods/Headers/Public/FirebaseCore/FirebaseCore.h' [-Werror,-Wnon-modular-include-in-framework-module]
    #import <FirebaseCore/FirebaseCore.h>
            ^
    1 error generated.

Xcode clearly states when something is a warning or an error and errors are usually at the end of the build logs because the build stops when an error is encountered.

I resolved the issue, It was my first time trying to run an application on Macbook. It was firestore configuration issue. I follow firestore configuration guide but later turnout, the developers are no longer need to follow that guide. I removed it and now everything is working. Thanks for your time.
image

@prasath95
Copy link

Same output as @amoslai5128. And @markusaksli-nc, yes no issue with a new project, but after I try to transfer some files even from an existing project that compiled fine in my old computer onto the new project, it still gives this error after a certain point. Not sure...

Can you found the solution?

@yvngaayush
Copy link
Author

@prasath95 To find your issue. Open your project on xcode and run through there. Your build error log will show you the real problem.

@rochapablo

This comment has been minimized.

@jmagman
Copy link
Member

jmagman commented Mar 16, 2021

Class AMSupportURLConnectionDelegate is implemented in both

is a warning from Xcode command line tools that have been emitted for years. It's confusing, but it's never the reason your build is failing. We're tracking showing better error messages from Xcode with #22536.

I'm going to close this. You're all hitting totally different errors, and you need to file separate issues with flutter run -v output.

As @joniaiuser has pointed out, @yvngaayush and @amoslai5128 hit #70895.

@flutter flutter locked and limited conversation to collaborators Mar 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: crash Stack traces logged to the console customer: crowd Affects or could affect many people, though not necessarily a specific customer. platform-host-arm Building on an ARM-based platform platform-ios iOS applications specifically platform-mac Building on or for macOS specifically tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

No branches or pull requests