Friday, October 20, 2023
HomeiOS Developmentios - Xcode > Product > Archive > Command PhaseScriptExecution failed with...

ios – Xcode > Product > Archive > Command PhaseScriptExecution failed with a nonzero exit code


I am making an attempt to publish my iOS app replace to App Retailer Join via the “Product > Archive” choice in Xcode and after archive is created I all the time obtain the identical “Command PhaseScriptExecution failed with a nonzero exit code”.

I am an iOS growth beginner, so my data to troubleshoot this drawback could be very restricted.

Archive Log:

PhaseScriptExecution Run Script

MESSAGES_APPLICATION_EXTENSION_SUPPORT_FOLDER_PATH=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/BuildProductsPath/MessagesApplicationExtensionSupport
export MESSAGES_APPLICATION_SUPPORT_FOLDER_PATH=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/BuildProductsPath/MessagesApplicationSupport
export METAL_LIBRARY_FILE_BASE=default
export METAL_LIBRARY_OUTPUT_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/InstallationBuildProductsLocation/Purposes/testme.app
export MODULES_FOLDER_PATH=testme.app/Modules
export MODULE_CACHE_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
export MTL_ENABLE_DEBUG_INFO=NO
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 OBJECT_FILE_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/Objects
export OBJECT_FILE_DIR_normal=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/Objects-normal
export OBJROOT=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath
export ONLY_ACTIVE_ARCH=NO
export OS=MACOS
export OSAC=/usr/bin/osacompile
export OTHER_CFLAGS=-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/RealModule.modulemap
-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/Algorithms.modulemap
-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/SDWebImage.modulemap
-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/SDWebImageMapKit.modulemap
-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/AFNetworking.modulemap
-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/YouTubeiOSPlayerHelper.modulemap

export OTHER_CPLUSPLUSFLAGS=-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/RealModule.modulemap

-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/Algorithms.modulemap
-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/SDWebImage.modulemap
-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/SDWebImageMapKit.modulemap
-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/AFNetworking.modulemap
-fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/YouTubeiOSPlayerHelper.modulemap

export OTHER_LDFLAGS= -ObjC -l"c++" -l"z" -framework "CoreGraphics" -framework "Crashlytics" -framework

“DatePickerDialog_ObjC” -framework “Material” -framework
“Basis” -framework “SWRevealViewController” -framework
“Safety” -framework “SystemConfiguration” -framework
“UIKit” -framework “YoutubePlayer_in_WKWebView” -framework
“iCloudDocumentSync”
export OTHER_SWIFT_FLAGS=-Xcc -fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/SDWebImage.modulemap
-Xcc -fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/SDWebImageMapKit.modulemap
-Xcc -fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/AFNetworking.modulemap
-Xcc -fmodule-map-file=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/GeneratedModuleMaps-iphoneos/YouTubeiOSPlayerHelper.modulemap

export PACKAGE_TYPE=com.apple.package-type.wrapper.utility
export PASCAL_STRINGS=YES
export PATH=/Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/appleinternal/bin:/Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/native/bin:/Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin:/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/appleinternal/bin:/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/native/bin:/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/native/bin:/Purposes/Xcode.app/Contents/Developer/usr/bin:/Purposes/Xcode.app/Contents/Developer/usr/native/bin:/usr/native/bin:/usr/bin:/bin:/usr/sbin:/sbin
export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES=/usr/embrace

