tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
84.91k stars 2.56k forks source link

[bug] Run "bun run tauri ios dev" gets error: Couldn't recognize the current folder as a Tauri project. It must contain a `tauri.conf.json`, `tauri.conf.json5` or `Tauri.toml` file in any subfolder. #8860

Closed dyzdyz010 closed 3 months ago

dyzdyz010 commented 9 months ago

Describe the bug

bun run tauri ios dev returns error:

        Info Starting simulator iPhone 15 Pro Max
        Info Using 192.168.1.25 to access the development server.
     Running BeforeDevCommand (`bun run dev`)
$ vite

  VITE v5.1.1  ready in 80 ms

  ➜  Local:   http://localhost:1420/
  ➜  Network: http://192.168.1.25:1420/
  ➜  Network: http://198.18.0.1:1420/
        Info detected host target triple "aarch64-apple-darwin"
Building app...
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -scheme tauriapp_iOS -workspace /Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/tauriapp.xcodeproj/project.xcworkspace/ -sdk iphonesimulator -configuration debug -arch arm64-sim -allowProvisioningUpdates build

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Build settings from command line:
    ARCHS = arm64-sim
    SDKROOT = iphonesimulator17.2

--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:272219EF-9C89-4233-B9A1-1F68A7CF9669, OS:17.2, name:iPad (10th generation) }
{ platform:iOS Simulator, id:0E8FA816-10EF-4CDB-9020-DBA312350702, OS:17.2, name:iPad Air (5th generation) }
{ platform:iOS Simulator, id:D9E4ACB2-C484-498F-B945-AAF4BD273E66, OS:17.2, name:iPad Pro (11-inch) (4th generation) }
{ platform:iOS Simulator, id:E33A9E0A-B480-43F8-8376-68AFDC94173B, OS:17.2, name:iPad Pro (12.9-inch) (6th generation) }
{ platform:iOS Simulator, id:4174B5B9-2BDF-42A1-9557-2FF0BEDC7890, OS:17.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:11061A95-CBC0-4A3F-9893-9AC8290ACEB1, OS:17.2, name:iPhone 15 }
{ platform:iOS Simulator, id:34E6E516-7E39-4924-9ADC-C311800072E2, OS:17.2, name:iPhone 15 Plus }
{ platform:iOS Simulator, id:7DCDCE30-8B6B-451A-B1AE-E014D4B159DF, OS:17.2, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:1DE1F38A-FD46-4F0C-B24B-0E6A9B43C1A8, OS:17.2, name:iPhone 15 Pro Max }
{ platform:iOS Simulator, id:E9CF8FCA-FFC0-4CF9-826F-E5ED53E372DD, OS:17.2, name:iPhone SE (3rd generation) }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006021-000271611130C01E }
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS, arch:arm64, id:00008110-000905D20C8A801E, name:Yizhuo’s iPhone 13 Pro Max }
Prepare packages

ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'tauriapp_iOS' in project 'tauriapp' (no dependencies)

GatherProvisioningInputs

CreateBuildDescription

ClangStatCache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk /Users/dyz/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.2-21C52-4f2951bfe8f3cd53c99228b0131e163e.sdkstatcache
    cd /Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/tauriapp.xcodeproj
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -o /Users/dyz/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.2-21C52-4f2951bfe8f3cd53c99228b0131e163e.sdkstatcache

