Skip to content

Creating a Podfile to add iOS pods before adding any Flutter plugins never hooks up the plugin pods in the existing Podfile #41982

Description

@sumajeed

We are currently experiencing an issue where the flutter plugins (specifically, url_launcher) fails to compile during the Xcode build phase. It is related to the issue referenced here: #27893 (comment)

When adding in "url_launcher: ^3.0.2" to the .yaml file and running the app on an iOS device, the build fails with the following output.

Running pod install...
Running Xcode build...
Xcode build done.                                           36.5s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
    /Users/majees3/Documents/Projects/TDI/tdi/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: 'url_launcher/UrlLauncherPlugin.h' file not found
    #import <url_launcher/UrlLauncherPlugin.h>
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.

Could not build the precompiled application for the device.

Error launching application on iPhone.

It appears that the issue can be resolved by downgrading to pods v1.5.3. However this is no longer supported by the current flutter version. Below is a copy of our .yaml file

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  intl: ^0.15.7
  provider: ^3.0.0+1
  shrine_images: ^1.0.0
  after_layout: ^1.0.7
  flutter_section_table_view: ^1.0.5
  auto_size_text: ^2.0.2
  pull_to_refresh: ^1.5.3
  url_launcher: ^3.0.2
  td_ca_flutter_common_ui:
    path: ./td_ca_flutter_common_ui
  
dev_dependencies:
  pedantic: ^1.5.0
  flutter_screenutil: ^0.4.2
  flutter_test:
    sdk: flutter

Flutter Doctor

[✓] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.6 18G95, locale en-CA)
    • Flutter version 1.7.8+hotfix.3 at /Users/majees3/Software Packages/flutter
    • Framework revision b712a172f9 (3 months ago), 2019-07-09 13:14:38 -0700
    • Engine revision 54ad777fd2
    • Dart version 2.4.0

 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/majees3/Library/Android/sdk
    • Android NDK at /Users/majees3/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.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_152-release-1136-b06)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • CocoaPods version 1.6.0

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

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

Steps to Reproduce

Target Platform: iOS
Target OS version/browser: 12.1
Devices: iPhone 6S

Logs

Note: Comment was too long, it was shortened

