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.83k stars 27.65k forks source link

[iOS] Add to app - Can not run with custom FLUTTER_BUILD_MODE #135278

Closed saunptit97 closed 1 year ago

saunptit97 commented 1 year ago

Is there an existing issue for this?

Steps to reproduce

  1. Create a source IOS project and multiple config (debug, release, staging, production, test,..)
  2. Create a module flutter and integrate module into IOS project
  3. Run IOS project with config "test"

Expected results

Run UT success on config "test"

Actual results

ERROR: Unknown FLUTTER_BUILD_MODE: test.

Valid values are 'Debug', 'Profile', or 'Release' (case insensitive).

This is controlled by the FLUTTER_BUILD_MODE environment variable.

If that is not set, the CONFIGURATION environment variable is used.

You can fix this by either adding an appropriately named build

configuration, or adding an appropriate value for FLUTTER_BUILD_MODE to the

.xcconfig file for the current build configuration (Test).

========================================================================

Command PhaseScriptExecution failed with a nonzero exit code

Code sample

Code sample ```dart [Paste your code here] ```

Screenshots or Video

Screenshots / Video demonstration [Upload media here]

Logs

Logs ```console [Paste your logs here] ```

Flutter Doctor output

Doctor output ```console [Paste your output here] ```
huycozy commented 1 year ago

Hi @saunptit97 When opening an issue, please try to provide all information indicated in the template so that we can address this issue properly.

More specifically, please provide the missing information indicated below:

Regarding the error message ERROR: Unknown FLUTTER_BUILD_MODE, this could be a duplicate of https://github.com/flutter/flutter/issues/85643. Please check reproduction case there and confirm if it's a similar one.

saunptit97 commented 1 year ago

Sorry about the delay. My repository: https://github.com/saunptit97/add-to-app This problem when I create a new flutter build mode It is difference with ticket #85643. I created a build mode test. Please clone this project and run build mode app_test and it will be show error

image image
huycozy commented 1 year ago

Thanks for your update. I ran your sample code and also see the same error but it seems to be clear on the error message. When I choose debug here, the build is succeed:

Screenshot 2023-09-25 at 19 46 02

Could you try it as well? And please also share about the initial test build config setup.

huycozy commented 1 year ago

Re-checking and comparing this to a normal case (flavor on non-add to app project), I can't see this issue. Labeling this as a separate issue from https://github.com/flutter/flutter/issues/85643 as that issue seems to solve a different issue at https://github.com/flutter/flutter/issues/85643#issuecomment-871690330.

Complete build log ```console Showing All Issues Build target Pods-app_ios of project Pods with configuration Test /Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Pods-app_ios' from project 'Pods') /Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios/Pods/Pods.xcodeproj: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. Build target app_ios of project app_ios with configuration Test warning: Run script build phase '[CP-User] Embed Flutter Build app_flutter Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'app_ios' from project 'app_ios') warning: Run script build phase '[CP-User] Run Flutter Build app_flutter Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'app_ios' from project 'app_ios') Run script build phase '[CP-User] Embed Flutter Build app_flutter Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. Run script build phase '[CP-User] Run Flutter Build app_flutter Script' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. PhaseScriptExecution [CP-User]\ Run\ Flutter\ Build\ app_flutter\ Script /Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Script-E2C9379BE6791DF51F18242F.sh (in target 'app_ios' from project 'app_ios') cd /Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios export ACTION\=build export AD_HOC_CODE_SIGNING_ALLOWED\=YES export ALLOW_TARGET_PLATFORM_SPECIALIZATION\=NO export ALTERNATE_GROUP\=staff export ALTERNATE_MODE\=u+w,go-w,a+rX export ALTERNATE_OWNER\=huynq export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES\=NO export ALWAYS_SEARCH_USER_PATHS\=NO export ALWAYS_USE_SEPARATE_HEADERMAPS\=NO export APPLE_INTERNAL_DEVELOPER_DIR\=/AppleInternal/Developer export APPLE_INTERNAL_DIR\=/AppleInternal export APPLE_INTERNAL_DOCUMENTATION_DIR\=/AppleInternal/Documentation export APPLE_INTERNAL_LIBRARY_DIR\=/AppleInternal/Library export APPLE_INTERNAL_TOOLS\=/AppleInternal/Developer/Tools export APPLICATION_EXTENSION_API_ONLY\=NO export APPLY_RULES_IN_COPY_FILES\=NO export APPLY_RULES_IN_COPY_HEADERS\=NO export ARCHS\=x86_64 export ARCHS_STANDARD\=arm64\ x86_64 export ARCHS_STANDARD_32_64_BIT\=arm64\ i386\ x86_64 export ARCHS_STANDARD_32_BIT\=i386 export ARCHS_STANDARD_64_BIT\=arm64\ x86_64 export ARCHS_STANDARD_INCLUDING_64_BIT\=arm64\ x86_64 export ARCHS_UNIVERSAL_IPHONE_OS\=arm64\ i386\ x86_64 export ASSETCATALOG_COMPILER_APPICON_NAME\=AppIcon export ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME\=AccentColor export ASSETCATALOG_FILTER_FOR_DEVICE_MODEL\=iPhone15,2 export ASSETCATALOG_FILTER_FOR_DEVICE_OS_VERSION\=16.4 export ASSETCATALOG_FILTER_FOR_THINNING_DEVICE_CONFIGURATION\=iPhone15,2 export AVAILABLE_PLATFORMS\=appletvos\ appletvsimulator\ driverkit\ iphoneos\ iphonesimulator\ macosx\ watchos\ watchsimulator export AppIdentifierPrefix\=X8NNQ9CYL2. export BITCODE_GENERATION_MODE\=marker export BUILD_ACTIVE_RESOURCES_ONLY\=YES export BUILD_COMPONENTS\=headers\ build export BUILD_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products export BUILD_LIBRARY_FOR_DISTRIBUTION\=NO export BUILD_ROOT\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products export BUILD_STYLE\= export BUILD_VARIANTS\=normal export BUILT_PRODUCTS_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator export BUNDLE_CONTENTS_FOLDER_PATH_deep\=Contents/ export BUNDLE_EXECUTABLE_FOLDER_NAME_deep\=MacOS export BUNDLE_EXTENSIONS_FOLDER_PATH\=Extensions export BUNDLE_FORMAT\=shallow export BUNDLE_FRAMEWORKS_FOLDER_PATH\=Frameworks export BUNDLE_PLUGINS_FOLDER_PATH\=PlugIns export BUNDLE_PRIVATE_HEADERS_FOLDER_PATH\=PrivateHeaders export BUNDLE_PUBLIC_HEADERS_FOLDER_PATH\=Headers export CACHE_ROOT\=/var/folders/2j/3q66vxk13y5cx0ch1dywgx5m0000gn/C/com.apple.DeveloperTools/14.3-14E222b/Xcode export CCHROOT\=/var/folders/2j/3q66vxk13y5cx0ch1dywgx5m0000gn/C/com.apple.DeveloperTools/14.3-14E222b/Xcode export CHMOD\=/bin/chmod export CHOWN\=/usr/sbin/chown export CLANG_ANALYZER_NONNULL\=YES export CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION\=YES_AGGRESSIVE export CLANG_CXX_LANGUAGE_STANDARD\=gnu++20 export CLANG_ENABLE_MODULES\=YES export CLANG_ENABLE_OBJC_ARC\=YES export CLANG_ENABLE_OBJC_WEAK\=YES export CLANG_MODULES_BUILD_SESSION_FILE\=/Users/huynq/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation export CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING\=YES export CLANG_WARN_BOOL_CONVERSION\=YES export CLANG_WARN_COMMA\=YES export CLANG_WARN_CONSTANT_CONVERSION\=YES export CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS\=YES export CLANG_WARN_DIRECT_OBJC_ISA_USAGE\=YES_ERROR export CLANG_WARN_DOCUMENTATION_COMMENTS\=YES export CLANG_WARN_EMPTY_BODY\=YES export CLANG_WARN_ENUM_CONVERSION\=YES export CLANG_WARN_INFINITE_RECURSION\=YES export CLANG_WARN_INT_CONVERSION\=YES export CLANG_WARN_NON_LITERAL_NULL_CONVERSION\=YES export CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF\=YES export CLANG_WARN_OBJC_LITERAL_CONVERSION\=YES export CLANG_WARN_OBJC_ROOT_CLASS\=YES_ERROR export CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER\=NO export CLANG_WARN_RANGE_LOOP_ANALYSIS\=YES export CLANG_WARN_STRICT_PROTOTYPES\=YES export CLANG_WARN_SUSPICIOUS_MOVE\=YES export CLANG_WARN_UNGUARDED_AVAILABILITY\=YES_AGGRESSIVE export CLANG_WARN_UNREACHABLE_CODE\=YES export CLANG_WARN__DUPLICATE_METHOD_MATCH\=YES export CLASS_FILE_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/JavaClasses export CLEAN_PRECOMPS\=YES export CLONE_HEADERS\=NO export CODESIGNING_FOLDER_PATH\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/app_ios.app export CODE_SIGNING_ALLOWED\=YES export CODE_SIGNING_REQUIRED\=YES export CODE_SIGN_CONTEXT_CLASS\=XCiPhoneSimulatorCodeSignContext export CODE_SIGN_IDENTITY\=- export CODE_SIGN_INJECT_BASE_ENTITLEMENTS\=YES export CODE_SIGN_STYLE\=Automatic export COLOR_DIAGNOSTICS\=NO export COMBINE_HIDPI_IMAGES\=NO export COMPILER_INDEX_STORE_ENABLE\=Default export COMPOSITE_SDK_DIRS\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/CompositeSDKs export COMPRESS_PNG_FILES\=YES export CONFIGURATION\=Test export CONFIGURATION_BUILD_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator export CONFIGURATION_TEMP_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator export CONTENTS_FOLDER_PATH\=app_ios.app export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=app_ios.app/Contents export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=app_ios.app export COPYING_PRESERVES_HFS_DATA\=NO export COPY_HEADERS_RUN_UNIFDEF\=NO export COPY_PHASE_STRIP\=NO export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS\=YES export CORRESPONDING_DEVICE_PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform export CORRESPONDING_DEVICE_PLATFORM_NAME\=iphoneos export CORRESPONDING_DEVICE_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.4.sdk export CORRESPONDING_DEVICE_SDK_NAME\=iphoneos16.4 export CP\=/bin/cp export CREATE_INFOPLIST_SECTION_IN_BINARY\=NO export CURRENT_ARCH\=undefined_arch export CURRENT_PROJECT_VERSION\=1 export CURRENT_VARIANT\=normal export DEAD_CODE_STRIPPING\=YES export DEBUGGING_SYMBOLS\=YES export DEBUG_INFORMATION_FORMAT\=dwarf export DEFAULT_COMPILER\=com.apple.compilers.llvm.clang.1_0 export DEFAULT_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions export DEFAULT_KEXT_INSTALL_PATH\=/System/Library/Extensions export DEFINES_MODULE\=NO export DEPLOYMENT_LOCATION\=NO export DEPLOYMENT_POSTPROCESSING\=NO export DEPLOYMENT_TARGET_SETTING_NAME\=IPHONEOS_DEPLOYMENT_TARGET export DEPLOYMENT_TARGET_SUGGESTED_VALUES\=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\ 13.3\ 13.4\ 13.5\ 13.6\ 14.0\ 14.1\ 14.2\ 14.3\ 14.4\ 14.5\ 14.6\ 14.7\ 15.0\ 15.1\ 15.2\ 15.3\ 15.4\ 15.5\ 15.6\ 16.0\ 16.1\ 16.2\ 16.3\ 16.4 export DERIVED_FILES_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/DerivedSources export DERIVED_FILE_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/DerivedSources export DERIVED_SOURCES_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/DerivedSources export DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications export DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export DEVELOPER_FRAMEWORKS_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks export DEVELOPER_FRAMEWORKS_DIR_QUOTED\=/Applications/Xcode.app/Contents/Developer/Library/Frameworks export DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Library export DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs export DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Tools export DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr export DEVELOPMENT_LANGUAGE\=en export DEVELOPMENT_TEAM\=X8NNQ9CYL2 export DIFF\=/usr/bin/diff export DOCUMENTATION_FOLDER_PATH\=app_ios.app/en.lproj/Documentation export DONT_GENERATE_INFOPLIST_FILE\=NO export DO_HEADER_SCANNING_IN_JAM\=NO export DSTROOT\=/tmp/app_ios.dst export DT_TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain export DWARF_DSYM_FILE_NAME\=app_ios.app.dSYM export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT\=NO export DWARF_DSYM_FOLDER_PATH\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator export DYNAMIC_LIBRARY_EXTENSION\=dylib export EAGER_LINKING\=NO export EFFECTIVE_PLATFORM_NAME\=-iphonesimulator export EMBEDDED_CONTENT_CONTAINS_SWIFT\=NO export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE\=NO export ENABLE_APP_SANDBOX\=NO export ENABLE_BITCODE\=NO export ENABLE_DEFAULT_HEADER_SEARCH_PATHS\=YES export ENABLE_DEFAULT_SEARCH_PATHS\=YES export ENABLE_HARDENED_RUNTIME\=NO export ENABLE_HEADER_DEPENDENCIES\=YES export ENABLE_ON_DEMAND_RESOURCES\=YES export ENABLE_PREVIEWS\=NO export ENABLE_STRICT_OBJC_MSGSEND\=YES export ENABLE_TESTABILITY\=YES export ENABLE_TESTING_SEARCH_PATHS\=NO export ENABLE_USER_SCRIPT_SANDBOXING\=NO export ENTITLEMENTS_ALLOWED\=NO export ENTITLEMENTS_DESTINATION\=__entitlements export ENTITLEMENTS_REQUIRED\=NO export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS\=.DS_Store\ .svn\ .git\ .hg\ CVS export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES\=\*.nib\ \*.lproj\ \*.framework\ \*.gch\ \*.xcode\*\ \*.xcassets\ \(\*\)\ .DS_Store\ CVS\ .svn\ .git\ .hg\ \*.pbproj\ \*.pbxproj export EXECUTABLES_FOLDER_PATH\=app_ios.app/Executables export EXECUTABLE_FOLDER_PATH\=app_ios.app export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_NO\=app_ios.app/MacOS export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_YES\=app_ios.app export EXECUTABLE_NAME\=app_ios export EXECUTABLE_PATH\=app_ios.app/app_ios export EXPANDED_CODE_SIGN_IDENTITY\=- export EXPANDED_CODE_SIGN_IDENTITY_NAME\=- export EXTENSIONS_FOLDER_PATH\=app_ios.app/Extensions export FILE_LIST\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Objects/LinkFileList export FIXED_FILES_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/FixedFiles export FRAMEWORKS_FOLDER_PATH\=app_ios.app/Frameworks export FRAMEWORK_FLAG_PREFIX\=-framework export FRAMEWORK_SEARCH_PATHS\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator\ \ \"/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/FlutterPluginRegistrant\" export FRAMEWORK_VERSION\=A export FULL_PRODUCT_NAME\=app_ios.app export FUSE_BUILD_PHASES\=YES export FUSE_BUILD_SCRIPT_PHASES\=NO export GCC3_VERSION\=3.3 export GCC_C_LANGUAGE_STANDARD\=gnu11 export GCC_DYNAMIC_NO_PIC\=NO export GCC_INLINES_ARE_PRIVATE_EXTERN\=YES export GCC_NO_COMMON_BLOCKS\=YES export GCC_OBJC_LEGACY_DISPATCH\=YES export GCC_OPTIMIZATION_LEVEL\=0 export GCC_PFE_FILE_C_DIALECTS\=c\ objective-c\ c++\ objective-c++ export GCC_PREPROCESSOR_DEFINITIONS\=DEBUG\=1\ \ COCOAPODS\=1 export GCC_SYMBOLS_PRIVATE_EXTERN\=NO export GCC_TREAT_WARNINGS_AS_ERRORS\=NO export GCC_VERSION\=com.apple.compilers.llvm.clang.1_0 export GCC_VERSION_IDENTIFIER\=com_apple_compilers_llvm_clang_1_0 export GCC_WARN_64_TO_32_BIT_CONVERSION\=YES export GCC_WARN_ABOUT_RETURN_TYPE\=YES_ERROR export GCC_WARN_UNDECLARED_SELECTOR\=YES export GCC_WARN_UNINITIALIZED_AUTOS\=YES_AGGRESSIVE export GCC_WARN_UNUSED_FUNCTION\=YES export GCC_WARN_UNUSED_VARIABLE\=YES export GENERATED_MODULEMAP_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator export GENERATE_INFOPLIST_FILE\=YES export GENERATE_INTERMEDIATE_TEXT_BASED_STUBS\=YES export GENERATE_MASTER_OBJECT_FILE\=NO export GENERATE_PKGINFO_FILE\=YES export GENERATE_PROFILING_CODE\=NO export GENERATE_TEXT_BASED_STUBS\=NO export GID\=20 export GROUP\=staff export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT\=YES export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES\=YES export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS\=YES export HEADERMAP_INCLUDES_PROJECT_HEADERS\=YES export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES\=YES export HEADERMAP_USES_VFS\=NO export HEADER_SEARCH_PATHS\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/include\ \ \"/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers\" export HIDE_BITCODE_SYMBOLS\=YES export HOME\=/Users/huynq export HOST_PLATFORM\=macosx export ICONV\=/usr/bin/iconv export INFOPLIST_EXPAND_BUILD_SETTINGS\=YES export INFOPLIST_FILE\=app_ios/Info.plist export INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents\=YES export INFOPLIST_KEY_UILaunchStoryboardName\=LaunchScreen export INFOPLIST_KEY_UIMainStoryboardFile\=Main export INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad\=UIInterfaceOrientationPortrait\ UIInterfaceOrientationPortraitUpsideDown\ UIInterfaceOrientationLandscapeLeft\ UIInterfaceOrientationLandscapeRight export INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone\=UIInterfaceOrientationPortrait\ UIInterfaceOrientationLandscapeLeft\ UIInterfaceOrientationLandscapeRight export INFOPLIST_OUTPUT_FORMAT\=binary export INFOPLIST_PATH\=app_ios.app/Info.plist export INFOPLIST_PREPROCESS\=NO export INFOSTRINGS_PATH\=app_ios.app/en.lproj/InfoPlist.strings export INLINE_PRIVATE_FRAMEWORKS\=NO export INSTALLHDRS_COPY_PHASE\=NO export INSTALLHDRS_SCRIPT_PHASE\=NO export INSTALL_DIR\=/tmp/app_ios.dst/Applications export INSTALL_GROUP\=staff export INSTALL_MODE_FLAG\=u+w,go-w,a+rX export INSTALL_OWNER\=huynq export INSTALL_PATH\=/Applications export INSTALL_ROOT\=/tmp/app_ios.dst export IPHONEOS_DEPLOYMENT_TARGET\=15.6 export JAVAC_DEFAULT_FLAGS\=-J-Xms64m\ -J-XX:NewSize\=4M\ -J-Dfile.encoding\=UTF8 export JAVA_APP_STUB\=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub export JAVA_ARCHIVE_CLASSES\=YES export JAVA_ARCHIVE_TYPE\=JAR export JAVA_COMPILER\=/usr/bin/javac export JAVA_FOLDER_PATH\=app_ios.app/Java export JAVA_FRAMEWORK_RESOURCES_DIRS\=Resources export JAVA_JAR_FLAGS\=cv export JAVA_SOURCE_SUBDIR\=. export JAVA_USE_DEPENDENCIES\=YES export JAVA_ZIP_FLAGS\=-urg export JIKES_DEFAULT_FLAGS\=+E\ +OLDCSO export KEEP_PRIVATE_EXTERNS\=NO export LD_DEPENDENCY_INFO_FILE\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Objects-normal/undefined_arch/app_ios_dependency_info.dat export LD_ENTITLEMENTS_SECTION\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/app_ios.app-Simulated.xcent export LD_ENTITLEMENTS_SECTION_DER\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/app_ios.app-Simulated.xcent.der export LD_GENERATE_MAP_FILE\=NO export LD_MAP_FILE_PATH\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/app_ios-LinkMap-normal-undefined_arch.txt export LD_NO_PIE\=NO export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER\=YES export LD_RUNPATH_SEARCH_PATHS\=\ \'@executable_path/Frameworks\'\ \'@loader_path/Frameworks\'\ @executable_path/Frameworks export LD_RUNPATH_SEARCH_PATHS_YES\=@loader_path/../Frameworks export LEGACY_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer export LEX\=lex export LIBRARY_DEXT_INSTALL_PATH\=/Library/DriverExtensions export LIBRARY_FLAG_NOSPACE\=YES export LIBRARY_FLAG_PREFIX\=-l export LIBRARY_KEXT_INSTALL_PATH\=/Library/Extensions export LIBRARY_SEARCH_PATHS\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator\ export LINKER_DISPLAYS_MANGLED_NAMES\=NO export LINK_FILE_LIST_normal_x86_64\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Objects-normal/x86_64/app_ios.LinkFileList export LINK_OBJC_RUNTIME\=YES export LINK_WITH_STANDARD_LIBRARIES\=YES export LLVM_TARGET_TRIPLE_OS_VERSION\=ios15.6 export LLVM_TARGET_TRIPLE_SUFFIX\=-simulator export LLVM_TARGET_TRIPLE_VENDOR\=apple export LOCALIZATION_EXPORT_SUPPORTED\=YES export LOCALIZED_RESOURCES_FOLDER_PATH\=app_ios.app/en.lproj export LOCALIZED_STRING_MACRO_NAMES\=NSLocalizedString\ CFCopyLocalizedString export LOCALIZED_STRING_SWIFTUI_SUPPORT\=YES export LOCAL_ADMIN_APPS_DIR\=/Applications/Utilities export LOCAL_APPS_DIR\=/Applications export LOCAL_DEVELOPER_DIR\=/Library/Developer export LOCAL_LIBRARY_DIR\=/Library export LOCROOT\=/Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios export LOCSYMROOT\=/Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios export MACH_O_TYPE\=mh_execute export MAC_OS_X_PRODUCT_BUILD_VERSION\=22G74 export MAC_OS_X_VERSION_ACTUAL\=130500 export MAC_OS_X_VERSION_MAJOR\=130000 export MAC_OS_X_VERSION_MINOR\=130500 export MARKETING_VERSION\=1.0 export METAL_LIBRARY_FILE_BASE\=default export METAL_LIBRARY_OUTPUT_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/app_ios.app export MODULES_FOLDER_PATH\=app_ios.app/Modules export MODULE_CACHE_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/ModuleCache.noindex export MTL_ENABLE_DEBUG_INFO\=INCLUDE_SOURCE export MTL_FAST_MATH\=YES export NATIVE_ARCH\=x86_64 export NATIVE_ARCH_32_BIT\=i386 export NATIVE_ARCH_64_BIT\=x86_64 export NATIVE_ARCH_ACTUAL\=x86_64 export NO_COMMON\=YES export OBJC_ABI_VERSION\=2 export OBJECT_FILE_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Objects export OBJECT_FILE_DIR_normal\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Objects-normal export OBJROOT\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex export ONLY_ACTIVE_ARCH\=YES export OS\=MACOS export OSAC\=/usr/bin/osacompile export OTHER_CFLAGS\=\ -isystem\ \"/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers\"\ -iframework\ \"/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/FlutterPluginRegistrant\" export OTHER_CPLUSPLUSFLAGS\=\ -isystem\ \"/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/FlutterPluginRegistrant/FlutterPluginRegistrant.framework/Headers\"\ -iframework\ \"/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/FlutterPluginRegistrant\" export OTHER_LDFLAGS\=\ -ObjC\ -framework\ \"FlutterPluginRegistrant\" export PACKAGE_TYPE\=com.apple.package-type.wrapper.application export PASCAL_STRINGS\=YES export PATH\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/appleinternal/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin export 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 export PBDEVELOPMENTPLIST_PATH\=app_ios.app/pbdevelopment.plist export PER_ARCH_OBJECT_FILE_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Objects-normal/undefined_arch export PER_VARIANT_OBJECT_FILE_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Objects-normal export PKGINFO_FILE_PATH\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/PkgInfo export PKGINFO_PATH\=app_ios.app/PkgInfo export PLATFORM_DEVELOPER_APPLICATIONS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications export PLATFORM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin export PLATFORM_DEVELOPER_LIBRARY_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library export PLATFORM_DEVELOPER_SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs export PLATFORM_DEVELOPER_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools export PLATFORM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr export PLATFORM_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform export PLATFORM_DISPLAY_NAME\=iOS\ Simulator export PLATFORM_FAMILY_NAME\=iOS export PLATFORM_NAME\=iphonesimulator export PLATFORM_PREFERRED_ARCH\=x86_64 export PLATFORM_PRODUCT_BUILD_VERSION\=20E238 export PLIST_FILE_OUTPUT_FORMAT\=binary export PLUGINS_FOLDER_PATH\=app_ios.app/PlugIns export PODS_BUILD_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products export PODS_CONFIGURATION_BUILD_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator export PODS_PODFILE_DIR_PATH\=/Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios/. export PODS_ROOT\=/Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios/Pods export PODS_XCFRAMEWORKS_BUILD_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/XCFrameworkIntermediates export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR\=YES export PRECOMP_DESTINATION_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/PrefixHeaders export PRESERVE_DEAD_CODE_INITS_AND_TERMS\=NO export PRIVATE_HEADERS_FOLDER_PATH\=app_ios.app/PrivateHeaders export PRODUCT_BUNDLE_IDENTIFIER\=com.example.app-ios export PRODUCT_BUNDLE_PACKAGE_TYPE\=APPL export PRODUCT_MODULE_NAME\=app_ios export PRODUCT_NAME\=app_ios export PRODUCT_SETTINGS_PATH\=/Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios/app_ios/Info.plist export PRODUCT_TYPE\=com.apple.product-type.application export PROFILING_CODE\=NO export PROJECT\=app_ios export PROJECT_DERIVED_FILE_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/DerivedSources export PROJECT_DIR\=/Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios export PROJECT_FILE_PATH\=/Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios/app_ios.xcodeproj export PROJECT_NAME\=app_ios export PROJECT_TEMP_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build export PROJECT_TEMP_ROOT\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex export PROVISIONING_PROFILE_REQUIRED\=NO export PROVISIONING_PROFILE_REQUIRED_YES_YES\=YES export PROVISIONING_PROFILE_SUPPORTED\=YES export PUBLIC_HEADERS_FOLDER_PATH\=app_ios.app/Headers export RECOMMENDED_IPHONEOS_DEPLOYMENT_TARGET\=12.5 export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS\=YES export REMOVE_CVS_FROM_RESOURCES\=YES export REMOVE_GIT_FROM_RESOURCES\=YES export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES\=YES export REMOVE_HG_FROM_RESOURCES\=YES export REMOVE_SVN_FROM_RESOURCES\=YES export REZ_COLLECTOR_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/ResourceManagerResources export REZ_OBJECTS_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/ResourceManagerResources/Objects export REZ_SEARCH_PATHS\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator\ export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES\=NO export SCRIPTS_FOLDER_PATH\=app_ios.app/Scripts export SCRIPT_INPUT_FILE_COUNT\=0 export SCRIPT_INPUT_FILE_LIST_COUNT\=0 export SCRIPT_OUTPUT_FILE_COUNT\=0 export SCRIPT_OUTPUT_FILE_LIST_COUNT\=0 export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk export SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk export SDK_DIR_iphonesimulator\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk export SDK_DIR_iphonesimulator16_4\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk export SDK_NAME\=iphonesimulator16.4 export SDK_NAMES\=iphonesimulator16.4 export SDK_PRODUCT_BUILD_VERSION\=20E238 export SDK_STAT_CACHE_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData export SDK_STAT_CACHE_ENABLE\=YES export SDK_STAT_CACHE_PATH\=/Users/huynq/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator16.4-20E238-.sdkstatcache export SDK_VERSION\=16.4 export SDK_VERSION_ACTUAL\=160400 export SDK_VERSION_MAJOR\=160000 export SDK_VERSION_MINOR\=160400 export SED\=/usr/bin/sed export SEPARATE_STRIP\=NO export SEPARATE_SYMBOL_EDIT\=NO export SET_DIR_MODE_OWNER_GROUP\=YES export SET_FILE_MODE_OWNER_GROUP\=NO export SHALLOW_BUNDLE\=YES export SHALLOW_BUNDLE_TRIPLE\=ios-simulator export SHALLOW_BUNDLE_ios_macabi\=NO export SHALLOW_BUNDLE_macos\=NO export SHARED_DERIVED_FILE_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator/DerivedSources export SHARED_FRAMEWORKS_FOLDER_PATH\=app_ios.app/SharedFrameworks export SHARED_PRECOMPS_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/PrecompiledHeaders export SHARED_SUPPORT_FOLDER_PATH\=app_ios.app/SharedSupport export SKIP_INSTALL\=NO export SOURCE_ROOT\=/Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios export SRCROOT\=/Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios export STRINGSDATA_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Objects-normal/undefined_arch export STRINGSDATA_ROOT\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build export STRINGS_FILE_INFOPLIST_RENAME\=YES export STRINGS_FILE_OUTPUT_ENCODING\=binary export STRIP_BITCODE_FROM_COPIED_FILES\=NO export STRIP_INSTALLED_PRODUCT\=NO export STRIP_STYLE\=all export STRIP_SWIFT_SYMBOLS\=YES export SUPPORTED_DEVICE_FAMILIES\=1,2 export SUPPORTED_PLATFORMS\=iphoneos\ iphonesimulator export SUPPORTS_MACCATALYST\=NO export SUPPORTS_ON_DEMAND_RESOURCES\=YES export SUPPORTS_TEXT_BASED_API\=NO export SWIFT_ACTIVE_COMPILATION_CONDITIONS\=DEBUG export SWIFT_EMIT_LOC_STRINGS\=YES export SWIFT_OPTIMIZATION_LEVEL\=-Onone export SWIFT_PLATFORM_TARGET_PREFIX\=ios export SWIFT_RESPONSE_FILE_PATH_normal_x86_64\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Objects-normal/x86_64/app_ios.SwiftFileList export SWIFT_VERSION\=5.0 export SYMROOT\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products export SYSTEM_ADMIN_APPS_DIR\=/Applications/Utilities export SYSTEM_APPS_DIR\=/Applications export SYSTEM_CORE_SERVICES_DIR\=/System/Library/CoreServices export SYSTEM_DEMOS_DIR\=/Applications/Extras export SYSTEM_DEVELOPER_APPS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications export SYSTEM_DEVELOPER_BIN_DIR\=/Applications/Xcode.app/Contents/Developer/usr/bin export SYSTEM_DEVELOPER_DEMOS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built\ Examples export SYSTEM_DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export SYSTEM_DEVELOPER_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Graphics\ Tools export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Java\ Tools export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Performance\ Tools export SYSTEM_DEVELOPER_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes export SYSTEM_DEVELOPER_TOOLS\=/Applications/Xcode.app/Contents/Developer/Tools export SYSTEM_DEVELOPER_TOOLS_DOC_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/documentation/DeveloperTools export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR\=/Applications/Xcode.app/Contents/Developer/ADC\ Reference\ Library/releasenotes/DeveloperTools export SYSTEM_DEVELOPER_USR_DIR\=/Applications/Xcode.app/Contents/Developer/usr export SYSTEM_DEVELOPER_UTILITIES_DIR\=/Applications/Xcode.app/Contents/Developer/Applications/Utilities export SYSTEM_DEXT_INSTALL_PATH\=/System/Library/DriverExtensions export SYSTEM_DOCUMENTATION_DIR\=/Library/Documentation export SYSTEM_EXTENSIONS_FOLDER_PATH\=app_ios.app/SystemExtensions export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=app_ios.app/Library/SystemExtensions export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=app_ios.app/SystemExtensions export SYSTEM_KEXT_INSTALL_PATH\=/System/Library/Extensions export SYSTEM_LIBRARY_DIR\=/System/Library export TAPI_DEMANGLE\=YES export TAPI_ENABLE_PROJECT_HEADERS\=NO export TAPI_LANGUAGE\=objective-c export TAPI_LANGUAGE_STANDARD\=compiler-default export TAPI_VERIFY_MODE\=ErrorsOnly export TARGETED_DEVICE_FAMILY\=1,2 export TARGETNAME\=app_ios export TARGET_BUILD_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Products/Test-iphonesimulator export TARGET_DEVICE_IDENTIFIER\=98082851-A0C4-4E39-A310-21C48B10A364 export TARGET_DEVICE_MODEL\=iPhone15,2 export TARGET_DEVICE_OS_VERSION\=16.4 export TARGET_DEVICE_PLATFORM_NAME\=iphonesimulator export TARGET_NAME\=app_ios export TARGET_TEMP_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build export TEMP_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build export TEMP_FILES_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build export TEMP_FILE_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build export TEMP_ROOT\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex export TEST_FRAMEWORK_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.4.sdk/Developer/Library/Frameworks export TEST_LIBRARY_SEARCH_PATHS\=\ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib export TOOLCHAINS\=com.apple.dt.toolchain.XcodeDefault export TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain export TREAT_MISSING_BASELINES_AS_TEST_FAILURES\=NO export TeamIdentifierPrefix\=X8NNQ9CYL2. export UID\=501 export UNINSTALLED_PRODUCTS_DIR\=/Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/UninstalledProducts export UNLOCALIZED_RESOURCES_FOLDER_PATH\=app_ios.app export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_NO\=app_ios.app/Resources export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_YES\=app_ios.app export UNSTRIPPED_PRODUCT\=NO export USER\=huynq export USER_APPS_DIR\=/Users/huynq/Applications export USER_LIBRARY_DIR\=/Users/huynq/Library export USE_DYNAMIC_NO_PIC\=YES export USE_HEADERMAP\=YES export USE_HEADER_SYMLINKS\=NO export USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES\=YES export VALIDATE_DEVELOPMENT_ASSET_PATHS\=YES_ERROR export VALIDATE_PRODUCT\=NO export VALID_ARCHS\=arm64\ arm64e\ i386\ x86_64 export VERBOSE_PBXCP\=NO export VERSIONPLIST_PATH\=app_ios.app/version.plist export VERSION_INFO_BUILDER\=huynq export VERSION_INFO_FILE\=app_ios_vers.c export VERSION_INFO_STRING\=\"@\(\#\)PROGRAM:app_ios\ \ PROJECT:app_ios-1\" export WRAPPER_EXTENSION\=app export WRAPPER_NAME\=app_ios.app export WRAPPER_SUFFIX\=.app export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES\=NO export XCODE_APP_SUPPORT_DIR\=/Applications/Xcode.app/Contents/Developer/Library/Xcode export XCODE_PRODUCT_BUILD_VERSION\=14E222b export XCODE_VERSION_ACTUAL\=1430 export XCODE_VERSION_MAJOR\=1400 export XCODE_VERSION_MINOR\=1430 export XPCSERVICES_FOLDER_PATH\=app_ios.app/XPCServices export YACC\=yacc export _WRAPPER_CONTENTS_DIR_SHALLOW_BUNDLE_NO\=/Contents export _WRAPPER_PARENT_PATH_SHALLOW_BUNDLE_NO\=/.. export _WRAPPER_RESOURCES_DIR_SHALLOW_BUNDLE_NO\=/Resources export __IS_NOT_MACOS\=YES export __IS_NOT_MACOS_macosx\=NO export __IS_NOT_SIMULATOR\=NO export __IS_NOT_SIMULATOR_simulator\=NO export arch\=undefined_arch export variant\=normal /bin/sh -c /Users/huynq/Library/Developer/Xcode/DerivedData/app_ios-bszmjeyumhiqxsguofmyhzwbynrb/Build/Intermediates.noindex/app_ios.build/Test-iphonesimulator/app_ios.build/Script-E2C9379BE6791DF51F18242F.sh ======================================================================== ERROR: Unknown FLUTTER_BUILD_MODE: test. Valid values are 'Debug', 'Profile', or 'Release' (case insensitive). This is controlled by the FLUTTER_BUILD_MODE environment variable. If that is not set, the CONFIGURATION environment variable is used. You can fix this by either adding an appropriately named build configuration, or adding an appropriate value for FLUTTER_BUILD_MODE to the .xcconfig file for the current build configuration (Test). ======================================================================== Command PhaseScriptExecution failed with a nonzero exit code ======================================================================== ERROR: Unknown FLUTTER_BUILD_MODE: test. Valid values are 'Debug', 'Profile', or 'Release' (case insensitive). This is controlled by the FLUTTER_BUILD_MODE environment variable. If that is not set, the CONFIGURATION environment variable is used. You can fix this by either adding an appropriately named build configuration, or adding an appropriate value for FLUTTER_BUILD_MODE to the .xcconfig file for the current build configuration (Test). ======================================================================== Command PhaseScriptExecution failed with a nonzero exit code Build target Pods-app_ios of project Pods with configuration Test /Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. (in target 'Pods-app_ios' from project 'Pods') /Users/huynq/Documents/NEVERCODE.IO/RepoduceProjects/OPClone/add-to-app/app_ios/Pods/Pods.xcodeproj: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 9.0, but the range of supported deployment target versions is 11.0 to 16.4.99. Build failed 26/09/2023, 00:59 0.7 seconds ```
flutter doctor -v (stable and master) ```bash [✓] Flutter (Channel stable, 3.13.5, on macOS 13.5 22G74 darwin-x64, locale en-VN) • Flutter version 3.13.5 on channel stable at /Users/huynq/Documents/GitHub/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 12fccda598 (5 days ago), 2023-09-19 13:56:11 -0700 • Engine revision bd986c5ed2 • Dart version 3.1.2 • DevTools version 2.25.0 [✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0) • Android SDK at /Users/huynq/Library/Android/sdk • Platform android-34, build-tools 32.0.0 • ANDROID_HOME = /Users/huynq/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14E222b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) [✓] VS Code (version 1.82.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.72.0 [✓] Connected device (2 available) • macOS (desktop) • macos • darwin-x64 • macOS 13.5 22G74 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 117.0.5938.62 [✓] Network resources • All expected network resources are available. • No issues found! ``` ```bash [!] Flutter (Channel master, 3.15.0-7.0.pre.2, on macOS 13.5 22G74 darwin-x64, locale en-VN) • Flutter version 3.15.0-7.0.pre.2 on channel master at /Users/huynq/Documents/GitHub/flutter_master ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path. ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path. • Upstream repository https://github.com/flutter/flutter.git • Framework revision 2f56288a4e (2 hours ago), 2023-09-24 18:49:07 -0700 • Engine revision 2daf5e7bb2 • Dart version 3.2.0 (build 3.2.0-191.0.dev) • DevTools version 2.28.0-dev.12 • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades. [✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0) • Android SDK at /Users/huynq/Library/Android/sdk • Platform android-34, build-tools 32.0.0 • ANDROID_HOME = /Users/huynq/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 14.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14E222b • CocoaPods version 1.11.3 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2022.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) [✓] VS Code (version 1.82.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.72.0 [✓] Connected device (2 available) • macOS (desktop) • macos • darwin-x64 • macOS 13.5 22G74 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 117.0.5938.62 [✓] Network resources • All expected network resources are available. ! Doctor found issues in 1 category. ```
christopherfujino commented 1 year ago

cc @vashworth

vashworth commented 1 year ago

So I'm unsure of long-term how we'd want to support this. But as a workaround, you can try doing:

  1. pod install (This should generate config files specific for your Test config)
  2. Then go to your Xcode project Info, and check which config file is being used for your Test config

Screenshot 2023-09-29 at 4 07 44 PM In my case it's Pods-AddToAppOptionA.test.xcconfig

  1. Open the corresponding config file and add
    FLUTTER_BUILD_MODE=Debug

    You can alternatively set this to Profile or Release

Note: After doing pod install, you would need to re-add FLUTTER_BUILD_MODE

saunptit97 commented 1 year ago

Thank you for your support. I have fixed this issue.

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.