PhaseScriptExecution Build\ Rust\ Code /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Script-C3E114298ECE878BDEE8197A.sh (in target 'tauriapp_iOS' from project 'tauriapp')
    cd /Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple
    export ACTION\=build
    export AD_HOC_CODE_SIGNING_ALLOWED\=YES
    export AGGREGATE_TRACKED_DOMAINS\=YES
    export ALLOW_TARGET_PLATFORM_SPECIALIZATION\=NO
    export ALTERNATE_GROUP\=staff
    export ALTERNATE_MODE\=u+w,go-w,a+rX
    export ALTERNATE_OWNER\=dyz
    export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES\=YES
    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 APP_SHORTCUTS_ENABLE_FLEXIBLE_MATCHING\=YES
    export ARCHS\=arm64-sim
    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_GENERATE_ASSET_SYMBOLS\=YES
    export AUTOMATICALLY_MERGE_DEPENDENCIES\=NO
    export AVAILABLE_PLATFORMS\=appletvos\ appletvsimulator\ driverkit\ iphoneos\ iphonesimulator\ macosx\ watchos\ watchsimulator\ xros\ xrsimulator
    export AppIdentifierPrefix\=2FBFFBNMS3.
    export BITCODE_GENERATION_MODE\=marker
    export BUILD_ACTIVE_RESOURCES_ONLY\=NO
    export BUILD_COMPONENTS\=headers\ build
    export BUILD_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products
    export BUILD_LIBRARY_FOR_DISTRIBUTION\=NO
    export BUILD_ROOT\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products
    export BUILD_STYLE\=
    export BUILD_VARIANTS\=normal
    export BUILT_PRODUCTS_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-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/kz/nn2h9fk50zz99557zmmrz4240000gn/C/com.apple.DeveloperTools/15.2-15C500b/Xcode
    export CCHROOT\=/var/folders/kz/nn2h9fk50zz99557zmmrz4240000gn/C/com.apple.DeveloperTools/15.2-15C500b/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_COMPILE_CACHE_PATH\=/Users/dyz/Library/Developer/Xcode/DerivedData/CompilationCache.noindex
    export CLANG_CXX_LANGUAGE_STANDARD\=gnu++14
    export CLANG_CXX_LIBRARY\=libc++
    export CLANG_ENABLE_EXPLICIT_MODULES\=NO
    export CLANG_ENABLE_MODULES\=YES
    export CLANG_ENABLE_OBJC_ARC\=YES
    export CLANG_ENABLE_OBJC_WEAK\=YES
    export CLANG_MODULES_BUILD_SESSION_FILE\=/Users/dyz/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\=YES
    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/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/JavaClasses
    export CLEAN_PRECOMPS\=YES
    export CLONE_HEADERS\=NO
    export CODESIGNING_FOLDER_PATH\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator/tauriapp.app
    export CODE_SIGNING_ALLOWED\=YES
    export CODE_SIGNING_REQUIRED\=YES
    export CODE_SIGN_CONTEXT_CLASS\=XCiPhoneSimulatorCodeSignContext
    export CODE_SIGN_ENTITLEMENTS\=tauriapp_iOS/tauriapp_iOS.entitlements
    export CODE_SIGN_IDENTITY\=iPhone\ Developer
    export CODE_SIGN_INJECT_BASE_ENTITLEMENTS\=YES
    export COLOR_DIAGNOSTICS\=YES
    export COMBINE_HIDPI_IMAGES\=NO
    export COMPILER_INDEX_STORE_ENABLE\=Default
    export COMPOSITE_SDK_DIRS\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/CompositeSDKs
    export COMPRESS_PNG_FILES\=YES
    export CONFIGURATION\=debug
    export CONFIGURATION_BUILD_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator
    export CONFIGURATION_TEMP_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator
    export CONTENTS_FOLDER_PATH\=tauriapp.app
    export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=tauriapp.app/Contents
    export CONTENTS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=tauriapp.app
    export COPYING_PRESERVES_HFS_DATA\=NO
    export COPY_HEADERS_RUN_UNIFDEF\=NO
    export COPY_PHASE_STRIP\=NO
    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/iPhoneOS17.2.sdk
    export CORRESPONDING_DEVICE_SDK_NAME\=iphoneos17.2
    export CP\=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY\=NO
    export CURRENT_ARCH\=undefined_arch
    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\=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\ 16.5\ 16.6\ 17.0\ 17.1\ 17.2
    export DERIVED_FILES_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/DerivedSources
    export DERIVED_FILE_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/DerivedSources
    export DERIVED_SOURCES_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_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\=2FBFFBNMS3
    export DIFF\=/usr/bin/diff
    export DOCUMENTATION_FOLDER_PATH\=tauriapp.app/en.lproj/Documentation
    export DONT_GENERATE_INFOPLIST_FILE\=NO
    export DO_HEADER_SCANNING_IN_JAM\=NO
    export DSTROOT\=/tmp/tauriapp.dst
    export DT_TOOLCHAIN_DIR\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME\=tauriapp.app.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT\=NO
    export DWARF_DSYM_FOLDER_PATH\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-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_CODE_COVERAGE\=YES
    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 ENABLE_XOJIT_PREVIEWS\=NO
    export ENTITLEMENTS_ALLOWED\=NO
    export ENTITLEMENTS_DESTINATION\=__entitlements
    export ENTITLEMENTS_REQUIRED\=NO
    export EXCLUDED_ARCHS\=arm64
    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\=tauriapp.app/Executables
    export EXECUTABLE_FOLDER_PATH\=tauriapp.app
    export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_NO\=tauriapp.app/MacOS
    export EXECUTABLE_FOLDER_PATH_SHALLOW_BUNDLE_YES\=tauriapp.app
    export EXECUTABLE_NAME\=tauriapp
    export EXECUTABLE_PATH\=tauriapp.app/tauriapp
    export EXPANDED_CODE_SIGN_IDENTITY\=-
    export EXPANDED_CODE_SIGN_IDENTITY_NAME\=-
    export EXTENSIONS_FOLDER_PATH\=tauriapp.app/Extensions
    export FILE_LIST\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects/LinkFileList
    export FIXED_FILES_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/FixedFiles
    export FRAMEWORKS_FOLDER_PATH\=tauriapp.app/Frameworks
    export FRAMEWORK_FLAG_PREFIX\=-framework
    export FRAMEWORK_SEARCH_PATHS\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator\ \ \".\"
    export FRAMEWORK_VERSION\=A
    export FULL_PRODUCT_NAME\=tauriapp.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
    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/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/GeneratedModuleMaps-iphonesimulator
    export GENERATE_INFOPLIST_FILE\=NO
    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/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator/include\
    export HIDE_BITCODE_SYMBOLS\=YES
    export HOME\=/Users/dyz
    export HOST_ARCH\=arm64
    export HOST_PLATFORM\=macosx
    export ICONV\=/usr/bin/iconv
    export INFOPLIST_ENABLE_CFBUNDLEICONS_MERGE\=YES
    export INFOPLIST_EXPAND_BUILD_SETTINGS\=YES
    export INFOPLIST_FILE\=tauriapp_iOS/Info.plist
    export INFOPLIST_OUTPUT_FORMAT\=binary
    export INFOPLIST_PATH\=tauriapp.app/Info.plist
    export INFOPLIST_PREPROCESS\=NO
    export INFOSTRINGS_PATH\=tauriapp.app/en.lproj/InfoPlist.strings
    export INLINE_PRIVATE_FRAMEWORKS\=NO
    export INSTALLHDRS_COPY_PHASE\=NO
    export INSTALLHDRS_SCRIPT_PHASE\=NO
    export INSTALL_DIR\=/tmp/tauriapp.dst/Applications
    export INSTALL_GROUP\=staff
    export INSTALL_MODE_FLAG\=u+w,go-w,a+rX
    export INSTALL_OWNER\=dyz
    export INSTALL_PATH\=/Applications
    export INSTALL_ROOT\=/tmp/tauriapp.dst
    export IPHONEOS_DEPLOYMENT_TARGET\=13.0
    export IS_UNOPTIMIZED_BUILD\=YES
    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\=tauriapp.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/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects-normal/undefined_arch/tauriapp_dependency_info.dat
    export LD_ENTITLEMENTS_SECTION\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/tauriapp.app-Simulated.xcent
    export LD_ENTITLEMENTS_SECTION_DER\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/tauriapp.app-Simulated.xcent.der
    export LD_EXPORT_SYMBOLS\=YES
    export LD_GENERATE_MAP_FILE\=NO
    export LD_MAP_FILE_PATH\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/tauriapp-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
    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/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator\
    export LINKER_DISPLAYS_MANGLED_NAMES\=NO
    export LINK_FILE_LIST_normal_arm64-sim\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects-normal/arm64-sim/tauriapp.LinkFileList
    export LINK_OBJC_RUNTIME\=YES
    export LINK_WITH_STANDARD_LIBRARIES\=YES
    export LLVM_TARGET_TRIPLE_OS_VERSION\=ios13.0
    export LLVM_TARGET_TRIPLE_SUFFIX\=-simulator
    export LLVM_TARGET_TRIPLE_VENDOR\=apple
    export LOCALIZATION_EXPORT_SUPPORTED\=YES
    export LOCALIZATION_PREFERS_STRING_CATALOGS\=NO
    export LOCALIZED_RESOURCES_FOLDER_PATH\=tauriapp.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/dyz/Developer/playground/tauriapp/src-tauri/gen/apple
    export LOCSYMROOT\=/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple
    export MACH_O_TYPE\=mh_execute
    export MAC_OS_X_PRODUCT_BUILD_VERSION\=23B92
    export MAC_OS_X_VERSION_ACTUAL\=140102
    export MAC_OS_X_VERSION_MAJOR\=140000
    export MAC_OS_X_VERSION_MINOR\=140100
    export MAKE_MERGEABLE\=NO
    export MERGEABLE_LIBRARY\=NO
    export MERGED_BINARY_TYPE\=none
    export MERGE_LINKED_LIBRARIES\=NO
    export METAL_LIBRARY_FILE_BASE\=default
    export METAL_LIBRARY_OUTPUT_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator/tauriapp.app
    export MODULES_FOLDER_PATH\=tauriapp.app/Modules
    export MODULE_CACHE_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
    export MTL_ENABLE_DEBUG_INFO\=INCLUDE_SOURCE
    export MTL_FAST_MATH\=YES
    export NATIVE_ARCH\=arm64
    export NATIVE_ARCH_32_BIT\=arm
    export NATIVE_ARCH_64_BIT\=arm64
    export NATIVE_ARCH_ACTUAL\=arm64
    export NO_COMMON\=YES
    export OBJC_ABI_VERSION\=2
    export OBJECT_FILE_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects
    export OBJECT_FILE_DIR_normal\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects-normal
    export OBJROOT\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex
    export ONLY_ACTIVE_ARCH\=NO
    export OS\=MACOS
    export OSAC\=/usr/bin/osacompile
    export PACKAGE_TYPE\=com.apple.package-type.wrapper.application
    export PASCAL_STRINGS\=YES
    export PATH\=/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin/Contents/Resources:/Applications/Xcode.app/Contents/Developer/Library/Xcode/Plug-ins/XCBSpecifications.ideplugin:/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:/Users/dyz/Developer/playground/tauriapp/node_modules/.bin:/opt/homebrew/bin:/opt/homebrew/sbin:/opt/homebrew/Caskroom/miniconda/base/bin:/opt/homebrew/Caskroom/miniconda/base/condabin:/Users/dyz/Library/pnpm:/Users/dyz/.nvm/versions/node/v20.10.0/bin:/Users/dyz/.gem/bin:/Users/dyz/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Library/TeX/texbin:/Applications/VMware\ Fusion.app/Contents/Public:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/dyz/.cargo/bin:/Users/dyz/.orbstack/binn:/Users/dyz/Developer/usr/local/bin:/opt/homebrew/opt/libpq/bin:/Users/dyz/.bun/bin:/Users/dyz/Developer/usr/local/flutter/bin:/Users/dyz/.gem/ruby/2.6.0/bin:/Users/dyz/Developer/go/bin:/Users/dyz/.dotnet/tools
    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\=tauriapp.app/pbdevelopment.plist
    export PER_ARCH_OBJECT_FILE_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects-normal/undefined_arch
    export PER_VARIANT_OBJECT_FILE_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects-normal
    export PKGINFO_FILE_PATH\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/PkgInfo
    export PKGINFO_PATH\=tauriapp.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\=21C52
    export PLIST_FILE_OUTPUT_FORMAT\=binary
    export PLUGINS_FOLDER_PATH\=tauriapp.app/PlugIns
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR\=YES
    export PRECOMP_DESTINATION_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS\=NO
    export PRIVATE_HEADERS_FOLDER_PATH\=tauriapp.app/PrivateHeaders
    export PRODUCT_BUNDLE_IDENTIFIER\=com.tauri.tauriapp
    export PRODUCT_BUNDLE_PACKAGE_TYPE\=APPL
    export PRODUCT_MODULE_NAME\=tauriapp
    export PRODUCT_NAME\=tauriapp
    export PRODUCT_SETTINGS_PATH\=/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/tauriapp_iOS/Info.plist
    export PRODUCT_TYPE\=com.apple.product-type.application
    export PROFILING_CODE\=NO
    export PROJECT\=tauriapp
    export PROJECT_DERIVED_FILE_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/DerivedSources
    export PROJECT_DIR\=/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple
    export PROJECT_FILE_PATH\=/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/tauriapp.xcodeproj
    export PROJECT_NAME\=tauriapp
    export PROJECT_TEMP_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build
    export PROJECT_TEMP_ROOT\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/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\=tauriapp.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_STATIC_EXECUTABLES_FROM_EMBEDDED_BUNDLES\=YES
    export REMOVE_SVN_FROM_RESOURCES\=YES
    export REZ_COLLECTOR_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/ResourceManagerResources
    export REZ_OBJECTS_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator\
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES\=NO
    export SCRIPTS_FOLDER_PATH\=tauriapp.app/Scripts
    export SCRIPT_INPUT_FILE_COUNT\=0
    export SCRIPT_INPUT_FILE_LIST_COUNT\=0
    export SCRIPT_OUTPUT_FILE_0\=/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/target/aarch64-apple-ios/debug/deps/libtauriapp_lib.a
    export SCRIPT_OUTPUT_FILE_1\=/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/target/x86_64-apple-ios/debug/deps/libtauriapp_lib.a
    export SCRIPT_OUTPUT_FILE_COUNT\=2
    export SCRIPT_OUTPUT_FILE_LIST_COUNT\=0
    export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk
    export SDK_DIR\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk
    export SDK_DIR_iphonesimulator\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk
    export SDK_DIR_iphonesimulator17_2\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk
    export SDK_NAME\=iphonesimulator17.2
    export SDK_NAMES\=iphonesimulator17.2
    export SDK_PRODUCT_BUILD_VERSION\=21C52
    export SDK_STAT_CACHE_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData
    export SDK_STAT_CACHE_ENABLE\=YES
    export SDK_STAT_CACHE_PATH\=/Users/dyz/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphonesimulator17.2-21C52-4f2951bfe8f3cd53c99228b0131e163e.sdkstatcache
    export SDK_VERSION\=17.2
    export SDK_VERSION_ACTUAL\=170200
    export SDK_VERSION_MAJOR\=170000
    export SDK_VERSION_MINOR\=170200
    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/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator/DerivedSources
    export SHARED_FRAMEWORKS_FOLDER_PATH\=tauriapp.app/SharedFrameworks
    export SHARED_PRECOMPS_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/PrecompiledHeaders
    export SHARED_SUPPORT_FOLDER_PATH\=tauriapp.app/SharedSupport
    export SKIP_INSTALL\=NO
    export SOURCE_ROOT\=/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple
    export SRCROOT\=/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple
    export STRINGSDATA_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects-normal/undefined_arch
    export STRINGSDATA_ROOT\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_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 SUPPRESS_WARNINGS\=NO
    export SWIFT_ACTIVE_COMPILATION_CONDITIONS\=DEBUG
    export SWIFT_EMIT_LOC_STRINGS\=NO
    export SWIFT_OPTIMIZATION_LEVEL\=-Onone
    export SWIFT_PLATFORM_TARGET_PREFIX\=ios
    export SWIFT_RESPONSE_FILE_PATH_normal_arm64-sim\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects-normal/arm64-sim/tauriapp.SwiftFileList
    export SWIFT_VERSION\=5.0
    export SYMROOT\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/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\=tauriapp.app/SystemExtensions
    export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_NO\=tauriapp.app/Library/SystemExtensions
    export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES\=tauriapp.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_USE_SRCROOT\=YES
    export TAPI_VERIFY_MODE\=Pedantic
    export TARGETED_DEVICE_FAMILY\=1,2
    export TARGETNAME\=tauriapp_iOS
    export TARGET_BUILD_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator
    export TARGET_NAME\=tauriapp_iOS
    export TARGET_TEMP_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build
    export TEMP_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build
    export TEMP_FILES_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build
    export TEMP_FILE_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build
    export TEMP_ROOT\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/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/iPhoneSimulator17.2.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\=2FBFFBNMS3.
    export UID\=501
    export UNINSTALLED_PRODUCTS_DIR\=/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/UninstalledProducts
    export UNLOCALIZED_RESOURCES_FOLDER_PATH\=tauriapp.app
    export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_NO\=tauriapp.app/Resources
    export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_YES\=tauriapp.app
    export UNSTRIPPED_PRODUCT\=NO
    export USER\=dyz
    export USER_APPS_DIR\=/Users/dyz/Applications
    export USER_LIBRARY_DIR\=/Users/dyz/Library
    export USE_DYNAMIC_NO_PIC\=YES
    export USE_HEADERMAP\=YES
    export USE_HEADER_SYMLINKS\=NO
    export VALIDATE_DEVELOPMENT_ASSET_PATHS\=YES_ERROR
    export VALIDATE_PRODUCT\=NO
    export VALID_ARCHS\=arm64\ \ arm64-sim
    export VERBOSE_PBXCP\=NO
    export VERSIONPLIST_PATH\=tauriapp.app/version.plist
    export VERSION_INFO_BUILDER\=dyz
    export VERSION_INFO_FILE\=tauriapp_vers.c
    export VERSION_INFO_STRING\=\"@\(\#\)PROGRAM:tauriapp\ \ PROJECT:tauriapp-\"
    export WRAPPER_EXTENSION\=app
    export WRAPPER_NAME\=tauriapp.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\=15C500b
    export XCODE_VERSION_ACTUAL\=1520
    export XCODE_VERSION_MAJOR\=1500
    export XCODE_VERSION_MINOR\=1520
    export XPCSERVICES_FOLDER_PATH\=tauriapp.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 diagnostic_message_length\=132
    export variant\=normal
    /bin/sh -c /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Script-C3E114298ECE878BDEE8197A.sh