[  +44 ms] executing: [/Users/ma/Software Packages/flutter/] git log -n 1
--pretty=format:%H
[  +70 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] b712a172f9694745f50505c93340883493b505e5
[        ] executing: [/Users/ma/Software Packages/flutter/] git describe
--match v*.*.* --first-parent --long --tags
[  +25 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long
--tags
[        ] v1.7.8+hotfix.3-0-gb712a172f
[  +14 ms] executing: [/Users/ma/Software Packages/flutter/] git rev-parse
--abbrev-ref --symbolic @{u}
[  +22 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/ma/Software Packages/flutter/] git ls-remote
--get-url origin
[  +25 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +62 ms] executing: [/Users/ma/Software Packages/flutter/] git rev-parse
--abbrev-ref HEAD
[  +25 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[ +263 ms] executing: /Users/ma/Library/Android/sdk/platform-tools/adb
devices -l
[  +15 ms] Exit code 0 from:
/Users/ma/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
[   +5 ms] executing: idevice_id -h
[ +196 ms] executing: which ideviceinstaller
[   +7 ms] Exit code 0 from: which ideviceinstaller
[        ] /usr/local/bin/ideviceinstaller
[        ] executing: which iproxy
[   +6 ms] Exit code 0 from: which iproxy
[        ] /usr/local/bin/iproxy
[   +4 ms] /usr/bin/xcrun simctl list --json devices
[ +343 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping
update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required,
skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping
update.
[   +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping
update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required,
skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required,
skipping update.
[ +106 ms] Found plugin url_launcher at /Users/ma/Software
Packages/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.3/
[  +55 ms] Found plugin url_launcher at /Users/ma/Software
Packages/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.3/
[  +59 ms] Launching lib/main.dart on iPhone in debug mode...
[   +7 ms] executing: /usr/bin/defaults read
/Users/ma/Documents/Projects/appI/appi/ios/Runner/Info CFBundleIdentifier
[  +83 ms] Exit code 0 from: /usr/bin/defaults read
/Users/ma/Documents/Projects/appI/appi/ios/Runner/Info CFBundleIdentifier
[        ] $(PRODUCT_BUNDLE_IDENTIFIER)
[  +11 ms] executing: idevicesyslog -u 7f9a0300abc6a60635ece9361cf1e3bcced9774e
[   +4 ms] Building Runner.app for 7f9a0300abc6a60635ece9361cf1e3bcced9774e
[ +105 ms] executing: [/Users/ma/Documents/Projects/appI/appi/ios/]
/usr/bin/xcodebuild -list
[+1575 ms] Information about project "Runner":
                        Targets:
                            Runner

                        Build Configurations:
                            Debug
                            Release
                            Profile

                        If no build configuration is specified and -scheme is
                        not passed then "Release" is used.

                        Schemes:
                            Runner
[   +5 ms] executing:
[/Users/ma/Documents/Projects/appI/appi/ios/Runner.xcodeproj/]
/usr/bin/xcodebuild -project
/Users/ma/Documents/Projects/appI/appi/ios/Runner.xcodeproj -target Runner
-showBuildSettings
[+3250 ms] Exit code 0 from: /usr/bin/xcodebuild -project
/Users/ma/Documents/Projects/appI/appi/ios/Runner.xcodeproj -target Runner
-showBuildSettings
[        ] Build settings for action build and target Runner:
               ACTION = build
               AD_HOC_CODE_SIGNING_ALLOWED = NO
               ALTERNATE_GROUP = staff
               ALTERNATE_MODE = u+w,go-w,a+rX
               ALTERNATE_OWNER = ma
               ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
               ALWAYS_SEARCH_USER_PATHS = NO
               ALWAYS_USE_SEPARATE_HEADERMAPS = NO
               APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
               APPLE_INTERNAL_DIR = /AppleInternal
               APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
               APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
               APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
               APPLICATION_EXTENSION_API_ONLY = NO
               APPLY_RULES_IN_COPY_FILES = NO
               ARCHS = armv7 arm64
               ARCHS_STANDARD = armv7 arm64
               ARCHS_STANDARD_32_64_BIT = armv7 arm64
               ARCHS_STANDARD_32_BIT = armv7
               ARCHS_STANDARD_64_BIT = arm64
               ARCHS_STANDARD_INCLUDING_64_BIT = armv7 arm64
               ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64
               ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
               AVAILABLE_PLATFORMS = appletvos appletvsimulator iphoneos
               iphonesimulator macosx watchos watchsimulator
               BITCODE_GENERATION_MODE = marker
               BUILD_ACTIVE_RESOURCES_ONLY = NO
               BUILD_COMPONENTS = headers build
               BUILD_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Products
               BUILD_ROOT =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Products
               BUILD_STYLE = 
               BUILD_VARIANTS = normal
               BUILT_PRODUCTS_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos
               CACHE_ROOT =
               /var/folders/jd/1nbhc9_s4m3dtq01_34jp78m0000gn/C/com.apple.Develo
               perTools/10.1-10B61/Xcode
               CCHROOT =
               /var/folders/jd/1nbhc9_s4m3dtq01_34jp78m0000gn/C/com.apple.Develo
               perTools/10.1-10B61/Xcode
               CHMOD = /bin/chmod
               CHOWN = /usr/sbin/chown
               CLANG_ANALYZER_NONNULL = YES
               CLANG_CXX_LANGUAGE_STANDARD = gnu++0x
               CLANG_CXX_LIBRARY = libc++
               CLANG_ENABLE_MODULES = YES
               CLANG_ENABLE_OBJC_ARC = YES
               CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
               CLANG_WARN_BOOL_CONVERSION = YES
               CLANG_WARN_COMMA = YES
               CLANG_WARN_CONSTANT_CONVERSION = YES
               CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
               CLANG_WARN_EMPTY_BODY = YES
               CLANG_WARN_ENUM_CONVERSION = YES
               CLANG_WARN_INFINITE_RECURSION = YES
               CLANG_WARN_INT_CONVERSION = YES
               CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
               CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
               CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
               CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
               CLANG_WARN_STRICT_PROTOTYPES = YES
               CLANG_WARN_SUSPICIOUS_MOVE = YES
               CLANG_WARN_UNREACHABLE_CODE = YES
               CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
               CLASS_FILE_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/JavaClasses
               CLEAN_PRECOMPS = YES
               CLONE_HEADERS = NO
               CODESIGNING_FOLDER_PATH =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/Runner.app
               CODE_SIGNING_ALLOWED = YES
               CODE_SIGNING_REQUIRED = YES
               CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext
               CODE_SIGN_IDENTITY = iPhone Developer
               CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES
               COLOR_DIAGNOSTICS = NO
               COMBINE_HIDPI_IMAGES = NO
               COMPILER_INDEX_STORE_ENABLE = Default
               COMPOSITE_SDK_DIRS =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/CompositeSDKs
               COMPRESS_PNG_FILES = YES
               CONFIGURATION = Release
               CONFIGURATION_BUILD_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos
               CONFIGURATION_TEMP_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos
               CONTENTS_FOLDER_PATH = Runner.app
               COPYING_PRESERVES_HFS_DATA = NO
               COPY_HEADERS_RUN_UNIFDEF = NO
               COPY_PHASE_STRIP = NO
               COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
               CORRESPONDING_SIMULATOR_PLATFORM_DIR =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimula
               tor.platform
               CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator
               CORRESPONDING_SIMULATOR_SDK_DIR =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimula
               tor.platform/Developer/SDKs/iPhoneSimulator12.1.sdk
               CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator12.1
               CP = /bin/cp
               CREATE_INFOPLIST_SECTION_IN_BINARY = NO
               CURRENT_ARCH = arm64
               CURRENT_VARIANT = normal
               DEAD_CODE_STRIPPING = YES
               DEBUGGING_SYMBOLS = YES
               DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
               DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
               DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
               DEFINES_MODULE = NO
               DEPLOYMENT_LOCATION = NO
               DEPLOYMENT_POSTPROCESSING = NO
               DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
               DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min
               DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min=
               DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
               DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_version_min
               DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
               DEPLOYMENT_TARGET_SUGGESTED_VALUES = 8.0 8.1 8.2 8.3 8.4 9.0 9.1
               9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1
               DERIVED_FILES_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/DerivedSources
               DERIVED_FILE_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/DerivedSources
               DERIVED_SOURCES_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/DerivedSources
               DEVELOPER_APPLICATIONS_DIR =
               /Applications/Xcode.app/Contents/Developer/Applications
               DEVELOPER_BIN_DIR =
               /Applications/Xcode.app/Contents/Developer/usr/bin
               DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer
               DEVELOPER_FRAMEWORKS_DIR =
               /Applications/Xcode.app/Contents/Developer/Library/Frameworks
               DEVELOPER_FRAMEWORKS_DIR_QUOTED =
               /Applications/Xcode.app/Contents/Developer/Library/Frameworks
               DEVELOPER_LIBRARY_DIR =
               /Applications/Xcode.app/Contents/Developer/Library
               DEVELOPER_SDK_DIR =
               /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platf
               orm/Developer/SDKs
               DEVELOPER_TOOLS_DIR =
               /Applications/Xcode.app/Contents/Developer/Tools
               DEVELOPER_USR_DIR =
               /Applications/Xcode.app/Contents/Developer/usr
               DEVELOPMENT_LANGUAGE = English
               DEVELOPMENT_TEAM = NCM3L4QUDC
               DOCUMENTATION_FOLDER_PATH =
               Runner.app/English.lproj/Documentation
               DO_HEADER_SCANNING_IN_JAM = NO
               DSTROOT = /tmp/Runner.dst
               DT_TOOLCHAIN_DIR =
               /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefaul
               t.xctoolchain
               DWARF_DSYM_FILE_NAME = Runner.app.dSYM
               DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
               DWARF_DSYM_FOLDER_PATH =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos
               EFFECTIVE_PLATFORM_NAME = -iphoneos
               EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
               EMBEDDED_PROFILE_NAME = embedded.mobileprovision
               EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
               ENABLE_BITCODE = NO
               ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
               ENABLE_HEADER_DEPENDENCIES = YES
               ENABLE_NS_ASSERTIONS = NO
               ENABLE_ON_DEMAND_RESOURCES = YES
               ENABLE_STRICT_OBJC_MSGSEND = YES
               ENABLE_TESTABILITY = NO
               ENTITLEMENTS_ALLOWED = YES
               ENTITLEMENTS_DESTINATION = Signature
               ENTITLEMENTS_REQUIRED = YES
               EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git
               .hg CVS
               EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj
               *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git
               .hg *.pbproj *.pbxproj
               EXECUTABLES_FOLDER_PATH = Runner.app/Executables
               EXECUTABLE_FOLDER_PATH = Runner.app
               EXECUTABLE_NAME = Runner
               EXECUTABLE_PATH = Runner.app/Runner
               EXPANDED_CODE_SIGN_IDENTITY = 
               EXPANDED_CODE_SIGN_IDENTITY_NAME = 
               EXPANDED_PROVISIONING_PROFILE = 
               FILE_LIST =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/Objects/LinkFileList
               FIXED_FILES_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/FixedFiles
               FLUTTER_ROOT = /Users/ma/Software Packages/flutter
               FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks
               FRAMEWORK_FLAG_PREFIX = -framework
               FRAMEWORK_SEARCH_PATHS =
               "/Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdg
               ikkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/IQKeyboard
               ManagerSwift"
               "/Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdg
               ikkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/IQKeyboard
               ManagerSwift"
               /Users/ma/Documents/Projects/appI/appi/ios/Flutter
               FRAMEWORK_VERSION = A
               FULL_PRODUCT_NAME = Runner.app
               GCC3_VERSION = 3.3
               GCC_C_LANGUAGE_STANDARD = gnu99
               GCC_INLINES_ARE_PRIVATE_EXTERN = YES
               GCC_NO_COMMON_BLOCKS = YES
               GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
               GCC_PREPROCESSOR_DEFINITIONS =  COCOAPODS=1 COCOAPODS=1
               GCC_SYMBOLS_PRIVATE_EXTERN = YES
               GCC_THUMB_SUPPORT = YES
               GCC_TREAT_WARNINGS_AS_ERRORS = NO
               GCC_VERSION = com.apple.compilers.llvm.clang.1_0
               GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
               GCC_WARN_64_TO_32_BIT_CONVERSION = YES
               GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
               GCC_WARN_UNDECLARED_SELECTOR = YES
               GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
               GCC_WARN_UNUSED_FUNCTION = YES
               GCC_WARN_UNUSED_VARIABLE = YES
               GENERATE_MASTER_OBJECT_FILE = NO
               GENERATE_PKGINFO_FILE = YES
               GENERATE_PROFILING_CODE = NO
               GENERATE_TEXT_BASED_STUBS = NO
               GID = 20
               GROUP = staff
               HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
               HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
               HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
               HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
               HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
               HEADERMAP_USES_VFS = NO
               HEADER_SEARCH_PATHS =
               "/Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdg
               ikkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/IQKeyboard
               ManagerSwift/IQKeyboardManagerSwift.framework/Headers"
               "/Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdg
               ikkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/IQKeyboard
               ManagerSwift/IQKeyboardManagerSwift.framework/Headers"
               HIDE_BITCODE_SYMBOLS = YES
               HOME = /Users/ma
               ICONV = /usr/bin/iconv
               INFOPLIST_EXPAND_BUILD_SETTINGS = YES
               INFOPLIST_FILE = Runner/Info.plist
               INFOPLIST_OUTPUT_FORMAT = binary
               INFOPLIST_PATH = Runner.app/Info.plist
               INFOPLIST_PREPROCESS = NO
               INFOSTRINGS_PATH = Runner.app/English.lproj/InfoPlist.strings
               INLINE_PRIVATE_FRAMEWORKS = NO
               INSTALLHDRS_COPY_PHASE = NO
               INSTALLHDRS_SCRIPT_PHASE = NO
               INSTALL_DIR = /tmp/Runner.dst/Applications
               INSTALL_GROUP = staff
               INSTALL_MODE_FLAG = u+w,go-w,a+rX
               INSTALL_OWNER = ma
               INSTALL_PATH = /Applications
               INSTALL_ROOT = /tmp/Runner.dst
               IPHONEOS_DEPLOYMENT_TARGET = 10.0
               JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M
               -J-Dfile.encoding=UTF8
               JAVA_APP_STUB =
               /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaA
               pplicationStub
               JAVA_ARCHIVE_CLASSES = YES
               JAVA_ARCHIVE_TYPE = JAR
               JAVA_COMPILER = /usr/bin/javac
               JAVA_FOLDER_PATH = Runner.app/Java
               JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
               JAVA_JAR_FLAGS = cv
               JAVA_SOURCE_SUBDIR = .
               JAVA_USE_DEPENDENCIES = YES
               JAVA_ZIP_FLAGS = -urg
               JIKES_DEFAULT_FLAGS = +E +OLDCSO
               KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm
               -asan-globals-live-support -mllvm -asan-force-dynamic-shadow
               KEEP_PRIVATE_EXTERNS = NO
               LD_DEPENDENCY_INFO_FILE =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/Objects-normal/arm64/Runner_dependenc
               y_info.dat
               LD_GENERATE_MAP_FILE = NO
               LD_MAP_FILE_PATH =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/Runner-LinkMap-normal-arm64.txt
               LD_NO_PIE = NO
               LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
               LD_RUNPATH_SEARCH_PATHS =  '@executable_path/Frameworks'
               '@loader_path/Frameworks' '@executable_path/Frameworks'
               '@loader_path/Frameworks' @executable_path/Frameworks
               LEGACY_DEVELOPER_DIR =
               /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Con
               tents/SharedSupport/Developer
               LEX = lex
               LIBRARY_FLAG_NOSPACE = YES
               LIBRARY_FLAG_PREFIX = -l
               LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
               LIBRARY_SEARCH_PATHS =
               /Users/ma/Documents/Projects/appI/appi/ios/Flutter
               LINKER_DISPLAYS_MANGLED_NAMES = NO
               LINK_FILE_LIST_normal_arm64 = 
               LINK_FILE_LIST_normal_armv7 = 
               LINK_WITH_STANDARD_LIBRARIES = YES
               LOCALIZABLE_CONTENT_DIR = 
               LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/English.lproj
               LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString
               CFLocalizedString
               LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
               LOCAL_APPS_DIR = /Applications
               LOCAL_DEVELOPER_DIR = /Library/Developer
               LOCAL_LIBRARY_DIR = /Library
               LOCROOT = 
               LOCSYMROOT = 
               MACH_O_TYPE = mh_execute
               MAC_OS_X_PRODUCT_BUILD_VERSION = 18G95
               MAC_OS_X_VERSION_ACTUAL = 101406
               MAC_OS_X_VERSION_MAJOR = 101400
               MAC_OS_X_VERSION_MINOR = 1406
               METAL_LIBRARY_FILE_BASE = default
               METAL_LIBRARY_OUTPUT_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/Runner.app
               MODULE_CACHE_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/ModuleCache.no
               index
               MTL_ENABLE_DEBUG_INFO = NO
               NATIVE_ARCH = armv7
               NATIVE_ARCH_32_BIT = i386
               NATIVE_ARCH_64_BIT = x86_64
               NATIVE_ARCH_ACTUAL = x86_64
               NO_COMMON = YES
               OBJECT_FILE_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/Objects
               OBJECT_FILE_DIR_normal =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/Objects-normal
               OBJROOT =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex
               ONLY_ACTIVE_ARCH = NO
               OS = MACOS
               OSAC = /usr/bin/osacompile
               OTHER_LDFLAGS =  -framework "CoreGraphics" -framework
               "Foundation" -framework "IQKeyboardManagerSwift" -framework
               "QuartzCore" -framework "UIKit" -framework "CoreGraphics"
               -framework "Foundation" -framework "IQKeyboardManagerSwift"
               -framework "QuartzCore" -framework "UIKit"
               OTHER_SWIFT_FLAGS =  -D COCOAPODS -D COCOAPODS
               PACKAGE_TYPE = com.apple.package-type.wrapper.application
               PASCAL_STRINGS = YES
               PATH =
               /Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin
               :/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/
               tools:/Library/Frameworks/Mono.framework/Versions/Current/Command
               s:/Applications/Xamarin
               Workbooks.app/Contents/SharedSupport/path-bin:/Users/ma/.rvm
               /bin:/Users/ma/Software Packages/flutter/bin
               PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include
               /usr/local/include /System/Library/Frameworks
               /System/Library/PrivateFrameworks
               /Applications/Xcode.app/Contents/Developer/Headers
               /Applications/Xcode.app/Contents/Developer/SDKs
               /Applications/Xcode.app/Contents/Developer/Platforms
               PBDEVELOPMENTPLIST_PATH = Runner.app/pbdevelopment.plist
               PFE_FILE_C_DIALECTS = objective-c
               PKGINFO_FILE_PATH =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/PkgInfo
               PKGINFO_PATH = Runner.app/PkgInfo
               PLATFORM_DEVELOPER_APPLICATIONS_DIR =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla
               tform/Developer/Applications
               PLATFORM_DEVELOPER_BIN_DIR =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla
               tform/Developer/usr/bin
               PLATFORM_DEVELOPER_LIBRARY_DIR =
               /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Con
               tents/SharedSupport/Developer/Library
               PLATFORM_DEVELOPER_SDK_DIR =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla
               tform/Developer/SDKs
               PLATFORM_DEVELOPER_TOOLS_DIR =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla
               tform/Developer/Tools
               PLATFORM_DEVELOPER_USR_DIR =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla
               tform/Developer/usr
               PLATFORM_DIR =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla
               tform
               PLATFORM_DISPLAY_NAME = iOS
               PLATFORM_NAME = iphoneos
               PLATFORM_PREFERRED_ARCH = arm64
               PLATFORM_PRODUCT_BUILD_VERSION = 16B91
               PLIST_FILE_OUTPUT_FORMAT = binary
               PLUGINS_FOLDER_PATH = Runner.app/PlugIns
               PODS_BUILD_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Products
               PODS_CONFIGURATION_BUILD_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos
               PODS_PODFILE_DIR_PATH =
               /Users/ma/Documents/Projects/appI/appi/ios/.
               PODS_ROOT = /Users/ma/Documents/Projects/appI/appi/ios/Pods
               PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
               PRECOMP_DESTINATION_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/PrefixHeaders
               PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
               PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders
               PRODUCT_BUNDLE_IDENTIFIER = appi.app.com.appi
               PRODUCT_MODULE_NAME = Runner
               PRODUCT_NAME = Runner
               PRODUCT_SETTINGS_PATH =
               /Users/ma/Documents/Projects/appI/appi/ios/Runner/Info.plist
               PRODUCT_TYPE = com.apple.product-type.application
               PROFILING_CODE = NO
               PROJECT = Runner
               PROJECT_DERIVED_FILE_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/De
               rivedSources
               PROJECT_DIR = /Users/ma/Documents/Projects/appI/appi/ios
               PROJECT_FILE_PATH =
               /Users/ma/Documents/Projects/appI/appi/ios/Runner.xcodeproj
               PROJECT_NAME = Runner
               PROJECT_TEMP_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build
               PROJECT_TEMP_ROOT =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex
               PROVISIONING_PROFILE_REQUIRED = YES
               PUBLIC_HEADERS_FOLDER_PATH = Runner.app/Headers
               RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
               REMOVE_CVS_FROM_RESOURCES = YES
               REMOVE_GIT_FROM_RESOURCES = YES
               REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
               REMOVE_HG_FROM_RESOURCES = YES
               REMOVE_SVN_FROM_RESOURCES = YES
               RESOURCE_RULES_REQUIRED = YES
               REZ_COLLECTOR_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/ResourceManagerResources
               REZ_OBJECTS_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/Runner.build/Re
               lease-iphoneos/Runner.build/ResourceManagerResources/Objects
               SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
               SCRIPTS_FOLDER_PATH = Runner.app/Scripts
               SDKROOT =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla
               tform/Developer/SDKs/iPhoneOS12.1.sdk
               SDK_DIR =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla
               tform/Developer/SDKs/iPhoneOS12.1.sdk
               SDK_DIR_iphoneos12_1 =
               /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.pla
               tform/Developer/SDKs/iPhoneOS12.1.sdk
               SDK_NAME = iphoneos12.1
               SDK_NAMES = iphoneos12.1
               SDK_PRODUCT_BUILD_VERSION = 16B91
               SDK_VERSION = 12.1
               SDK_VERSION_ACTUAL = 120100
               SDK_VERSION_MAJOR = 120000
               SDK_VERSION_MINOR = 100
               SED = /usr/bin/sed
               SEPARATE_STRIP = NO
               SEPARATE_SYMBOL_EDIT = NO
               SET_DIR_MODE_OWNER_GROUP = YES
               SET_FILE_MODE_OWNER_GROUP = NO
               SHALLOW_BUNDLE = YES
               SHARED_DERIVED_FILE_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Products/Release-iphoneos/DerivedSour
               ces
               SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks
               SHARED_PRECOMPS_DIR =
               /Users/ma/Library/Developer/Xcode/DerivedData/Runner-gicgdgi
               kkkjgwbdzflpugxookoqk/Build/Intermediates.noindex/PrecompiledHead
               ers
               SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport
               SKIP_INSTALL = NO
               SOURCE_ROOT = /Users/ma/Documents/Projects/appI/appi/ios
               SRCROOT = /Users/ma/Documents/Projects/appI/appi/ios
               STRINGS_FILE_OUTPUT_ENCODING = binary
               STRIP_BITCODE_FROM_COPIED_FILES = YES
               STRIP_INSTALLED_PRODUCT = YES
               STRIP_STYLE = all
               STRIP_SWIFT_SYMBOLS = YES
               SUPPORTED_DEVICE_FAMILIES = 1,2
               SUPPORTED_PLATFORMS = iphonesimulator iphoneos
               SUPPORTS_TEXT_BASED_API = NO
               SWIFT_COMPILATION_MODE = wholemodule
               SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h
               SWIFT_OPTIMIZATION_LEVEL = -O
               SWIFT_PLATFORM_TARGET_PREFIX = ios
               SWIFT_SWIFT3_OBJC_INFERENCE = Off
               SWIFT_VERSION = 4.0
……….

PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.plat

form/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bi

n:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~

/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Comma
                   nds:/Applications/Xamarin

Workbooks.app/Contents/SharedSupport/path-bin:/Users/ma/.rvm/bin:/U
                   sers/ma/Software Packages/flutter/bin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoo
                   lchain/usr/bin/clang -x objective-c -arch arm64
-fmessage-length=0
                   -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0
                   -sapp=gnu99 -fobjc-arc -fmodules -gmodules

-fmodules-cache-path=/Users/ma/Library/Developer/Xcode/DerivedData/
                   ModuleCache.noindex -fmodules-prune-interval=86400
                   -fmodules-prune-after=345600

-fbuild-session-file=/Users/ma/Library/Developer/Xcode/DerivedData/
                   ModuleCache.noindex/Session.modulevalidation
                   -fmodules-validate-once-per-build-session
                   -Wnon-modular-include-in-framework-module
                   -Werror=non-modular-include-in-framework-module
-Wno-trigraphs
                   -fpascal-strings -O0 -fno-common
-Wno-missing-field-initializers
                   -Wno-missing-prototypes -Werror=return-type
-Wunreachable-code
                   -Wno-implicit-atomic-properties
-Werror=deprecated-objc-isa-usage
                   -Wno-objc-interface-ivars -Werror=objc-root-class
                   -Wno-arc-repeated-use-of-weak -Wduplicate-method-match
                   -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function
                   -Wno-unused-label -Wno-unused-parameter -Wunused-variable
-Wunused-value
                   -Wempty-body -Wuninitialized -Wconditional-uninitialized
                   -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants
                   -Wno-conversion -Wconstant-conversion -Wint-conversion
-Wbool-conversion
                   -Wenum-conversion -Wno-float-conversion
-Wnon-literal-null-conversion
                   -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign
                   -Wno-newline-eof -Wno-selector -Wno-strict-selector-match
                   -Wundeclared-selector -Wno-deprecated-implementations
-DDEBUG=1
                   -DCOCOAPODS=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0
-isysroot


#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.runCommand
(package:flutter_tools/src/commands/run.dart:475:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand
(package:flutter_tools/src/runner/flutter_command.dart:478:18)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:383:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#5      _rootRun (dart:async/zone.dart:1124:13)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _runZoned (dart:async/zone.dart:1516:10)
#8      runZoned (dart:async/zone.dart:1463:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#10     FlutterCommand.run
(package:flutter_tools/src/runner/flutter_command.dart:375:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:396:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#19     FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:356:19)
<asynchronous suspension>
#20     CommandRunner.run.<anonymous closure>
(package:args/command_runner.dart:112:25)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:112:14)
#23     FlutterCommandRunner.run
(package:flutter_tools/src/runner/flutter_command_runner.dart:242:18)
#24     run.<anonymous closure>.<anonymous closure>
(package:flutter_tools/runner.dart:62:22)
<asynchronous suspension>
#25     _rootRun (dart:async/zone.dart:1124:13)
#26     _CustomZone.run (dart:async/zone.dart:1021:19)
#27     _runZoned (dart:async/zone.dart:1516:10)
#28     runZoned (dart:async/zone.dart:1500:12)
#29     run.<anonymous closure> (package:flutter_tools/runner.dart:60:18)
<asynchronous suspension>
#30     AppContext.run.<anonymous closure>
(package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#31     _rootRun (dart:async/zone.dart:1124:13)
#32     _CustomZone.run (dart:async/zone.dart:1021:19)
#33     _runZoned (dart:async/zone.dart:1516:10)
#34     runZoned (dart:async/zone.dart:1463:12)
#35     AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#36     runInContext (package:flutter_tools/src/context_runner.dart:56:24)
<asynchronous suspension>
#37     run (package:flutter_tools/runner.dart:51:10)
#38     main (package:flutter_tools/executable.dart:62:9)
<asynchronous suspension>
#39     main
(file:///Users/ma/Software%20Packages/flutter/packages/flutter_tools/bin/fl
utter_tools.dart:8:3)
#40     _startIsolate.<anonymous closure>
(dart:isolate-patch/isolate_patch.dart:299:32)
#41     _RawReceivePortImpl._handleMessage
(dart:isolate-patch/isolate_patch.dart:172:12)

Note: There are analysis issues - the app works with these "issues" (DateFormat is declared and present). This should be logged as a bug in another ticket.

Analyzing app…                                                        

   info • The class '_SliverHeaderDelegate' isn't used •
          lib/extensions/sliver_extensions.dart:3:7 • unused_element
   info • Unused import:
          'package:app_ca_flutter_common_ui/widgets/emerald/emerald_error.dart' •
          lib/interactor/profile_interactor.dart:2:8 • unused_import
   info • Unused import: 'dart:ui' • lib/res/colours.dart:1:8 • unused_import
   info • Unused import: 'dart:ui' • lib/strings/native_routes.dart:1:8 •
          unused_import
  error • Target of URI doesn't exist: 'package:intl/intl.dart' •
         app_ca_flutter_common_ui/lib/widgets/emerald/emerald_date_row.dart:1:8 •
         uri_does_not_exist
  error • The method 'DateFormat' isn't defined for the class 'EmeraldDateRow' •
         app_ca_flutter_common_ui/lib/widgets/emerald/emerald_date_row.dart:22:23
         • undefined_method
  error • The method 'DateFormat' isn't defined for the class
         'EmeraldDateFormText' •
         app_ca_flutter_common_ui/lib/widgets/emerald/emerald_date_row.dart:41:23
         • undefined_method
   info • Duplicate import •
          app_ca_flutter_common_ui/lib/widgets/emerald/emerald_row.dart:5:8 •
          duplicate_import

8 issues found. (ran in 2.9s)
[✓] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.6 18G95, locale en-CA)
    • Flutter version 1.7.8+hotfix.3 at /Users/majees3/Software Packages/flutter
    • Framework revision b712a172f9 (3 months ago), 2019-07-09 13:14:38 -0700
    • Engine revision 54ad777fd2
    • Dart version 2.4.0

 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/majees3/Library/Android/sdk
    • Android NDK at /Users/majees3/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.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_152-release-1136-b06)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • CocoaPods version 1.6.0

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

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

Activity

  1. added
    t: xcode"xcodebuild" on iOS and general Xcode project management
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Oct 4, 2019
  2. jmagman commented on Oct 4, 2019

    @jmagman
    Member

    Is your app Obj-C or Swift?

  3. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Oct 4, 2019
  4. sumajeed commented on Oct 4, 2019

    @sumajeed
    Author

    @jmagman it's swift

  5. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Oct 4, 2019
  6. jmagman commented on Oct 4, 2019

    @jmagman
    Member

    I installed 1.7.8+hotfix.3 and CocoaPods 1.6.0 and added this to Swift app pubpsec (I pegged to url_launcher 3.0.3 to match your resolved version):

      cupertino_icons: ^0.1.2
      intl: ^0.15.7
      provider: ^3.0.0+1
      shrine_images: ^1.0.0
      after_layout: ^1.0.7
      flutter_section_table_view: ^1.0.5
      auto_size_text: ^2.0.2
      pull_to_refresh: ^1.5.3
      url_launcher: 3.0.3

    However I can build successfully. Can you paste the contents of /Users/majees3/Documents/Projects/TDI/tdi/ios/Podfile?

  7. sumajeed commented on Oct 4, 2019

    @sumajeed
    Author
    source 'https://github.com/CocoaPods/Specs.git'
    ENV['COCOAPODS_DISABLE_STATS'] = 'true'
    
    platform :ios, '10.0'
    use_frameworks!
    
    target 'Runner' do
    project 'Runner.xcodeproj'
    
      pod 'IQKeyboardManagerSwift', '=6.1.1'
    
    end
    
    post_install do |installer|
        installer.pods_project.targets.each do |target|
            puts "Updating #{target.name}"
            target.build_configurations.each do |config|
                config.build_settings['SWIFT_VERSION'] = '4.0'
                config.build_settings['SWIFT_SWIFT3_OBJC_INFERENCE'] = 'Default'
                config.build_settings['ENABLE_BITCODE'] = 'NO'
            end
        end
    end
    
  8. sumajeed commented on Oct 21, 2019

    @sumajeed
    Author

    @jmagman after much investigation, I discovered this has to do with the pod file configuration.

    The configuration needed to link flutter to the iOS pod file (as below). It's usually automatically generated as part of a shell project, however if we don't import packages first before creating a pod file to use with iOS packages, this linking is omitted. The last comment in the thread below sums it up.

    https://stackoverflow.com/questions/51599686/flutter-podfile-and-pods-folders-not-created-in-ios-directory?rq=1

    "It seems if you don't add any packages to the pubspec the podfile won't be created. That's weird behavior if you need to add iOS-only pods to a project. At the very least it should be mentioned in the docs I'd think"

    When we started the project, there were no packages added to flutter so the pod file wasn't automatically created. It appears that when we created our own pod file to support iOS packages without adding the flutter packages first, the default flutter pod initialization was missed. Flutter does not add it into the pod file if one already exists.

    After manually adding in this configuration change and linking, url_launcher works. Should this be logged as a bug with flutter?

    source 'https://github.com/CocoaPods/Specs.git'
    ENV['COCOAPODS_DISABLE_STATS'] = 'true'
    
    platform :ios, '10.0'
    use_frameworks!
    
    project 'Runner', {
      'Debug' => :debug,
      'Profile' => :release,
      'Release' => :release,
    }
    
    def parse_KV_file(file, separator='=')
      file_abs_path = File.expand_path(file)
      if !File.exists? file_abs_path
        return [];
      end
      pods_ary = []
      skip_line_start_symbols = ["#", "/"]
      File.foreach(file_abs_path) { |line|
          next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ }
          plugin = line.split(pattern=separator)
          if plugin.length == 2
            podname = plugin[0].strip()
            path = plugin[1].strip()
            podpath = File.expand_path("#{path}", file_abs_path)
            pods_ary.push({:name => podname, :path => podpath});
          else
            puts "Invalid plugin specification: #{line}"
          end
      }
      return pods_ary
    end
    
    target 'Runner' do
    
      pod 'IQKeyboardManagerSwift', '=6.1.1'
    
      # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock
      # referring to absolute paths on developers' machines.
      system('rm -rf .symlinks')
      system('mkdir -p .symlinks/plugins')
    
      # Flutter Pods
      generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig')
      if generated_xcode_build_settings.empty?
        puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter pub get is executed first."
      end
      generated_xcode_build_settings.map { |p|
        if p[:name] == 'FLUTTER_FRAMEWORK_DIR'
          symlink = File.join('.symlinks', 'flutter')
          File.symlink(File.dirname(p[:path]), symlink)
          pod 'Flutter', :path => File.join(symlink, File.basename(p[:path]))
        end
      }
    
      # Plugin Pods
      plugin_pods = parse_KV_file('../.flutter-plugins')
      plugin_pods.map { |p|
        symlink = File.join('.symlinks', 'plugins', p[:name])
        File.symlink(p[:path], symlink)
        pod p[:name], :path => File.join(symlink, 'ios')
      }
    end
    
    # Prevent Cocoapods from embedding a second Flutter framework and causing an error with the new Xcode build system.
    install! 'cocoapods', :disable_input_output_paths => true
    
    post_install do |installer|
        installer.pods_project.targets.each do |target|
            puts "Updating #{target.name}"
            target.build_configurations.each do |config|
                config.build_settings['SWIFT_VERSION'] = '4.0'
                config.build_settings['SWIFT_SWIFT3_OBJC_INFERENCE'] = 'Default'
                config.build_settings['ENABLE_BITCODE'] = 'NO'
            end
        end
    end
    
  9. changed the title [-]Flutter Dependency Issues with Flutter Plugins[/-] [+]Creating a Podfile to add iOS pods before adding any Flutter plugins never hooks up the plugin pods in the existing Podfile[/+] on Oct 21, 2019
  10. jmagman commented on Oct 21, 2019

    @jmagman
    Member

    Retitled.

    Thanks for all that investigation. I don't think adding the Podfile manually instead of using flutter was considered as a use-case, but I can see why you would want to add pods even before any pubspec dependencies have platform-specific code (which would make the tool generate a default Podfile to install the podspecs in the pub-cache). If the Podfile already exists because it was created manually, the tool skips that step.

    I'm not quite sure what to do about that, since the Podfile is not "owned" by flutter once it's created (i.e. not regenerated every build, or versioned). It could cause unexpected issues if flutter just started editing your custom Podfile.

  11. iapicca commented on Mar 16, 2020

    @iapicca

    Hi @sumajeed
    if the issue persist with the latest stable version of flutter
    could you please provide your updated flutter doctor -v ,
    your flutter run --verbose
    and if possible a reproducible minimal code sample.
    Thank you

  12. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Mar 16, 2020
  13. jmagman commented on Mar 16, 2020

    @jmagman
    Member

    @iapicca We don't need a repro case here.

  14. removed
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    on Mar 16, 2020
  15. ollyde commented on Apr 29, 2020

    @ollyde

    Did anyone find a solution for this? We are creating some platform-specific code that relies on LiveKit from iOS and we need to a Pod manually, how can we do this?

  16. jmagman commented on Apr 29, 2020

    @jmagman
    Member

    @OllyDixon If you are using Flutter plugins, you can delete your custom ios/Podfile, flutter run to re-create it with Flutter plugins, then re-add your custom changes to the regenerated file (what this issue is tracking).

    If you are not using Flutter plugins, then flutter tool won't run pod install and that's worth a new issue since that's a different (and easier) feature request.

  17. rashedmyt commented on May 1, 2020

    @rashedmyt

    Are there any particular reasons why the Podfile is not generated when the project is created but only when atleast one flutter plugin is used? From what I've seen all the necessary flutter plugin related stuff is present in .flutter-plugins, .flutter-plugin-dependencies files and ios/.symlinks folder.. and in anyway doesn't alter the Podfile.. So I think it should be a part of template for creating project..

  18. ollyde commented on May 1, 2020

    @ollyde

    @jmagman it gets deleted each time flutter runs.

  19. jmagman commented on May 4, 2020

    @jmagman
    Member

    @OllyDixon What's your output of flutter doctor -v? The Podfile isn't supposed to be deleted out from under you.

    /// The user may have a custom maintained Podfile that they're running `pod install`
    /// on themselves.
    else if (subproject.podfile.existsSync() && subproject.podfileLock.existsSync()) {
    globals.cocoaPods.addPodsDependencyToFlutterXcconfig(subproject);
    }

    @rashedmyt At the moment the presence of the Podfile indicates that pod install needs to be run during flutter run because, as this issue shows, people may have their own Podfile that doesn't use Flutter plugins so the tool doesn't know about it. And it's not just automatically run because CocoaPods is not a development dependency unless you are using Flutter plugins.

  20. added
    P2Important issues not at the top of the work list
    on Aug 18, 2020
  21. ishaileshmishra commented on Sep 2, 2020

    @ishaileshmishra

    do the following:

    flutter clean
    pod install

  22. added
    P3Issues that are less important to the Flutter project
    and removed
    P2Important issues not at the top of the work list
    on Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectplatform-iosiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions