flutter / flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond
https://flutter.dev
BSD 3-Clause "New" or "Revised" License
166.27k stars 27.51k forks source link

Running new app on actual iOS (13.3.1) device crashes on startup: code signature invalid for "path/to/Flutter.framework/Flutter" #49504

Closed devforey closed 4 years ago

devforey commented 4 years ago

Steps to Reproduce

I'm trying to debug my app into my actual device but it is crashing on startup. Running flutter run in cmd and running it in XCode provides different error.

  1. flutter create app
  2. flutter build ios
  3. open ios/Runner.xcworkspace
  4. Go to Runner Project -> Signing & Capabilities and select non-developer account team with valid Bundle identifier.
  5. Connect iPhone XS with iOS v13.3.1

with XCode run

Logs

My developer certificate already uses Use system defaults in settings.

logs ```bash dyld: Library not loaded: @rpath/Flutter.framework/Flutter Referenced from: /private/var/containers/Bundle/Application/D0BD5694-A7D6-4820-A146-A49DF0C0F0B1/Runner.app/Runner Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/D0BD5694-A7D6-4820-A146-A49DF0C0F0B1/Runner.app/Frameworks/Flutter.framework/Flutter: code signature invalid for '/private/var/containers/Bundle/Application/D0BD5694-A7D6-4820-A146-A49DF0C0F0B1/Runner.app/Frameworks/Flutter.framework/Flutter' ``` ### with `flutter run` 6. `flutter run` with the logs below, I already unchecked `iPhone USB -> Disabled unless needed` but still no avail. ## Logs ``` oolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate Signing Identity: "Apple Development: devforey@gmail.com (V47H3YVN3Y)" Provisioning Profile: "iOS Team Provisioning Profile: com.example.sproutHr" (6208812c-03d7-4c32-9f9f-0fb665d8adb0) /usr/bin/codesign --force --sign 530AF2C65A110783C7DC208A907B12DF048AF1F2 --entitlements /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/Runner.app.xcent --timestamp=none /Users/macbook/Development/flutter/experiments/build/ios/Debu g-iphoneos/Runner.app Validate /Users/macbook/Development/flutter/experiments/build/ios/Debug-ip honeos/Runner.app (in target 'Runner' from project 'Runner') cd /Users/macbook/Development/flutter/experiments/ios builtin-validationUtility /Users/macbook/Development/flutter/experiments/build/ios/Debu g-iphoneos/Runner.app ** BUILD SUCCEEDED ** [ +234 ms] └─Compiling, linking and signing... (completed in 6.6s) [ +1 ms] Xcode build done. 13.7s [ +1 ms] executing: [/Users/macbook/Development/flutter/experiments/ios/] /usr/bin/env xcrun xcodebuild -configuration Debug VERBOSE_SCRIPT_LOGGING=YES -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/macbook/Development/flutter/experiments/build/ios -sdk iphoneos SCRIPT_OUTPUT_STREAM_FILE=/var/folders/hr/_sk0ny2j14j2xnw165tclzdr0000gn/T/flutter_bu ild_log_pipe.gZ5PRQ/pipe_to_stdout FLUTTER_SUPPRESS_ANALYTICS=true COMPILER_INDEX_STORE_ENABLE=NO -showBuildSettings [ ] executing: [/Users/macbook/Development/flutter/experiments/ios/] /usr/bin/env xcrun xcodebuild -configuration Debug VERBOSE_SCRIPT_LOGGING=YES -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/macbook/Development/flutter/experiments/build/ios -sdk iphoneos SCRIPT_OUTPUT_STREAM_FILE=/var/folders/hr/_sk0ny2j14j2xnw165tclzdr0000gn/T/flutter_bu ild_log_pipe.gZ5PRQ/pipe_to_stdout FLUTTER_SUPPRESS_ANALYTICS=true COMPILER_INDEX_STORE_ENABLE=NO -showBuildSettings [+3293 ms] Build settings from command line: BUILD_DIR = /Users/macbook/Development/flutter/experiments/build/ios COMPILER_INDEX_STORE_ENABLE = NO FLUTTER_SUPPRESS_ANALYTICS = true SCRIPT_OUTPUT_STREAM_FILE = /var/folders/hr/_sk0ny2j14j2xnw165tclzdr0000gn/T/flutter_buil d_log_pipe.gZ5PRQ/pipe_to_stdout SDKROOT = iphoneos13.2 VERBOSE_SCRIPT_LOGGING = YES 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 = macbook ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO 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 APPLY_RULES_IN_COPY_HEADERS = NO ARCHS = armv7 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/macbook/Development/flutter/experiments/build/ios BUILD_LIBRARY_FOR_DISTRIBUTION = NO BUILD_ROOT = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Products BUILD_STYLE = BUILD_VARIANTS = normal BUILT_PRODUCTS_DIR = /Users/macbook/Development/flutter/experiments/build/ios/Debu g-iphoneos CACHE_ROOT = /var/folders/hr/_sk0ny2j14j2xnw165tclzdr0000gn/C/com.apple.De veloperTools/11.3.1-11C504/Xcode CCHROOT = /var/folders/hr/_sk0ny2j14j2xnw165tclzdr0000gn/C/com.apple.De veloperTools/11.3.1-11C504/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_DEPRECATED_OBJC_IMPLEMENTATIONS = 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_IMPLICIT_RETAIN_SELF = 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/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/JavaClasses CLEAN_PRECOMPS = YES CLONE_HEADERS = NO CODESIGNING_FOLDER_PATH = /Users/macbook/Development/flutter/experiments/build/ios/Debu g-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 = NO COMPOSITE_SDK_DIRS = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Composi teSDKs COMPRESS_PNG_FILES = YES CONFIGURATION = Debug CONFIGURATION_BUILD_DIR = /Users/macbook/Development/flutter/experiments/build/ios/Debu g-iphoneos CONFIGURATION_TEMP_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-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/iPhoneSi mulator.platform CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSi mulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator13.2 CP = /bin/cp CREATE_INFOPLIST_SECTION_IN_BINARY = NO CURRENT_ARCH = armv7 CURRENT_PROJECT_VERSION = 1 CURRENT_VARIANT = normal DEAD_CODE_STRIPPING = YES DEBUGGING_SYMBOLS = YES DEBUG_INFORMATION_FORMAT = dwarf DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0 DEFAULT_DEXT_INSTALL_PATH = /System/Library/DriverExtensions 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 12.2 12.3 12.4 13.0 13.1 13.2 DERIVED_FILES_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/DerivedSources DERIVED_FILE_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/DerivedSources DERIVED_SOURCES_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-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.p latform/Developer/SDKs DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Tools DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr DEVELOPMENT_LANGUAGE = en DEVELOPMENT_TEAM = R87566VQY5 DOCUMENTATION_FOLDER_PATH = Runner.app/en.lproj/Documentation DONT_GENERATE_INFOPLIST_FILE = NO DO_HEADER_SCANNING_IN_JAM = NO DSTROOT = /tmp/Runner.dst DT_TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDe fault.xctoolchain DWARF_DSYM_FILE_NAME = Runner.app.dSYM DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO DWARF_DSYM_FOLDER_PATH = /Users/macbook/Development/flutter/experiments/build/ios/Debu g-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_HARDENED_RUNTIME = NO ENABLE_HEADER_DEPENDENCIES = YES ENABLE_ON_DEMAND_RESOURCES = YES ENABLE_STRICT_OBJC_MSGSEND = YES ENABLE_TESTABILITY = YES 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/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/Objects/LinkFileList FIXED_FILES_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/FixedFiles FLUTTER_APPLICATION_PATH = /Users/macbook/Development/flutter/experiments FLUTTER_BUILD_DIR = build FLUTTER_BUILD_NAME = 1.0.0 FLUTTER_BUILD_NUMBER = 1 FLUTTER_FRAMEWORK_DIR = /Users/macbook/Development/mobile-dev-tools/flutter/bin/cache /artifacts/engine/ios FLUTTER_ROOT = /Users/macbook/Development/mobile-dev-tools/flutter FLUTTER_SUPPRESS_ANALYTICS = true FLUTTER_TARGET = /Users/macbook/Development/flutter/experiments/lib/main.dart FRAMEWORKS_FOLDER_PATH = Runner.app/Frameworks FRAMEWORK_FLAG_PREFIX = -framework FRAMEWORK_SEARCH_PATHS = /Users/macbook/Development/flutter/experiments/ios/Flutter FRAMEWORK_VERSION = A FULL_PRODUCT_NAME = Runner.app GCC3_VERSION = 3.3 GCC_C_LANGUAGE_STANDARD = gnu99 GCC_DYNAMIC_NO_PIC = NO GCC_INLINES_ARE_PRIVATE_EXTERN = YES GCC_NO_COMMON_BLOCKS = YES GCC_OPTIMIZATION_LEVEL = 0 GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++ GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 GCC_SYMBOLS_PRIVATE_EXTERN = NO 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 HIDE_BITCODE_SYMBOLS = YES HOME = /Users/macbook 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/en.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 = macbook INSTALL_PATH = /Applications INSTALL_ROOT = /tmp/Runner.dst IPHONEOS_DEPLOYMENT_TARGET = 8.0 JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8 JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/J avaApplicationStub 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/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/Objects-normal/armv7/Runner _dependency_info.dat LD_GENERATE_MAP_FILE = NO LD_MAP_FILE_PATH = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/Runner-LinkMap-normal-armv7 .txt LD_NO_PIE = NO LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES LD_RUNPATH_SEARCH_PATHS = @executable_path/Frameworks LEGACY_DEVELOPER_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin /Contents/SharedSupport/Developer LEX = lex LIBRARY_DEXT_INSTALL_PATH = /Library/DriverExtensions LIBRARY_FLAG_NOSPACE = YES LIBRARY_FLAG_PREFIX = -l LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions LIBRARY_SEARCH_PATHS = /Users/macbook/Development/flutter/experiments/ios/Flutter LINKER_DISPLAYS_MANGLED_NAMES = NO LINK_FILE_LIST_normal_armv7 = LINK_WITH_STANDARD_LIBRARIES = YES LLVM_TARGET_TRIPLE_OS_VERSION = ios8.0 LLVM_TARGET_TRIPLE_VENDOR = apple LOCALIZABLE_CONTENT_DIR = LOCALIZED_RESOURCES_FOLDER_PATH = Runner.app/en.lproj LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFCopyLocalizedString LOCALIZED_STRING_SWIFTUI_SUPPORT = YES 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 = 19C57 MAC_OS_X_VERSION_ACTUAL = 101502 MAC_OS_X_VERSION_MAJOR = 101500 MAC_OS_X_VERSION_MINOR = 1502 METAL_LIBRARY_FILE_BASE = default METAL_LIBRARY_OUTPUT_DIR = /Users/macbook/Development/flutter/experiments/build/ios/Debu g-iphoneos/Runner.app MODULES_FOLDER_PATH = Runner.app/Modules MODULE_CACHE_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/ModuleCach e.noindex MTL_ENABLE_DEBUG_INFO = YES 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/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/Objects OBJECT_FILE_DIR_normal = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/Objects-normal OBJROOT = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex ONLY_ACTIVE_ARCH = YES OS = MACOS OSAC = /usr/bin/osacompile 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:~/Development/mobile-dev-tools/flutter/bin:~./D evelopment/mobile-dev-tools/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/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/PkgInfo PKGINFO_PATH = Runner.app/PkgInfo PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS .platform/Developer/Applications PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS .platform/Developer/usr/bin PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin /Contents/SharedSupport/Developer/Library PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS .platform/Developer/SDKs PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS .platform/Developer/Tools PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS .platform/Developer/usr PLATFORM_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS .platform PLATFORM_DISPLAY_NAME = iOS PLATFORM_NAME = iphoneos PLATFORM_PREFERRED_ARCH = arm64 PLATFORM_PRODUCT_BUILD_VERSION = 17B102 PLIST_FILE_OUTPUT_FORMAT = binary PLUGINS_FOLDER_PATH = Runner.app/PlugIns PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES PRECOMP_DESTINATION_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/PrefixHeaders PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO PRIVATE_HEADERS_FOLDER_PATH = Runner.app/PrivateHeaders PRODUCT_BUNDLE_IDENTIFIER = com.example.sproutHr PRODUCT_BUNDLE_PACKAGE_TYPE = APPL PRODUCT_MODULE_NAME = Runner PRODUCT_NAME = Runner PRODUCT_SETTINGS_PATH = /Users/macbook/Development/flutter/experiments/ios/Runner/Inf o.plist PRODUCT_TYPE = com.apple.product-type.application PROFILING_CODE = NO PROJECT = Runner PROJECT_DERIVED_FILE_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/DerivedSources PROJECT_DIR = /Users/macbook/Development/flutter/experiments/ios PROJECT_FILE_PATH = /Users/macbook/Development/flutter/experiments/ios/Runner.xco deproj PROJECT_NAME = Runner PROJECT_TEMP_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build PROJECT_TEMP_ROOT = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/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/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/ResourceManagerResources REZ_OBJECTS_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build/ResourceManagerResources/Ob jects SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO SCRIPTS_FOLDER_PATH = Runner.app/Scripts SCRIPT_OUTPUT_STREAM_FILE = /var/folders/hr/_sk0ny2j14j2xnw165tclzdr0000gn/T/flutter_buil d_log_pipe.gZ5PRQ/pipe_to_stdout SDKROOT = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS .platform/Developer/SDKs/iPhoneOS13.2.sdk SDK_DIR = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS .platform/Developer/SDKs/iPhoneOS13.2.sdk SDK_DIR_iphoneos13_2 = /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS .platform/Developer/SDKs/iPhoneOS13.2.sdk SDK_NAME = iphoneos13.2 SDK_NAMES = iphoneos13.2 SDK_PRODUCT_BUILD_VERSION = 17B102 SDK_VERSION = 13.2 SDK_VERSION_ACTUAL = 130200 SDK_VERSION_MAJOR = 130000 SDK_VERSION_MINOR = 200 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/macbook/Development/flutter/experiments/build/ios/Debu g-iphoneos/DerivedSources SHARED_FRAMEWORKS_FOLDER_PATH = Runner.app/SharedFrameworks SHARED_PRECOMPS_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Precomp iledHeaders SHARED_SUPPORT_FOLDER_PATH = Runner.app/SharedSupport SKIP_INSTALL = NO SOURCE_ROOT = /Users/macbook/Development/flutter/experiments/ios SRCROOT = /Users/macbook/Development/flutter/experiments/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_MACCATALYST = NO SUPPORTS_TEXT_BASED_API = NO SWIFT_OBJC_BRIDGING_HEADER = Runner/Runner-Bridging-Header.h SWIFT_OPTIMIZATION_LEVEL = -Onone SWIFT_PLATFORM_TARGET_PREFIX = ios SWIFT_VERSION = 5.0 SYMROOT = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Products SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities SYSTEM_APPS_DIR = /Applications SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices SYSTEM_DEMOS_DIR = /Applications/Extras SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode.app/Contents/Developer/Applications SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode.app/Contents/Developer/usr/bin SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utili ties/Built Examples SYSTEM_DEVELOPER_DIR = /Applications/Xcode.app/Contents/Developer SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Graph ics Tools SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Java Tools SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Perfo rmance Tools SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode.app/Contents/Developer/Tools SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode.app/Contents/Developer/usr SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode.app/Contents/Developer/Applications/Utili ties SYSTEM_DEXT_INSTALL_PATH = /System/Library/DriverExtensions SYSTEM_DOCUMENTATION_DIR = /Library/Documentation SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions SYSTEM_LIBRARY_DIR = /System/Library TAPI_VERIFY_MODE = ErrorsOnly TARGETED_DEVICE_FAMILY = 1,2 TARGETNAME = Runner TARGET_BUILD_DIR = /Users/macbook/Development/flutter/experiments/build/ios/Debu g-iphoneos TARGET_NAME = Runner TARGET_TEMP_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build TEMP_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build TEMP_FILES_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build TEMP_FILE_DIR = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex/Runner. build/Debug-iphoneos/Runner.build TEMP_ROOT = /Users/macbook/Library/Developer/Xcode/DerivedData/Runner-csz hyptrpbycnrbnnempfzgmezrq/Build/Intermediates.noindex TOOLCHAIN_DIR = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDe fault.xctoolchain TRACK_WIDGET_CREATION = true TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO UID = 501 UNLOCALIZED_RESOURCES_FOLDER_PATH = Runner.app UNSTRIPPED_PRODUCT = NO USER = macbook USER_APPS_DIR = /Users/macbook/Applications USER_LIBRARY_DIR = /Users/macbook/Library USE_DYNAMIC_NO_PIC = YES USE_HEADERMAP = YES USE_HEADER_SYMLINKS = NO USE_LLVM_TARGET_TRIPLES = YES USE_LLVM_TARGET_TRIPLES_FOR_CLANG = YES USE_LLVM_TARGET_TRIPLES_FOR_LD = YES USE_LLVM_TARGET_TRIPLES_FOR_TAPI = YES VALIDATE_PRODUCT = NO VALIDATE_WORKSPACE = NO VALID_ARCHS = arm64 arm64e armv7 armv7s VERBOSE_PBXCP = NO VERBOSE_SCRIPT_LOGGING = YES VERSIONING_SYSTEM = apple-generic VERSIONPLIST_PATH = Runner.app/version.plist VERSION_INFO_BUILDER = macbook VERSION_INFO_FILE = Runner_vers.c VERSION_INFO_STRING = "@(#)PROGRAM:Runner PROJECT:Runner-1" WRAPPER_EXTENSION = app WRAPPER_NAME = Runner.app WRAPPER_SUFFIX = .app WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO XCODE_APP_SUPPORT_DIR = /Applications/Xcode.app/Contents/Developer/Library/Xcode XCODE_PRODUCT_BUILD_VERSION = 11C504 XCODE_VERSION_ACTUAL = 1131 XCODE_VERSION_MAJOR = 1100 XCODE_VERSION_MINOR = 1130 XPCSERVICES_FOLDER_PATH = Runner.app/XPCServices YACC = yacc arch = armv7 variant = normal 2020-01-26 20:25:24.927 xcodebuild[30367:283860] DTDeviceKit: deviceType from 00008020-000C19293C6A002E was NULL 2020-01-26 20:25:25.029 xcodebuild[30367:283868] DTDeviceKit: deviceType from 00008020-000C19293C6A002E was NULL [ +371 ms] Installing and launching... [ ] Debugging is enabled, connecting to observatory [ +3 ms] executing: /Users/macbook/Development/mobile-dev-tools/flutter/bin/cache/artifacts/ios-deploy/io s-deploy --id 00008020-000C19293C6A002E --bundle build/ios/iphoneos/Runner.app --no-wifi --justlaunch --args --enable-dart-profiling --enable-checked-mode --verify-entry-points [ +51 ms] [....] Waiting for iOS device to be connected [ +12 ms] [....] Using 00008020-000C19293C6A002E (D321AP, iPhone XS, iphoneos, arm64e) a.k.a. 'iPhone'. [ ] ------ Install phase ------ [ ] [ 0%] Found 00008020-000C19293C6A002E (D321AP, iPhone XS, iphoneos, arm64e) a.k.a. 'iPhone' connected through USB, beginning install [ +220 ms] [ 5%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/META-INF / to device [ +1 ms] [ 5%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/META-INF /com.apple.ZipMetadata.plist to device [ ] [ 5%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/_CodeSig nature/ to device [ ] [ 5%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/_CodeSig nature/CodeResources to device [ ] [ 6%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon2 0x20@2x.png to device [ ] [ 6%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon2 0x20@3x.png to device [ ] [ 6%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon2 9x29.png to device [ ] [ 7%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon6 0x60@2x.png to device [ ] [ 7%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Runner to device [ +2 ms] [ 7%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon2 9x29@2x.png to device [ ] [ 7%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon4 0x40@3x.png to device [ ] [ 8%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon2 9x29~ipad.png to device [ +4 ms] [ 8%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon4 0x40@2x.png to device [ ] [ 8%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon2 9x29@3x.png to device [ ] [ 9%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon6 0x60@3x.png to device [ ] [ 9%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/ to device [ ] [ 9%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/Main.storyboardc/ to device [ ] [ 10%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib/ to device [ ] [ 10%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib/objects-13.0+.nib to device [ ] [ 10%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/Main.storyboardc/UIViewController-BYZ-38-t0r.nib/runtime.nib to device [ +1 ms] [ 10%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib/ to device [ +1 ms] [ 11%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib/objects-13.0+.nib to device [ ] [ 11%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC.nib/runtime.nib to device [ ] [ 11%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/Main.storyboardc/Info.plist to device [ ] [ 12%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/LaunchScreen.storyboardc/ to device [ ] [ 12%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib/ to device [ ] [ 12%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib/objects-13.0+.nib to device [ ] [ 12%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib/runtime.nib to device [ ] [ 13%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib/ to device [ ] [ 13%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib/objects-13.0+.nib to device [ ] [ 13%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib/runtime.nib to device [ ] [ 14%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Base.lpr oj/LaunchScreen.storyboardc/Info.plist to device [ ] [ 14%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Assets.c ar to device [ ] [ 14%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppFrame workInfo.plist to device [ ] [ 15%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon4 0x40@2x~ipad.png to device [ ] [ 15%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon7 6x76@2x~ipad.png to device [ ] [ 15%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon8 3.5x83.5@2x~ipad.png to device [ ] [ 15%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon2 9x29@2x~ipad.png to device [ ] [ 16%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon4 0x40~ipad.png to device [ +6 ms] [ 16%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/ to device [ ] [ 16%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/libswiftObjectiveC.dylib to device [ ] [ 17%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/libswiftCore.dylib to device [+2414 ms] [ 21%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/libswiftCoreGraphics.dylib to device [ +282 ms] [ 21%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/libswiftDispatch.dylib to device [ +242 ms] [ 22%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/libswiftCoreFoundation.dylib to device [ +17 ms] [ 22%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/Flutter.framework/ to device [ ] [ 23%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/Flutter.framework/_CodeSignature/ to device [ ] [ 23%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/Flutter.framework/_CodeSignature/CodeResources to device [ ] [ 23%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/Flutter.framework/icudtl.dat to device [ +65 ms] [ 24%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/Flutter.framework/Flutter to device [+5178 ms] [ 34%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/Flutter.framework/Info.plist to device [ ] [ 34%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/ to device [ ] [ 35%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/_CodeSignature/ to device [ ] [ 35%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/_CodeSignature/CodeResources to device [ ] [ 35%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/App to device [ ] [ 36%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/ to device [ ] [ 36%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/LICENSE to device [ +68 ms] [ 36%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/vm_snapshot_data to device [ ] [ 37%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/isolate_snapshot_data to device [ +390 ms] [ 38%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/AssetManifest.json to device [ +1 ms] [ 38%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/kernel_blob.bin to device [+2206 ms] [ 43%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/FontManifest.json to device [ ] [ 43%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/packages/ to device [ ] [ 43%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/packages/cupertino_icons/ to device [ ] [ 44%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/packages/cupertino_icons/assets/ to device [ ] [ 44%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf to device [ ] [ 44%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/fonts/ to device [ ] [ 44%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/flutter_assets/fonts/MaterialIcons-Regular.ttf to device [ +8 ms] [ 45%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/App.framework/Info.plist to device [ ] [ 45%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/libswiftDarwin.dylib to device [ +58 ms] [ 45%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Framewor ks/libswiftFoundation.dylib to device [+1545 ms] [ 48%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon2 0x20~ipad.png to device [ ] [ 48%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/embedded .mobileprovision to device [ ] [ 48%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon2 0x20@2x~ipad.png to device [ ] [ 49%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/Info.pli st to device [ ] [ 49%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/PkgInfo to device [ ] [ 49%] Copying /Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app/AppIcon7 6x76~ipad.png to device [ +322 ms] [ 52%] CreatingStagingDirectory [ ] [ 57%] ExtractingPackage [ ] [ 60%] InspectingPackage [ +22 ms] [ 60%] TakingInstallLock [ +119 ms] [ 65%] PreflightingApplication [ +64 ms] [ 65%] InstallingEmbeddedProfile [ +39 ms] [ 70%] VerifyingApplication [+1878 ms] [ 75%] CreatingContainer [ +5 ms] [ 80%] InstallingApplication [ +5 ms] [ 85%] PostflightingApplication [ +6 ms] [ 90%] SandboxingApplication [ +15 ms] [ 95%] GeneratingApplicationMap [ +67 ms] [100%] Installed package build/ios/iphoneos/Runner.app [ +184 ms] ------ Debug phase ------ [ ] Starting debug of 00008020-000C19293C6A002E (D321AP, iPhone XS, iphoneos, arm64e) a.k.a. 'iPhone' connected through USB... [ +910 ms] [ 0%] Looking up developer disk image [ +22 ms] [ 95%] Developer disk image mounted successfully [+1169 ms] [100%] Connecting to remote debug server [ ] ------------------------- [ +622 ms] (lldb) command source -s 0 '/tmp/6494FEFE-6B11-44AE-827D-10264ADD15F6/fruitstrap-lldb-prep-cmds-00008020_000C192 93C6A002E' [ ] Executing commands in '/tmp/6494FEFE-6B11-44AE-827D-10264ADD15F6/fruitstrap-lldb-prep-cmds-00008020_000C192 93C6A002E'. [ ] (lldb) platform select remote-ios --sysroot '/Users/macbook/Library/Developer/Xcode/iOS DeviceSupport/13.3.1 (17D5050a) arm64e/Symbols' [ ] Platform: remote-ios [ ] Connected: no [ ] SDK Path: "/Users/macbook/Library/Developer/Xcode/iOS DeviceSupport/13.3.1 (17D5050a) arm64e/Symbols" [ ] (lldb) target create "/Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app" [+6705 ms] Current executable set to '/Users/macbook/Development/flutter/experiments/build/ios/iphoneos/Runner.app' (arm64). [ ] (lldb) script fruitstrap_device_app="/private/var/containers/Bundle/Application/FF0C20D0-28D7-435D- 9889-AF655AA70677/Runner.app" [ +369 ms] (lldb) script fruitstrap_connect_url="connect://127.0.0.1:62949" [ ] (lldb) script fruitstrap_output_path="" [ ] (lldb) script fruitstrap_error_path="" [ ] (lldb) target modules search-paths add /usr "/Users/macbook/Library/Developer/Xcode/iOS DeviceSupport/13.3.1 (17D5050a) arm64e/Symbols/usr" /System "/Users/macbook/Library/Developer/Xcode/iOS DeviceSupport/13.3.1 (17D5050a) arm64e/Symbols/System" "/private/var/containers/Bundle/Application/FF0C20D0-28D7-435D-9889-AF655AA70677" "/Users/macbook/Development/flutter/experiments/build/ios/iphoneos" "/var/containers/Bundle/Application/FF0C20D0-28D7-435D-9889-AF655AA70677" "/Users/macbook/Development/flutter/experiments/build/ios/iphoneos" /Developer "/Users/macbook/Library/Developer/Xcode/iOS DeviceSupport/13.3.1 (17D5050a) arm64e/Symbols/Developer" [ +120 ms] (lldb) command script import "/tmp/6494FEFE-6B11-44AE-827D-10264ADD15F6/fruitstrap_00008020_000C19293C6A002E.py" [ +6 ms] (lldb) command script add -f fruitstrap_00008020_000C19293C6A002E.connect_command connect [ ] (lldb) command script add -s asynchronous -f fruitstrap_00008020_000C19293C6A002E.run_command run [ ] (lldb) command script add -s asynchronous -f fruitstrap_00008020_000C19293C6A002E.autoexit_command autoexit [ ] (lldb) command script add -s asynchronous -f fruitstrap_00008020_000C19293C6A002E.safequit_command safequit [ ] (lldb) connect [ +35 ms] (lldb) run [ +182 ms] success [ ] (lldb) safequit [ +175 ms] Application launched on the device. Waiting for observatory port. [ +3 ms] Checking for advertised Dart observatories... [+5020 ms] No pointer records found. [ +1 ms] mDNS query failed. Checking for an interface with a ipv4 link local address. [ +2 ms] Found interface "en0": [ ] Bound address: "192.168.0.26" [ ] Found interface "en5": [ ] Bound address: "172.20.10.3" [ +2 ms] The mDNS query for an attached iOS device failed. It may be necessary to disable the "Personal Hotspot" on the device, and to ensure that the "Disable unless needed" setting is unchecked under System Preferences > Network > iPhone USB. See https://github.com/flutter/flutter/issues/46698 for details. [ +2 ms] mDNS lookup failed, attempting fallback to reading device log. [ ] Waiting for observatory port. ```
Flutter (Channel master, v1.14.5-pre.36, on Mac OS X 10.15.2 19C57, locale en-PH)
    • Flutter version 1.14.5-pre.36 at
      /Users/macbook/Development/mobile-dev-tools/flutter
    • Framework revision 251003690f (10 hours ago), 2020-01-25 21:50:36 -0500
    • Engine revision 276481c4d3
    • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/macbook/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[!] Android Studio (version 3.5)
    • Android Studio at /Applications/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_202-release-1483-b49-5587405)

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

[✓] Connected device (1 available)
    • iPhone • 00008020-000C19293C6A002E • ios • iOS 13.3.1

! Doctor found issues in 1 category.
jmagman commented 4 years ago
  1. Do you have the same team / cert set up in flutter config (under ios-signing-cert: heading) as you do in Xcode "Signing & Capabilities" tab (Apple Development: devforey@gmail.com (V47H3YVN3Y))?

  2. Can you confirm you have All selected on that tab?

    Screen Shot 2020-01-27 at 12 32 54 PM
devforey commented 4 years ago

Currently I'm using a different developer account but I adjusted both to be the same for Flutter config and Xcode but the error is the same.

image image

jmagman commented 4 years ago

Are you seeing the same error on flutter build and Xcode now that they are using the same cert? Which errors are you getting now?

devforey commented 4 years ago

Thank you! Now it produces a different error. Just weird that running in Xcode produces the same error but now, running with flutter run -v produces a different error.

[  +26 ms] (lldb)     command script import "/tmp/E084CD09-C1F9-4FD9-B3E8-563223E94F79/fruitstrap_00008020_000C19293C6A002E.py"
[   +8 ms] (lldb)     command script add -f fruitstrap_00008020_000C19293C6A002E.connect_command connect
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_00008020_000C19293C6A002E.run_command run
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_00008020_000C19293C6A002E.autoexit_command autoexit
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_00008020_000C19293C6A002E.safequit_command safequit
[        ] (lldb)     connect
[  +44 ms] (lldb)     run
[ +225 ms] success
[        ] (lldb)     safequit
[ +194 ms] Application launched on the device. Waiting for observatory port.
[   +3 ms] Checking for advertised Dart observatories...
[+5021 ms] No pointer records found.
[   +3 ms] mDNS lookup failed, attempting fallback to reading device log.
[        ] Waiting for observatory port.

I did try searching for mDNS error with this message No pointer records found. here #46705 but there's nothing in there that is similar to the error message.

This seems like a new error with iOS. Please advise if we should move in #46705 instead then close this issue. :)

jmagman commented 4 years ago

@devforey What's the error in Xcode? The signing error still?

devforey commented 4 years ago

@jmagman Yeah, it is still the same. I already Project -> Clean

dyld: Library not loaded: @rpath/Flutter.framework/Flutter
  Referenced from: /private/var/containers/Bundle/Application/FD2F4614-E52B-4EAB-ADE6-EFBC081518AC/Runner.app/Runner
  Reason: no suitable image found.  Did find:
    /private/var/containers/Bundle/Application/FD2F4614-E52B-4EAB-ADE6-EFBC081518AC/Runner.app/Frameworks/Flutter.framework/Flutter: code signature invalid for '/private/var/containers/Bundle/Application/FD2F4614-E52B-4EAB-ADE6-EFBC081518AC/Runner.app/Frameworks/Flutter.framework/Flutter'
davidevaliante commented 4 years ago

49693 same behavious with slightly different errors

bradystroud commented 4 years ago

@jmagman Yeah, it is still the same. I already Project -> Clean

dyld: Library not loaded: @rpath/Flutter.framework/Flutter
  Referenced from: /private/var/containers/Bundle/Application/FD2F4614-E52B-4EAB-ADE6-EFBC081518AC/Runner.app/Runner
  Reason: no suitable image found.  Did find:
  /private/var/containers/Bundle/Application/FD2F4614-E52B-4EAB-ADE6-EFBC081518AC/Runner.app/Frameworks/Flutter.framework/Flutter: code signature invalid for '/private/var/containers/Bundle/Application/FD2F4614-E52B-4EAB-ADE6-EFBC081518AC/Runner.app/Frameworks/Flutter.framework/Flutter'