$ tauri ios xcode-script -v --platform iOS Simulator --sdk-root /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk --framework-search-paths /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator  "." --header-search-paths /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator/include  --gcc-preprocessor-definitions  DEBUG=1 --configuration debug arm64-sim
       Debug [globset] built glob set; 0 literals, 2 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes
       Debug [globset] glob converted to regex: Glob { glob: "**/npm-debug.log*", re: "(?-u)^(?:/?|.*/)npm\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('n'), Literal('p'), Literal('m'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
       Debug [globset] glob converted to regex: Glob { glob: "**/yarn-debug.log*", re: "(?-u)^(?:/?|.*/)yarn\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('y'), Literal('a'), Literal('r'), Literal('n'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
       Debug [globset] glob converted to regex: Glob { glob: "**/yarn-error.log*", re: "(?-u)^(?:/?|.*/)yarn\\-error\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('y'), Literal('a'), Literal('r'), Literal('n'), Literal('-'), Literal('e'), Literal('r'), Literal('r'), Literal('o'), Literal('r'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
       Debug [globset] glob converted to regex: Glob { glob: "**/pnpm-debug.log*", re: "(?-u)^(?:/?|.*/)pnpm\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('p'), Literal('n'), Literal('p'), Literal('m'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
       Debug [globset] glob converted to regex: Glob { glob: "**/lerna-debug.log*", re: "(?-u)^(?:/?|.*/)lerna\\-debug\\.log[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, Literal('l'), Literal('e'), Literal('r'), Literal('n'), Literal('a'), Literal('-'), Literal('d'), Literal('e'), Literal('b'), Literal('u'), Literal('g'), Literal('.'), Literal('l'), Literal('o'), Literal('g'), ZeroOrMore]) }
       Debug [globset] glob converted to regex: Glob { glob: ".vscode/*", re: "(?-u)^\\.vscode/[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([Literal('.'), Literal('v'), Literal('s'), Literal('c'), Literal('o'), Literal('d'), Literal('e'), Literal('/'), ZeroOrMore]) }
       Debug [globset] glob converted to regex: Glob { glob: "**/*.ntvs*", re: "(?-u)^(?:/?|.*/)[^/]*\\.ntvs[^/]*$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Literal('n'), Literal('t'), Literal('v'), Literal('s'), ZeroOrMore]) }
       Debug [globset] glob converted to regex: Glob { glob: "**/*.sw?", re: "(?-u)^(?:/?|.*/)[^/]*\\.sw[^/]$", opts: GlobOptions { case_insensitive: false, literal_separator: true, backslash_escape: true, empty_alternates: false }, tokens: Tokens([RecursivePrefix, ZeroOrMore, Literal('.'), Literal('s'), Literal('w'), Any]) }
       Debug [globset] built glob set; 1 literals, 6 basenames, 5 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 8 regexes
       Debug [globset] built glob set; 1 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes
       Debug [globset] built glob set; 0 literals, 3 basenames, 0 extensions, 0 prefixes, 0 suffixes, 0 required extensions, 0 regexes
       Debug [ignore::walk] ignoring /Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/target: Ignore(IgnoreMatch(Gitignore(Glob { from: Some("/var/folders/kz/nn2h9fk50zz99557zmmrz4240000gn/T/.gitignore"), original: "target/", actual: "**/target", is_whitelist: false, is_only_dir: true })))
       Debug [ignore::walk] ignoring /Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/Externals: Ignore(IgnoreMatch(Gitignore(Glob { from: Some("/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/.gitignore"), original: "Externals/", actual: "**/Externals", is_whitelist: false, is_only_dir: true })))
       Debug [ignore::walk] ignoring /Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/.gitignore: Ignore(IgnoreMatch(Hidden))
thread '<unnamed>' panicked at src/helpers/app_paths.rs:92:5:
Couldn't recognize the current folder as a Tauri project. It must contain a `tauri.conf.json`, `tauri.conf.json5` or `Tauri.toml` file in any subfolder.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Ld /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator/tauriapp.app/tauriapp normal (in target 'tauriapp_iOS' from project 'tauriapp')
    cd /Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -Xlinker -reproducible -target arm64-sim-apple-ios13.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -O0 -L/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/EagerLinkingTBDs/debug-iphonesimulator -L/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator -L/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/Externals/arm64-sim/debug -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/lib/swift -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphonesimulator -F/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/EagerLinkingTBDs/debug-iphonesimulator -F/Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator -F. -filelist /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects-normal/arm64-sim/tauriapp.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects-normal/arm64-sim/tauriapp_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib\=libc++ -fobjc-arc -fobjc-link-runtime -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/tauriapp.app-Simulated.xcent -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __ents_der -Xlinker /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/tauriapp.app-Simulated.xcent.der -ltauriapp_lib -framework CoreGraphics -framework Metal -framework MetalKit -framework QuartzCore -framework Security -framework UIKit -framework WebKit -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/Objects-normal/arm64-sim/tauriapp_dependency_info.dat -o /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator/tauriapp.app/tauriapp
ld: warning: search path '/Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/Externals/arm64-sim/debug' not found
ld: library 'tauriapp_lib' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)

CompileAssetCatalog /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator/tauriapp.app /Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/Assets.xcassets (in target 'tauriapp_iOS' from project 'tauriapp')
    cd /Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple
    /Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/assetcatalog_dependencies --output-partial-info-plist /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Intermediates.noindex/tauriapp.build/debug-iphonesimulator/tauriapp_iOS.build/assetcatalog_generated_info.plist --app-icon AppIcon --compress-pngs --enable-on-demand-resources YES --development-region en --target-device iphone --target-device ipad --minimum-deployment-target 13.0 --platform iphonesimulator --compile /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator/tauriapp.app /Users/dyz/Developer/playground/tauriapp/src-tauri/gen/apple/Assets.xcassets

note: Run script build phase 'Build Rust Code' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'tauriapp_iOS' from project 'tauriapp')
** BUILD FAILED **

The following build commands failed:
    Ld /Users/dyz/Library/Developer/Xcode/DerivedData/tauriapp-bqantvqtyxdqlbendjgciphhgxny/Build/Products/debug-iphonesimulator/tauriapp.app/tauriapp normal (in target 'tauriapp_iOS' from project 'tauriapp')
(1 failure)
       Error command ["xcodebuild"] exited with code 65
error: script "tauri" exited with code 1 (SIGHUP)

Reproduction

cargo install create-tauri-app
cargo create-tauri-app --alpha
rustup target add aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim

Then bun run tauri ios dev

Expected behavior

Start dev server without error

Full tauri info output

[✔] Environment
    - OS: Mac OS 14.1.2 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.73.0 (cc66ad468 2023-10-03)
    ✔ cargo: 1.73.0 (9c4383fb5 2023-08-26)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.10.0
    - pnpm: 8.6.6
    - npm: 10.2.3
    - bun: 1.0.15

[-] Packages
    - tauri [RUST]: 2.0.0-beta.2
    - tauri-build [RUST]: 2.0.0-beta.1
    - wry [RUST]: 0.35.2
    - tao [RUST]: 0.25.0
    - tauri-cli [RUST]: 1.5.6
    - @tauri-apps/api [NPM]: 2.0.0-beta.0
    - @tauri-apps/cli [NPM]: 2.0.0-beta.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

[-] iOS
    - Developer Teams: xxxx (ID: xxxxxxxxx)

Stack trace

No response

Additional context

No response

amrbashir commented 9 months ago

Could you share a minimal repro?

dyzdyz010 commented 9 months ago

Could you share a minimal repro?

I barely just create a fresh new project using cargo create-tauri-app --alpha, change nothing but bundle identifier.

pewsheen commented 9 months ago

https://github.com/tauri-apps/tauri/blob/11a5816bdffcbaa20df936dee43751de2cf67530/tooling/cli/src/mobile/ios/xcode_script.rs#L63-L66

bun is running from gen/apple but also has npm_lifecycle_event been set, so it didn't change working dir back to the project root

pewsheen commented 9 months ago

Another issue I found is how bun parses command arguments.

For example, "AA BB" will be split into two argv "AA", "BB" instead of a "AA BB" string.

#!/bin/sh
bun run command --args "AA BB"

Escaping double quotes again will fix the issue, but this is really weird in shell script

#!/bin/sh
bun run command --args \"AA BB\"

Might relate to https://github.com/oven-sh/bun/issues/7667


So, right now, even if we fix the working dir bug, we still have this issue that needs to be addressed. Otherwise, the xcode-script command will fail due to the argument --framework-search-path "path1 path2"not being parsed correctly.

garrlker commented 6 months ago

Not sure if it's bun specific, I'm having the same issue whether I use bun or npm

Tauri info

[✔] Environment
    - OS: Mac OS 14.2.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
    ✔ cargo: 1.77.2 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.16.1
    - pnpm: 8.10.2
    - yarn: 1.22.19
    - npm: 9.5.1
    - bun: 1.1.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.15
    - tauri-build [RUST]: 2.0.0-beta.12
    - wry [RUST]: 0.39.1
    - tao [RUST]: 0.27.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.8
    - @tauri-apps/cli [NPM]: 2.0.0-beta.13

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:3000/
    - framework: Vue.js (Nuxt)
    - bundler: Webpack

[-] iOS
    - Developer Teams: xxxx (ID: xxxxxxxxx)

Also I'm not using webpack for my bundler, so your tauri info tool may not be totally accurate either. Nuxt uses Vite/Nitro internally

garrlker commented 6 months ago

Update: Setting up a mobile project from scratch is working with npm. Doing the initial setup with bun must be breaking my other project even when trying to use npm (or there's something else legitimately wrong with my code)

Either way, ignore my previous comment

cliqer commented 5 months ago

I have the same problem with iOS when using Bun to create a project while Android and Desktop work perfectly well. With npm iOS compiles successfully so it is a Bun/iOS-specific issue.

ruby-ist commented 3 months ago

I'm facing the same issue with iOS in beta version. I created my project with Bun. Running bun run tauri ios dev makes the build fail with same error. I tried cargo tauri ios dev and npm tauri ios dev too, nothing works. Is there any other quick work around for this?

amrbashir commented 3 months ago

This should be fixed by #10569