/usr/native/embrace /System/Library/Frameworks
/System/Library/PrivateFrameworks
/Purposes/Xcode.app/Contents/Developer/Headers
/Purposes/Xcode.app/Contents/Developer/SDKs
/Purposes/Xcode.app/Contents/Developer/Platforms
export PBDEVELOPMENTPLIST_PATH=testme.app/pbdevelopment.plist
export PER_ARCH_OBJECT_FILE_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/Objects-normal/undefined_arch
export PER_VARIANT_OBJECT_FILE_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/Objects-normal
export PKGINFO_FILE_PATH=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/PkgInfo
export PKGINFO_PATH=testme.app/PkgInfo
export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Purposes
export PLATFORM_DEVELOPER_BIN_DIR=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
export PLATFORM_DEVELOPER_LIBRARY_DIR=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library
export PLATFORM_DEVELOPER_SDK_DIR=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
export PLATFORM_DEVELOPER_TOOLS_DIR=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Instruments
export PLATFORM_DEVELOPER_USR_DIR=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
export PLATFORM_DIR=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
export PLATFORM_DISPLAY_NAME=iOS
export PLATFORM_FAMILY_NAME=iOS
export PLATFORM_NAME=iphoneos
export PLATFORM_PREFERRED_ARCH=arm64
export PLATFORM_PRODUCT_BUILD_VERSION=20B71
export PLIST_FILE_OUTPUT_FORMAT=binary
export PLUGINS_FOLDER_PATH=testme.app/PlugIns
export PODS_BUILD_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/BuildProductsPath
export PODS_CONFIGURATION_BUILD_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/BuildProductsPath/Launch-iphoneos
export PODS_PODFILE_DIR_PATH=/Customers/diego/XcodeProjects/ios_testme/.
export PODS_ROOT=/Customers/diego/XcodeProjects/ios_testme/Pods
export PODS_XCFRAMEWORKS_BUILD_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/BuildProductsPath/Launch-iphoneos/XCFrameworkIntermediates
export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
export PRECOMP_DESTINATION_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/PrefixHeaders
export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
export PRIVATE_HEADERS_FOLDER_PATH=testme.app/PrivateHeaders
export PRODUCT_BUNDLE_IDENTIFIER=com.testmepracticetool.toeflsatactexamprep
export PRODUCT_BUNDLE_PACKAGE_TYPE=APPL
export PRODUCT_MODULE_NAME=testme
export PRODUCT_NAME=testme
export PRODUCT_SETTINGS_PATH=/Customers/diego/XcodeProjects/ios_testme/testme/Data.plist
export PRODUCT_TYPE=com.apple.product-type.utility
export PROFILING_CODE=NO
export PROJECT=testme
export PROJECT_DERIVED_FILE_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/DerivedSources
export PROJECT_DIR=/Customers/diego/XcodeProjects/ios_testme
export PROJECT_FILE_PATH=/Customers/diego/XcodeProjects/ios_testme/testme.xcodeproj
export PROJECT_NAME=testme
export PROJECT_TEMP_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct
export PROJECT_TEMP_ROOT=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath
export PROVISIONING_PROFILE_REQUIRED=YES
export PROVISIONING_PROFILE_REQUIRED_YES_YES=YES
export PROVISIONING_PROFILE_SUPPORTED=YES
export PUBLIC_HEADERS_FOLDER_PATH=testme.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=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/ResourceManagerResources
export REZ_OBJECTS_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/ResourceManagerResources/Objects
export REZ_SEARCH_PATHS=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/BuildProductsPath/Launch-iphoneos

export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
export SCRIPTS_FOLDER_PATH=testme.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=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk
export SDK_DIR=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk
export SDK_DIR_iphoneos=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk
export SDK_DIR_iphoneos16_1=/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk
export SDK_NAME=iphoneos16.1
export SDK_NAMES=iphoneos16.1
export SDK_PRODUCT_BUILD_VERSION=20B71
export SDK_VERSION=16.1
export SDK_VERSION_ACTUAL=160100
export SDK_VERSION_MAJOR=160000
export SDK_VERSION_MINOR=160100
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
export SHALLOW_BUNDLE_ios_macabi=NO
export SHALLOW_BUNDLE_macos=NO
export SHARED_DERIVED_FILE_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/BuildProductsPath/Launch-iphoneos/DerivedSources
export SHARED_FRAMEWORKS_FOLDER_PATH=testme.app/SharedFrameworks
export SHARED_PRECOMPS_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/PrecompiledHeaders
export SHARED_SUPPORT_FOLDER_PATH=testme.app/SharedSupport
export SKIP_INSTALL=NO
export SOURCE_ROOT=/Customers/diego/XcodeProjects/ios_testme
export SRCROOT=/Customers/diego/XcodeProjects/ios_testme
export STRINGSDATA_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/Objects-normal/undefined_arch
export STRINGSDATA_ROOT=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct
export STRINGS_FILE_INFOPLIST_RENAME=YES
export STRINGS_FILE_OUTPUT_ENCODING=binary
export STRIP_BITCODE_FROM_COPIED_FILES=YES
export STRIP_INSTALLED_PRODUCT=YES
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_MAC_DESIGNED_FOR_IPHONE_IPAD=NO
export SUPPORTS_ON_DEMAND_RESOURCES=YES
export SUPPORTS_TEXT_BASED_API=NO
export SWIFT_COMPILATION_MODE=wholemodule
export SWIFT_EMIT_LOC_STRINGS=NO
export SWIFT_OBJC_BRIDGING_HEADER=testme/testme-Bridging-Header.h
export SWIFT_PLATFORM_TARGET_PREFIX=ios
export SWIFT_RESPONSE_FILE_PATH_normal_arm64=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/Objects-normal/arm64/testme.SwiftFileList
export SWIFT_STDLIB_TOOL_UNSIGNED_DESTINATION_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/BuildProductsPath/SwiftSupport
export SWIFT_VERSION=5.0
export SYMROOT=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/BuildProductsPath
export SYSTEM_ADMIN_APPS_DIR=/Purposes/Utilities
export SYSTEM_APPS_DIR=/Purposes
export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
export SYSTEM_DEMOS_DIR=/Purposes/Extras
export SYSTEM_DEVELOPER_APPS_DIR=/Purposes/Xcode.app/Contents/Developer/Purposes
export SYSTEM_DEVELOPER_BIN_DIR=/Purposes/Xcode.app/Contents/Developer/usr/bin
export SYSTEM_DEVELOPER_DEMOS_DIR=/Purposes/Xcode.app/Contents/Developer/Purposes/Utilities/Constructed