I'm having same issue on the same iOS version, but it seems to work on older versions.

Is it working on your sims?

Have you tried running the app from Flutter master channel?

angelocapone commented 4 years ago

Having the same issue. I’ve created a fresh flutter project. It works on iOS simulator but not on my physical device iPhone 11. My setup is: iOS 13.3.1 Flutter (Channel stable, v1.12.13+hotfix.7) Xcode 11.3.1 MacOS Catalina 10.15.3

angelocapone commented 4 years ago

Xcode gives this error: dyld`__abort_with_payload: 0x1042f72a4 <+0>: mov x16, #0x209 0x1042f72a8 <+4>: svc #0x80 -> 0x1042f72ac <+8>: b.lo 0x1042f72c8 ; <+36> 0x1042f72b0 <+12>: stp x29, x30, [sp, #-0x10]! 0x1042f72b4 <+16>: mov x29, sp 0x1042f72b8 <+20>: bl 0x1042f57d8 ; cerror_nocancel 0x1042f72bc <+24>: mov sp, x29 0x1042f72c0 <+28>: ldp x29, x30, [sp], #0x10 0x1042f72c4 <+32>: ret
0x1042f72c8 <+36>: ret

dyld: Library not loaded: @rpath/Flutter.framework/Flutter Referenced from: /private/var/containers/Bundle/Application/0A39AACE-0A89-4B76-8ACA-CD96ABA10577/Runner.app/Runner Reason: no suitable image found. Did find: /private/var/containers/Bundle/Application/0A39AACE-0A89-4B76-8ACA-CD96ABA10577/Runner.app/Frameworks/Flutter.framework/Flutter: code signature invalid for '/private/var/containers/Bundle/Application/0A39AACE-0A89-4B76-8ACA-CD96ABA10577/Runner.app/Frameworks/Flutter.framework/Flutter'

(lldb)

angelocapone commented 4 years ago

I have also tried to create a new project on Flutter master channel.

angelocapone commented 4 years ago

flutter log:

[  +81 ms] (lldb) command source -s 0 '/tmp/02CF1BD2-4215-4EDD-8013-35B6375A2B8D/fruitstrap-lldb-prep-cmds-00008030_000A059E3CDA802E'
[        ] Executing commands in '/tmp/02CF1BD2-4215-4EDD-8013-35B6375A2B8D/fruitstrap-lldb-prep-cmds-00008030_000A059E3CDA802E'.
[        ] (lldb)     platform select remote-ios --sysroot '/Users/angelo/Library/Developer/Xcode/iOS DeviceSupport/13.3.1 (17D50) arm64e/Symbols'
[        ]   Platform: remote-ios
[        ]  Connected: no
[        ]   SDK Path: "/Users/angelo/Library/Developer/Xcode/iOS DeviceSupport/13.3.1 (17D50) arm64e/Symbols"
[        ] (lldb)     target create "/Users/angelo/Documents/projects/test10_angelo/build/ios/iphoneos/Runner.app"
[+3297 ms] Current executable set to '/Users/angelo/Documents/projects/test10_angelo/build/ios/iphoneos/Runner.app' (arm64).
[        ] (lldb)     script fruitstrap_device_app="/private/var/containers/Bundle/Application/876D6382-5F26-4ED3-9DA2-F7D417FFAD05/Runner.app"
[ +185 ms] (lldb)     script fruitstrap_connect_url="connect://127.0.0.1:50661"
[        ] (lldb)     script fruitstrap_output_path=""
[        ] (lldb)     script fruitstrap_error_path=""
[        ] (lldb)     target modules search-paths add /usr "/Users/angelo/Library/Developer/Xcode/iOS DeviceSupport/13.3.1 (17D50) arm64e/Symbols/usr" /System "/Users/angelo/Library/Developer/Xcode/iOS DeviceSupport/13.3.1 (17D50)
arm64e/Symbols/System" "/private/var/containers/Bundle/Application/876D6382-5F26-4ED3-9DA2-F7D417FFAD05" "/Users/angelo/Documents/projects/test10_angelo/build/ios/iphoneos"
"/var/containers/Bundle/Application/876D6382-5F26-4ED3-9DA2-F7D417FFAD05" "/Users/angelo/Documents/projects/test10_angelo/build/ios/iphoneos" /Developer "/Users/angelo/Library/Developer/Xcode/iOS DeviceSupport/13.3.1 (17D50)
arm64e/Symbols/Developer"
[  +16 ms] (lldb)     command script import "/tmp/02CF1BD2-4215-4EDD-8013-35B6375A2B8D/fruitstrap_00008030_000A059E3CDA802E.py"
[   +3 ms] (lldb)     command script add -f fruitstrap_00008030_000A059E3CDA802E.connect_command connect
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_00008030_000A059E3CDA802E.run_command run
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_00008030_000A059E3CDA802E.autoexit_command autoexit
[        ] (lldb)     command script add -s asynchronous -f fruitstrap_00008030_000A059E3CDA802E.safequit_command safequit
[        ] (lldb)     connect
[  +26 ms] (lldb)     run
[ +110 ms] success
[        ] (lldb)     safequit
[ +148 ms] Application launched on the device. Waiting for observatory port.
[   +2 ms] Checking for advertised Dart observatories...
[+5012 ms] No pointer records found.
[   +2 ms] mDNS lookup failed, attempting fallback to reading device log.
[        ] Waiting for observatory port.

flutter doctor -v

[✓] Flutter (Channel stable, v1.12.13+hotfix.7, on Mac OS X 10.15.3 19D76, locale en-US)
    • Flutter version 1.12.13+hotfix.7 at /Users/angelo/flutter
    • Framework revision 9f5ff2306b (4 days ago), 2020-01-26 22:38:26 -0800
    • Engine revision a67792536c
    • Dart version 2.7.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/angelo/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

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

[✓] Connected device (1 available)
    • iPhone 11 • ios • iOS 13.3.1

• No issues found!
jmagman commented 4 years ago

I'm reproducing after upgrading to 13.3.1.

enricobenedos commented 4 years ago

Same issue after updating to 13.3.1

jmagman commented 4 years ago

It's only failing with my Personal Team, not my "Company / Organization" provisioning profile. Both are signing identity "Apple Development". The working one is "iOS Team Provisioning Profile: *" and the failing one is "iOS Team Provisioning Profile: "

enricobenedos commented 4 years ago

It's only failing with my Personal Team

Me too

jmagman commented 4 years ago

I see the device log I see "'<private>' has non-matching application-identifier."

SecError    default 15:23:46.042553-0800    amfid   com.apple.securityd Trust evaluate failure: [leaf IssuerCommonName LeafMarkerOid SubjectCommonName]
SecError    default 15:23:46.053481-0800    trustd  com.apple.securityd OCSPResponse: single response has extension(s).
policy  default 15:23:46.053561-0800    trustd  com.apple.securityd cert[0]: IssuerCommonName =(path)[]> 0
    default 15:23:46.057415-0800    kernel      AMFI: code signature validation failed.
mis default 15:23:46.057955-0800    amfid   com.apple.mis   Local Profile '<private>' has non-matching application-identifier.
mis error   15:23:46.058020-0800    amfid   com.apple.mis   Invalid profile iteration outcome?
    default 15:23:46.058273-0800    amfid       /private/var/containers/Bundle/Application/4AE2BC9D-2752-4E85-8168-A26529359459/Runner.app/Frameworks/Flutter.framework/Flutter not valid: 0xe8008001: An unknown error has occurred.
jmagman commented 4 years ago

It seems to be for any embedded and linked framework that isn't in the SDK, not specifically Flutter.

  1. In a completely new Xcode project I embedded and linked the debug Flutter.framework and the signing issue reproduced. Ditto for the release Flutter.framework.

  2. In a completely new Xcode project I added the "AFNetworking" pod with no Flutter bits at all and the signing issue reproduced.

    /private/var/containers/Bundle/Application/6DE3DCFF-23C3-4CF1-8518-2BA6D4B017CC/TestPodSigning.app/Frameworks/AFNetworking.framework/AFNetworking: code signature invalid for '/private/var/containers/Bundle/Application/6DE3DCFF-23C3-4CF1-8518-2BA6D4B017CC/TestPodSigning.app/Frameworks/AFNetworking.framework/AFNetworking'
  3. I linked on a random framework in the SDK and the signing issue did not reproduce.

jmagman commented 4 years ago

It also reproduces by creating a new Xcode project and just adding a framework target, which automatically gets embedded and linked in the app target.

jaeho1989 commented 4 years ago

Same issue after updating to 13.3.1. Xcode 11.3.1 Flutter 1.12.13+hotfix.7 Dart 2.7.0

voivoed commented 4 years ago

Same issue here too. My app was working on my iPhone until I updated to iOS 13.3.1 last night, and then it stopped working.

I installed the app on another iPhone that was not updated, it worked fine. As soon as I updated to iOS 13.3.1, the app crashes on startup. I can't even get it to debug.

Tried uninstalling, installing again, flutter clean, etc. I don't know where to get the logs from to copy them here.

Mac OS X 10.14.4 18E226 Xcode 11.3.1 Flutter 1.12.13+hotfix.7

aidoraide commented 4 years ago

Hey guys I think this is beyond just a Flutter issue. I am getting this error when including any binary frameworks in my app. I made a StackOverflow post about it here.

Note that I am able to run these apps on a simulator but not on my iOS device, also a friend of mine can run these no problem so it makes me think there is some issue with my iPhone XR. I did just recently update to iOS 13.3.1 (17D50).

Do you guys get this error on simulators too?

rileytestut commented 4 years ago

@aidoraide It appears to be an issue related to iOS 13.3.1 and apps installed with non-developer Apple IDs. I posted about it in a similar Alamofire Issue:

Are you using a non-developer Apple ID to install the app to your phone? It looks like iOS 13.3.1 has broken apps installed with free Apple IDs, but only if they contain embedded frameworks. If it's possible to link all your dependencies as static libraries rather than frameworks (for example, if you're using Cocoapods you can remove use_frameworks! from your Podfile), that should fix the issue for now.

devforey commented 4 years ago

@aidoraide It works fine on my sims.

t0n1zz commented 4 years ago

I am having the same issue too, my apps run fine on ios emulator but when i tried to run it on my iphone Xr it just open and close immediately and if i tried to run it with xcode then it will hang with white screen and showing error dyld: Library not loaded: @rpath/Flutter.framework/Flutter

this is just happened when i update my mac os from mojave to catalina last week.

macOS 10.15.3 iOS 13.3.1 Flutter 1.12.13+hotfix.7

blueberryparm commented 4 years ago

I am having the same issues. I tried to run on iphone xr ios 13.3.1, it shows white screen and gives an error message but when I tried it on a simulator it works and it works on ios 13.3.

blueberryparm commented 4 years ago

with Flutter 1.12.13+hotfix.7 it works with iOS 13.3 but not wirh 13.3.1

Any updates of how to fix this issue? I factory reset my mac and still the same issues.

jmagman commented 4 years ago

This is an issue with iOS 13.3.1 on a real device, not the simulator. This should not impact apps that are already distributed to the App Store (meaning: your customers are not hitting this crash).

This is not an issue Flutter can work around. ALL dynamic frameworks (not in the iOS SDK) are having this problem. See:

You can:

  1. Use a non-Personal Team provisioning profile.
  2. Run on the 13.3.1 simulator.
  3. Test on a real iOS device running 13.3 or lower.

You can indicate you are also hitting this by adding a 👍 to this issue. Please do not add "me too" comments; all iOS developers on 13.3.1 are hitting this issue.

We've escalated to Apple (FB7562472) and will let you know if we hear anything.

blueberryparm commented 4 years ago

Sorry I meant that it works on a simulator but not on a physical device that runs iOS 13.3.1

blueberryparm commented 4 years ago

Thank you and I look forward to hearing from you.

clipsmm commented 4 years ago

Facing the exact same issue..app works just fine in debug mode but when I build and install on the simulator xcrun simctl install A24E53CE-0A43-4283-81E2-9F45053DAF3A build/ios/iphoneos/Runner.app then try to open the app, its show the launch screen and crashes

MikeClickr commented 4 years ago

Today I had thesame issue after update to iOS 13.3.1. The app starts (white screen) and immediately crashes. I use Xcode to build and install the app on my iPhone. No problems before the iOS update.

jmagman commented 4 years ago

Locking this for now to prevent the +1 comments. We'll update with any news. To reiterate: https://github.com/flutter/flutter/issues/49504#issuecomment-581554697

jmagman commented 4 years ago

This still reproduces on iOS 13.4 beta (17E5223h and 17E5233g)

jmagman commented 4 years ago

This appears to be fixed in iOS 13.4 beta 3 (17E5241d). @devforey Can you install the beta profile and confirm?

lukestokes94 commented 4 years ago

@jmagman I've had the same issue and can confirm 13.4 beta 3 has fixed it for me.

NicholasJohnson9149 commented 4 years ago

I don't want to update my phone to beta 13.4, is there any other know workaround? I'm getting a similar error wher ethe app crashes after loading the landing screen.

dyld: Library not loaded: @rpath/Flutter.framework/Flutter
  Referenced from: /private/var/containers/Bundle/Application/6E8932D3-8D03-4F36-841D-9B2CDA51E60C/Runner.app/Runner
  Reason: no suitable image found.  Did find:
    /private/var/containers/Bundle/Application/222E8932D3-8D03-4F36-841D-9B2CDA51E60C/Runner.app/Frameworks/Flutter.framework/Flutter: code signature invalid for '/private/var/containers/Bundle/Application/222E8932D3-8D03-4F36-841D-9B2CDA51E60C/Runner.app/Frameworks/Flutter.framework/Flutter'

    /private/var/containers/Bundle/Application/222E8932D3-8D03-4F36-841D-9B2CDA51E60C/Runner.app/Frameworks/Flutter.framework/Flutter: code signature invalid for '/private/var/containers/Bundle/Application/222E8932D3-8D03-4F36-841D-9B2CDA51E60C/Runner.app/Frameworks/Flutter.framework/Flutter'

    /private/var/containers/Bundle/Application/222E8932D3-8D03-4F36-841D-9B2CDA51E60C/Runner.app/Frameworks/Flutter.framework/Flutter: stat() failed with errno=1
    /private/var/containers/Bundle/Application/222E8932D3-8D03-4F(lldb) 

It works on all the simulators but not on my device. I need to test a QR scanner and can only do that on the device too.

jmagman commented 4 years ago

If you can't update to 13.4 beta, please refer to https://github.com/flutter/flutter/issues/49504#issuecomment-581554697 for workarounds.

You can:

  1. Use a non-Personal Team provisioning profile.
  2. Run on the 13.3.1 simulator.
  3. Test on a real iOS device running 13.3 or lower.

Personal Team provisioning profile says "Personal Team" in the Xcode build settings Runner Target > General > Signing and Capabilities > Team dropdown.

Jack-Overflow commented 4 years ago

I've enrolled in the Apple developer program and I am still getting this issue. How can I get my provisioning profiles to be correct to resolve this?

jmagman commented 4 years ago

@Jack-Overflow If you are seeing this without using a Personal Team provisioning profile (it says "Personal Team" in the Xcode build settings Runner Target > General > Signing and Capabilities > Team dropdown) please file a new issue.

jmagman commented 4 years ago

The bug first appeared in iOS 13.3.1 and is fixed in iOS 13.4 beta 3 (17E5241d). It was not specific to Flutter, was hit at runtime loading an embedded dylib (like Flutter), and can be reproduced without Flutter. It should not impact apps that are already distributed to the App Store (meaning: your customers are not hitting this crash). You should still be able to distribute your application to the App Store.

Workarounds:

If you need help implementing these workarounds, please ask your questions on Stack Overflow or another help forum. GitHub issues are for tracking actionable issues for the Flutter team, and there was nothing Flutter could do to work around this bug other than diagnose, report to Apple, and track its progress. If you are seeing a similar crash on iOS 13.4 or greater, please file a new Flutter GitHub issue so we can take a look.

I'm going to lock this issue again so this comment stays at the bottom. We will keep it open for visibility, and close after iOS 13.4 has been released.

jmagman commented 4 years ago

iOS 13.4 was released March 24. Closing.