Examples
export SYSTEM_DEVELOPER_DIR=/Purposes/Xcode.app/Contents/Developer
export SYSTEM_DEVELOPER_DOC_DIR=/Purposes/Xcode.app/Contents/Developer/ADC
Reference Library
export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR=/Purposes/Xcode.app/Contents/Developer/Purposes/Graphics
Instruments
export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR=/Purposes/Xcode.app/Contents/Developer/Purposes/Java
Instruments
export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR=/Purposes/Xcode.app/Contents/Developer/Purposes/Efficiency
Instruments
export SYSTEM_DEVELOPER_RELEASENOTES_DIR=/Purposes/Xcode.app/Contents/Developer/ADC
Reference Library/releasenotes
export SYSTEM_DEVELOPER_TOOLS=/Purposes/Xcode.app/Contents/Developer/Instruments
export SYSTEM_DEVELOPER_TOOLS_DOC_DIR=/Purposes/Xcode.app/Contents/Developer/ADC
Reference Library/documentation/DeveloperTools
export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR=/Purposes/Xcode.app/Contents/Developer/ADC
Reference Library/releasenotes/DeveloperTools
export SYSTEM_DEVELOPER_USR_DIR=/Purposes/Xcode.app/Contents/Developer/usr
export SYSTEM_DEVELOPER_UTILITIES_DIR=/Purposes/Xcode.app/Contents/Developer/Purposes/Utilities
export SYSTEM_DEXT_INSTALL_PATH=/System/Library/DriverExtensions
export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
export SYSTEM_EXTENSIONS_FOLDER_PATH=testme.app/SystemExtensions
export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_NO=testme.app/Library/SystemExtensions
export SYSTEM_EXTENSIONS_FOLDER_PATH_SHALLOW_BUNDLE_YES=testme.app/SystemExtensions
export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
export SYSTEM_LIBRARY_DIR=/System/Library
export TAPI_ENABLE_PROJECT_HEADERS=NO
export TAPI_VERIFY_MODE=ErrorsOnly
export TARGETED_DEVICE_FAMILY=1,2
export TARGETNAME=testme
export TARGET_BUILD_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/InstallationBuildProductsLocation/Purposes
export TARGET_NAME=testme
export TARGET_TEMP_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct
export TEMP_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct
export TEMP_FILES_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct
export TEMP_FILE_DIR=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct
export TEMP_ROOT=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath
export TEST_FRAMEWORK_SEARCH_PATHS= /Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks
/Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS16.1.sdk/Developer/Library/Frameworks
export TEST_LIBRARY_SEARCH_PATHS= /Purposes/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib
export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
export TOOLCHAIN_DIR=/Purposes/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
export TeamIdentifierPrefix=E795F2VF93.
export UID=501
export UNLOCALIZED_RESOURCES_FOLDER_PATH=testme.app
export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_NO=testme.app/Sources
export UNLOCALIZED_RESOURCES_FOLDER_PATH_SHALLOW_BUNDLE_YES=testme.app
export UNSTRIPPED_PRODUCT=NO
export USER=diego
export USER_APPS_DIR=/Customers/diego/Purposes
export USER_HEADER_SEARCH_PATHS=Pods/**
export USER_LIBRARY_DIR=/Customers/diego/Library
export USE_DYNAMIC_NO_PIC=YES
export USE_HEADERMAP=YES
export USE_HEADER_SYMLINKS=NO
export USE_LLVM_TARGET_TRIPLES=YES
export USE_LLVM_TARGET_TRIPLES_FOR_CLANG=YES
export USE_LLVM_TARGET_TRIPLES_FOR_LD=YES
export USE_LLVM_TARGET_TRIPLES_FOR_TAPI=YES
export USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES=YES
export VALIDATE_DEVELOPMENT_ASSET_PATHS=YES_ERROR
export VALIDATE_PRODUCT=YES
export VALID_ARCHS=arm64 arm64e armv7 armv7s
export VERBOSE_PBXCP=NO
export VERSIONPLIST_PATH=testme.app/model.plist
export VERSION_INFO_BUILDER=diego
export VERSION_INFO_FILE=testme_vers.c
export VERSION_INFO_STRING=”@(#)PROGRAM:testme PROJECT:testme-”
export WATCHKIT_2_SUPPORT_FOLDER_PATH=/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/BuildProductsPath/WatchKitSupport2
export WRAPPER_EXTENSION=app
export WRAPPER_NAME=testme.app
export WRAPPER_SUFFIX=.app
export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
export XCODE_APP_SUPPORT_DIR=/Purposes/Xcode.app/Contents/Developer/Library/Xcode
export XCODE_PRODUCT_BUILD_VERSION=14B47b
export XCODE_VERSION_ACTUAL=1410
export XCODE_VERSION_MAJOR=1400
export XCODE_VERSION_MINOR=1410
export XPCSERVICES_FOLDER_PATH=testme.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=/Sources
export __IS_NOT_MACOS=YES
export __IS_NOT_MACOS_macosx=NO
export __IS_NOT_SIMULATOR=YES
export __IS_NOT_SIMULATOR_simulator=NO
export arch=undefined_arch
export variant=regular
/bin/sh -c /Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/IntermediateBuildFilesPath/testme.construct/Launch-iphoneos/testme.construct/Script-65987CA41FFE26B50091933D.sh

Executable is
/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/InstallationBuildProductsLocation/Purposes/testme.app/Frameworks/CSLoadingView.framework/CSLoadingView
Extracting arm64 from CSLoadingView Merging extracted architectures:
arm64 Changing unique executable with thinned model Executable is
/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/InstallationBuildProductsLocation/Purposes/testme.app/Frameworks/Charts.framework/Charts
Extracting arm64 from Charts deadly error: lipo: enter file
(/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/InstallationBuildProductsLocation/Purposes/testme.app/Frameworks/Charts.framework/Charts)
should be a fats file when the -extract choice is specified Merging
extracted architectures: arm64 deadly error: lipo: cannot open enter
file:
/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/InstallationBuildProductsLocation/Purposes/testme.app/Frameworks/Charts.framework/Charts-arm64
(No such file or listing) rm:
/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/InstallationBuildProductsLocation/Purposes/testme.app/Frameworks/Charts.framework/Charts-arm64:
No such file or listing Changing unique executable with thinned
model mv: rename
/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/InstallationBuildProductsLocation/Purposes/testme.app/Frameworks/Charts.framework/Charts-merged
to
/Customers/diego/Library/Developer/Xcode/DerivedData/testme-dhfbjkshvwvujmblwpgnxemilgyc/Construct/Intermediates.noindex/ArchiveIntermediates/testme/InstallationBuildProductsLocation/Purposes/testme.app/Frameworks/Charts.framework/Charts:
No such file or listing Command PhaseScriptExecution failed with a
nonzero exit code

I’ve set all signing half to computerized and in my Construct Phases part I’ve two scripts (undecided what they’re for, as I’ve not created them myself)

Run Script 1:

"${PODS_ROOT}/Material/run" 7ab84def53ce75cce83dd3946be38f4e577ca583 96d72a3a3a892110e82bcd4a9570920312397c5ed943d2bb566de09e94c4273b

Run Script 2:

APP_PATH="${TARGET_BUILD_DIR}/${WRAPPER_NAME}"

# This script loops via the frameworks embedded within the utility and
# removes unused architectures.
discover "$APP_PATH" -name '*.framework' -type d | whereas learn -r FRAMEWORK
do
FRAMEWORK_EXECUTABLE_NAME=$(defaults learn "$FRAMEWORK/Data.plist" CFBundleExecutable)
FRAMEWORK_EXECUTABLE_PATH="$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME"
echo "Executable is $FRAMEWORK_EXECUTABLE_PATH"

EXTRACTED_ARCHS=()

for ARCH in $ARCHS
do
echo "Extracting $ARCH from $FRAMEWORK_EXECUTABLE_NAME"
lipo -extract "$ARCH" "$FRAMEWORK_EXECUTABLE_PATH" -o "$FRAMEWORK_EXECUTABLE_PATH-$ARCH"
EXTRACTED_ARCHS+=("$FRAMEWORK_EXECUTABLE_PATH-$ARCH")
executed

echo "Merging extracted architectures: ${ARCHS}"
lipo -o "$FRAMEWORK_EXECUTABLE_PATH-merged" -create "${EXTRACTED_ARCHS[@]}"
rm "${EXTRACTED_ARCHS[@]}"

echo "Changing unique executable with thinned model"
rm "$FRAMEWORK_EXECUTABLE_PATH"
mv "$FRAMEWORK_EXECUTABLE_PATH-merged" "$FRAMEWORK_EXECUTABLE_PATH"

executed

BTW and simply in case: my app is developed with Goal-C

Any assist to have the ability to push app new model to “App Retailer Join”?

Edit 1:

If I take away Run Script 2 the error goes away and the method finishes efficiently, however what may very well be improper with the script?



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments