Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

❌ IPA processing failed - v8.8.0(SPM - Bitcode) #384

Open
callo90 opened this issue Feb 13, 2022 · 9 comments
Open

❌ IPA processing failed - v8.8.0(SPM - Bitcode) #384

callo90 opened this issue Feb 13, 2022 · 9 comments
Labels
bug Something isn't working

Comments

@callo90
Copy link

callo90 commented Feb 13, 2022

Current Behavior

Archiving builds with bitcode enabled are failing on the latest release v8.8.0, after updating from the version 8.7.2 using SPM builds started failing, I noticed that this package analytics-connector-ios was installed on the latest version, I suspect that this package could be creating problems with bitcode.

Steps to Reproduce

  1. Archive and select Adhoc distribution
  2. Enable bitcode
  3. ❌ IPA processing failed

Environment

  • SDK Version: v8.8.0
@callo90 callo90 added the bug Something isn't working label Feb 13, 2022
@bgiori
Copy link
Collaborator

bgiori commented Feb 13, 2022

Hi @callo90. Thanks for submitting this issue. A few follow up questions:

  1. What version of XCode are you using?
  2. Are you building on an M1 Mac?

Thanks.

@callo90
Copy link
Author

callo90 commented Feb 14, 2022

Hey @bgiori thanks for responding, I tried with Xcode 13.2.1 and a M1 Mac and also tried with Bitrise with an Intel Mac and Xcode 13.0, and it was failing for both machines and Xcode versions.

@bgiori
Copy link
Collaborator

bgiori commented Feb 15, 2022

@callo90 Hey, so I updated to xcode 13.2.1 and tried distributing a test app with only Amplitude v8.8.0 installed via SPM dependency and got past the IPA validation phase when compiling bitcode.

Are there any other options that I can try to reproduce this issue? (thinning?)

Just to double check: locally building the app and loading onto a test device or simulator works ok?

What device are you building the app for? iOS/iPhone?

@callo90
Copy link
Author

callo90 commented Feb 22, 2022

Hey @bgiori,

Are there any other options that I can try to reproduce this issue? (thinning?) No thinning, just enable bitcode for adhoc distribution. Downgrading to v8.7.2 worked, seems that removing this dependency analytics-connector-ios did the magic

Just to double check: locally building the app and loading onto a test device or simulator works ok? yes it does, it's only failing archiving.

What device are you building the app for? iOS/iPhone? iOS only

@callo90
Copy link
Author

callo90 commented Feb 22, 2022

@bgiori I'm also using the experiment library, https://github.com/amplitude/experiment-ios-client, I had to keep it on version 1.5, after upgrading to 1.6 I realized that the same analytics-connector-ios is being installed, maybe there is some connection between those two libraries.

@bgiori
Copy link
Collaborator

bgiori commented Feb 23, 2022

@callo90 The analytics-connector-ios shared package is used to connect the two SDKs to provide seamless integration.

I was able to validate and ad hoc distribute a test app with both Amplitude-iOS v8.8.0 and experiment-ios-client v1.6.0 installed via SPM. My guess at this point is that there is some build setting that you have which I don't that is causing this discrepancy.

Screen Shot 2022-02-23 at 8 54 22 AM

For reference, this test project is the base iOS app that is created with XCode with the analytics and experiment SDKs initialized.

Here is the build settings output for the iOS scheme:

➜  SPMTest git:(main) ✗ xcodebuild -list
Command line invocation:
    /Applications/Xcode-13.2.1.app/Contents/Developer/usr/bin/xcodebuild -list

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Resolve Package Graph

Resolved source packages:
  Amplitude: https://github.com/amplitude/amplitude-ios @ 8.8.0
  analytics-connector-ios: https://github.com/amplitude/analytics-connector-ios.git @ 1.0.0
  experiment-ios-client: https://github.com/amplitude/experiment-ios-client @ 1.6.0

Information about project "SPMTest":
    Targets:
        SPMTest (iOS)
        SPMTest (macOS)

    Build Configurations:
        Debug
        Release

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

    Schemes:
        SPMTest (iOS)
        SPMTest (macOS)

➜  SPMTest git:(main) ✗ xcodebuild -scheme "SPMTest (iOS)" -showBuildSettings 
Command line invocation:
    /Applications/Xcode-13.2.1.app/Contents/Developer/usr/bin/xcodebuild -scheme "SPMTest (iOS)" -showBuildSettings

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Resolve Package Graph

Resolved source packages:
  analytics-connector-ios: https://github.com/amplitude/analytics-connector-ios.git @ 1.0.0
  experiment-ios-client: https://github.com/amplitude/experiment-ios-client @ 1.6.0
  Amplitude: https://github.com/amplitude/amplitude-ios @ 8.8.0

--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
{ platform:iOS Simulator, id:E3A67239-B047-456B-B39A-30639D17E864, OS:15.2, name:iPad (8th generation) }
{ platform:iOS Simulator, id:1529FC93-7D59-4F96-84CC-17F461E57DA5, OS:15.2, name:iPad (9th generation) }
{ platform:iOS Simulator, id:C774618C-8EEE-484F-84AE-C3E2E91A969C, OS:15.2, name:iPad Air (4th generation) }
{ platform:iOS Simulator, id:34138112-7D5F-4F87-A600-21DE716E93D5, OS:15.2, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:6F6FC5ED-46F7-44A2-B2EC-D04295669A27, OS:15.2, name:iPad Pro (11-inch) (2nd generation) }
{ platform:iOS Simulator, id:D953333F-F0D0-444B-871D-8060ED078517, OS:15.2, name:iPad Pro (11-inch) (3rd generation) }
{ platform:iOS Simulator, id:712C90A6-9FD2-4DF5-AF05-A113E4C82D73, OS:15.2, name:iPad Pro (12.9-inch) (4th generation) }
{ platform:iOS Simulator, id:8C6B9DCB-97FA-460B-A629-4AD80AC13D85, OS:15.2, name:iPad Pro (12.9-inch) (5th generation) }
{ platform:iOS Simulator, id:236BD3D8-E058-46F6-803D-78EDE06C0CF1, OS:15.2, name:iPad mini (6th generation) }
{ platform:iOS Simulator, id:74B3F974-E4C4-4F0D-89F2-3617F5F84AB5, OS:15.2, name:iPhone 8 }
{ platform:iOS Simulator, id:C79654A2-1200-464A-977B-DC8864682AC9, OS:15.2, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:222B9E6B-9972-4721-8555-1C26F3C6F1CC, OS:15.2, name:iPhone 11 }
{ platform:iOS Simulator, id:FCF7AC3B-D749-4017-8BF1-14A206E90B29, OS:15.2, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:47F7953B-B4F9-41E1-9B59-752D82DA63A8, OS:15.2, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:E8BC98E3-7470-4F29-9E9D-4CEE79D8A44C, OS:15.2, name:iPhone 12 }
{ platform:iOS Simulator, id:D5702902-D03A-4B55-9984-D32A4A114834, OS:15.2, name:iPhone 12 Pro }
{ platform:iOS Simulator, id:55406E7C-FF56-493F-BAC4-F55010337162, OS:15.2, name:iPhone 12 Pro Max }
{ platform:iOS Simulator, id:763C9C92-7637-41BF-8A0F-A27A3869B242, OS:15.2, name:iPhone 12 mini }
{ platform:iOS Simulator, id:9B91995C-8ECA-4D65-80F9-69E927E0B2F3, OS:15.2, name:iPhone 13 }
{ platform:iOS Simulator, id:14137070-1896-4467-BC19-99BF6A1CEC82, OS:15.2, name:iPhone 13 Pro }
{ platform:iOS Simulator, id:C2E5E67D-9758-4BED-88BB-B67A4A5C8295, OS:15.2, name:iPhone 13 Pro Max }
{ platform:iOS Simulator, id:9C41814A-4BE6-4220-AD9A-2C8D47F6C788, OS:15.2, name:iPhone 13 mini }
{ platform:iOS Simulator, id:703AD134-5E65-402B-BF48-5EE4BED824A0, OS:15.2, name:iPhone SE (2nd generation) }
{ platform:iOS Simulator, id:D573782A-09A2-42A5-8576-C905344742EB, OS:15.2, name:iPod touch (7th generation) }
Build settings for action build and target "SPMTest (iOS)":

    ACTION = build
    AD_HOC_CODE_SIGNING_ALLOWED = NO
    ALLOW_TARGET_PLATFORM_SPECIALIZATION = NO
    ALTERNATE_GROUP = staff
    ALTERNATE_MODE = u+w,go-w,a+rX
    ALTERNATE_OWNER = brian.giori
    ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
    ALWAYS_SEARCH_USER_PATHS = NO
    ALWAYS_USE_SEPARATE_HEADERMAPS = NO
    APPLE_INTERNAL_DEVELOPER_DIR = /AppleInternal/Developer
    APPLE_INTERNAL_DIR = /AppleInternal
    APPLE_INTERNAL_DOCUMENTATION_DIR = /AppleInternal/Documentation
    APPLE_INTERNAL_LIBRARY_DIR = /AppleInternal/Library
    APPLE_INTERNAL_TOOLS = /AppleInternal/Developer/Tools
    APPLICATION_EXTENSION_API_ONLY = NO
    APPLY_RULES_IN_COPY_FILES = NO
    APPLY_RULES_IN_COPY_HEADERS = NO
    ARCHS = arm64
    ARCHS_STANDARD = arm64
    ARCHS_STANDARD_32_64_BIT = armv7 arm64
    ARCHS_STANDARD_32_BIT = armv7
    ARCHS_STANDARD_64_BIT = arm64
    ARCHS_STANDARD_INCLUDING_64_BIT = arm64
    ARCHS_UNIVERSAL_IPHONE_OS = armv7 arm64
    ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
    ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor
    AVAILABLE_PLATFORMS = appletvos appletvsimulator driverkit iphoneos iphonesimulator macosx watchos watchsimulator
    BITCODE_GENERATION_MODE = marker
    BUILD_ACTIVE_RESOURCES_ONLY = NO
    BUILD_COMPONENTS = headers build
    BUILD_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products
    BUILD_LIBRARY_FOR_DISTRIBUTION = NO
    BUILD_ROOT = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products
    BUILD_STYLE = 
    BUILD_VARIANTS = normal
    BUILT_PRODUCTS_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products/Release-iphoneos
    BUNDLE_CONTENTS_FOLDER_PATH_deep = Contents/
    BUNDLE_EXECUTABLE_FOLDER_NAME_deep = MacOS
    BUNDLE_FORMAT = shallow
    BUNDLE_FRAMEWORKS_FOLDER_PATH = Frameworks
    BUNDLE_PLUGINS_FOLDER_PATH = PlugIns
    BUNDLE_PRIVATE_HEADERS_FOLDER_PATH = PrivateHeaders
    BUNDLE_PUBLIC_HEADERS_FOLDER_PATH = Headers
    CACHE_ROOT = /var/folders/ly/xdysbs6d3kq3frkrh8pt26sm0000gn/C/com.apple.DeveloperTools/13.2.1-13C100/Xcode
    CCHROOT = /var/folders/ly/xdysbs6d3kq3frkrh8pt26sm0000gn/C/com.apple.DeveloperTools/13.2.1-13C100/Xcode
    CHMOD = /bin/chmod
    CHOWN = /usr/sbin/chown
    CLANG_ANALYZER_NONNULL = YES
    CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE
    CLANG_CXX_LANGUAGE_STANDARD = gnu++14
    CLANG_CXX_LIBRARY = libc++
    CLANG_ENABLE_MODULES = YES
    CLANG_ENABLE_OBJC_ARC = YES
    CLANG_ENABLE_OBJC_WEAK = YES
    CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES
    CLANG_WARN_BOOL_CONVERSION = YES
    CLANG_WARN_COMMA = YES
    CLANG_WARN_CONSTANT_CONVERSION = YES
    CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
    CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR
    CLANG_WARN_DOCUMENTATION_COMMENTS = YES
    CLANG_WARN_EMPTY_BODY = YES
    CLANG_WARN_ENUM_CONVERSION = YES
    CLANG_WARN_INFINITE_RECURSION = YES
    CLANG_WARN_INT_CONVERSION = YES
    CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES
    CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
    CLANG_WARN_OBJC_LITERAL_CONVERSION = YES
    CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR
    CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES
    CLANG_WARN_RANGE_LOOP_ANALYSIS = YES
    CLANG_WARN_STRICT_PROTOTYPES = YES
    CLANG_WARN_SUSPICIOUS_MOVE = YES
    CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
    CLANG_WARN_UNREACHABLE_CODE = YES
    CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
    CLASS_FILE_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/JavaClasses
    CLEAN_PRECOMPS = YES
    CLONE_HEADERS = NO
    CODESIGNING_FOLDER_PATH = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products/Release-iphoneos/SPMTest.app
    CODE_SIGNING_ALLOWED = YES
    CODE_SIGNING_REQUIRED = YES
    CODE_SIGN_CONTEXT_CLASS = XCiPhoneOSCodeSignContext
    CODE_SIGN_IDENTITY = Apple Development
    CODE_SIGN_INJECT_BASE_ENTITLEMENTS = YES
    CODE_SIGN_STYLE = Automatic
    COLOR_DIAGNOSTICS = YES
    COMBINE_HIDPI_IMAGES = NO
    COMPILER_INDEX_STORE_ENABLE = Default
    COMPOSITE_SDK_DIRS = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/CompositeSDKs
    COMPRESS_PNG_FILES = YES
    CONFIGURATION = Release
    CONFIGURATION_BUILD_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products/Release-iphoneos
    CONFIGURATION_TEMP_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos
    CONTENTS_FOLDER_PATH = SPMTest.app
    COPYING_PRESERVES_HFS_DATA = NO
    COPY_HEADERS_RUN_UNIFDEF = NO
    COPY_PHASE_STRIP = NO
    COPY_RESOURCES_FROM_STATIC_FRAMEWORKS = YES
    CORRESPONDING_SIMULATOR_PLATFORM_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform
    CORRESPONDING_SIMULATOR_PLATFORM_NAME = iphonesimulator
    CORRESPONDING_SIMULATOR_SDK_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk
    CORRESPONDING_SIMULATOR_SDK_NAME = iphonesimulator15.2
    CP = /bin/cp
    CREATE_INFOPLIST_SECTION_IN_BINARY = NO
    CURRENT_ARCH = arm64
    CURRENT_VARIANT = normal
    DEAD_CODE_STRIPPING = YES
    DEBUGGING_SYMBOLS = YES
    DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
    DEFAULT_COMPILER = com.apple.compilers.llvm.clang.1_0
    DEFAULT_DEXT_INSTALL_PATH = /System/Library/DriverExtensions
    DEFAULT_KEXT_INSTALL_PATH = /System/Library/Extensions
    DEFINES_MODULE = NO
    DEPLOYMENT_LOCATION = NO
    DEPLOYMENT_POSTPROCESSING = NO
    DEPLOYMENT_TARGET_CLANG_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
    DEPLOYMENT_TARGET_CLANG_FLAG_NAME = miphoneos-version-min
    DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX = -miphoneos-version-min=
    DEPLOYMENT_TARGET_LD_ENV_NAME = IPHONEOS_DEPLOYMENT_TARGET
    DEPLOYMENT_TARGET_LD_FLAG_NAME = ios_version_min
    DEPLOYMENT_TARGET_SETTING_NAME = IPHONEOS_DEPLOYMENT_TARGET
    DEPLOYMENT_TARGET_SUGGESTED_VALUES = 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1 12.2 12.3 12.4 13.0 13.1 13.2 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
    DERIVED_FILES_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/DerivedSources
    DERIVED_FILE_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/DerivedSources
    DERIVED_SOURCES_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/DerivedSources
    DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Applications
    DEVELOPER_BIN_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/usr/bin
    DEVELOPER_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer
    DEVELOPER_FRAMEWORKS_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Library/Frameworks
    DEVELOPER_FRAMEWORKS_DIR_QUOTED = /Applications/Xcode-13.2.1.app/Contents/Developer/Library/Frameworks
    DEVELOPER_LIBRARY_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Library
    DEVELOPER_SDK_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    DEVELOPER_TOOLS_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Tools
    DEVELOPER_USR_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/usr
    DEVELOPMENT_LANGUAGE = en
    DEVELOPMENT_TEAM = L843ZL85KZ
    DOCUMENTATION_FOLDER_PATH = SPMTest.app/en.lproj/Documentation
    DONT_GENERATE_INFOPLIST_FILE = NO
    DO_HEADER_SCANNING_IN_JAM = NO
    DSTROOT = /tmp/SPMTest.dst
    DT_TOOLCHAIN_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    DWARF_DSYM_FILE_NAME = SPMTest.app.dSYM
    DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT = NO
    DWARF_DSYM_FOLDER_PATH = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products/Release-iphoneos
    EFFECTIVE_PLATFORM_NAME = -iphoneos
    EMBEDDED_CONTENT_CONTAINS_SWIFT = NO
    EMBEDDED_PROFILE_NAME = embedded.mobileprovision
    EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE = NO
    ENABLE_APP_SANDBOX = NO
    ENABLE_BITCODE = YES
    ENABLE_DEFAULT_HEADER_SEARCH_PATHS = YES
    ENABLE_HARDENED_RUNTIME = NO
    ENABLE_HEADER_DEPENDENCIES = YES
    ENABLE_NS_ASSERTIONS = NO
    ENABLE_ON_DEMAND_RESOURCES = YES
    ENABLE_PREVIEWS = YES
    ENABLE_STRICT_OBJC_MSGSEND = YES
    ENABLE_TESTABILITY = NO
    ENABLE_TESTING_SEARCH_PATHS = NO
    ENTITLEMENTS_ALLOWED = YES
    ENTITLEMENTS_DESTINATION = Signature
    ENTITLEMENTS_REQUIRED = YES
    EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS = .DS_Store .svn .git .hg CVS
    EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = *.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj
    EXECUTABLES_FOLDER_PATH = SPMTest.app/Executables
    EXECUTABLE_FOLDER_PATH = SPMTest.app
    EXECUTABLE_NAME = SPMTest
    EXECUTABLE_PATH = SPMTest.app/SPMTest
    EXPANDED_CODE_SIGN_IDENTITY = 
    EXPANDED_CODE_SIGN_IDENTITY_NAME = 
    EXPANDED_PROVISIONING_PROFILE = 
    FILE_LIST = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/Objects/LinkFileList
    FIXED_FILES_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/FixedFiles
    FRAMEWORKS_FOLDER_PATH = SPMTest.app/Frameworks
    FRAMEWORK_FLAG_PREFIX = -framework
    FRAMEWORK_VERSION = A
    FULL_PRODUCT_NAME = SPMTest.app
    GCC3_VERSION = 3.3
    GCC_C_LANGUAGE_STANDARD = gnu11
    GCC_INLINES_ARE_PRIVATE_EXTERN = YES
    GCC_NO_COMMON_BLOCKS = YES
    GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
    GCC_SYMBOLS_PRIVATE_EXTERN = YES
    GCC_THUMB_SUPPORT = YES
    GCC_TREAT_WARNINGS_AS_ERRORS = NO
    GCC_VERSION = com.apple.compilers.llvm.clang.1_0
    GCC_VERSION_IDENTIFIER = com_apple_compilers_llvm_clang_1_0
    GCC_WARN_64_TO_32_BIT_CONVERSION = YES
    GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR
    GCC_WARN_UNDECLARED_SELECTOR = YES
    GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE
    GCC_WARN_UNUSED_FUNCTION = YES
    GCC_WARN_UNUSED_VARIABLE = YES
    GENERATED_MODULEMAP_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/GeneratedModuleMaps-iphoneos
    GENERATE_INFOPLIST_FILE = NO
    GENERATE_MASTER_OBJECT_FILE = NO
    GENERATE_PKGINFO_FILE = YES
    GENERATE_PROFILING_CODE = NO
    GENERATE_TEXT_BASED_STUBS = NO
    GID = 20
    GROUP = staff
    HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT = YES
    HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES = YES
    HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS = YES
    HEADERMAP_INCLUDES_PROJECT_HEADERS = YES
    HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES = YES
    HEADERMAP_USES_VFS = NO
    HIDE_BITCODE_SYMBOLS = YES
    HOME = /Users/brian.giori
    ICONV = /usr/bin/iconv
    INFOPLIST_EXPAND_BUILD_SETTINGS = YES
    INFOPLIST_FILE = iOS/Info.plist
    INFOPLIST_OUTPUT_FORMAT = binary
    INFOPLIST_PATH = SPMTest.app/Info.plist
    INFOPLIST_PREPROCESS = NO
    INFOSTRINGS_PATH = SPMTest.app/en.lproj/InfoPlist.strings
    INLINE_PRIVATE_FRAMEWORKS = NO
    INSTALLHDRS_COPY_PHASE = NO
    INSTALLHDRS_SCRIPT_PHASE = NO
    INSTALL_DIR = /tmp/SPMTest.dst/Applications
    INSTALL_GROUP = staff
    INSTALL_MODE_FLAG = u+w,go-w,a+rX
    INSTALL_OWNER = brian.giori
    INSTALL_PATH = /Applications
    INSTALL_ROOT = /tmp/SPMTest.dst
    IPHONEOS_DEPLOYMENT_TARGET = 14.0
    JAVAC_DEFAULT_FLAGS = -J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8
    JAVA_APP_STUB = /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    JAVA_ARCHIVE_CLASSES = YES
    JAVA_ARCHIVE_TYPE = JAR
    JAVA_COMPILER = /usr/bin/javac
    JAVA_FOLDER_PATH = SPMTest.app/Java
    JAVA_FRAMEWORK_RESOURCES_DIRS = Resources
    JAVA_JAR_FLAGS = cv
    JAVA_SOURCE_SUBDIR = .
    JAVA_USE_DEPENDENCIES = YES
    JAVA_ZIP_FLAGS = -urg
    JIKES_DEFAULT_FLAGS = +E +OLDCSO
    KASAN_DEFAULT_CFLAGS = -DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow
    KEEP_PRIVATE_EXTERNS = NO
    LD_DEPENDENCY_INFO_FILE = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/Objects-normal/arm64/SPMTest_dependency_info.dat
    LD_GENERATE_MAP_FILE = NO
    LD_MAP_FILE_PATH = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/SPMTest-LinkMap-normal-arm64.txt
    LD_NO_PIE = NO
    LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER = YES
    LD_RUNPATH_SEARCH_PATHS =  @executable_path/Frameworks
    LEGACY_DEVELOPER_DIR = /Applications/Xcode-13.2.1.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    LEX = lex
    LIBRARY_DEXT_INSTALL_PATH = /Library/DriverExtensions
    LIBRARY_FLAG_NOSPACE = YES
    LIBRARY_FLAG_PREFIX = -l
    LIBRARY_KEXT_INSTALL_PATH = /Library/Extensions
    LINKER_DISPLAYS_MANGLED_NAMES = NO
    LINK_FILE_LIST_normal_arm64 = 
    LINK_WITH_STANDARD_LIBRARIES = YES
    LLVM_TARGET_TRIPLE_OS_VERSION = ios14.0
    LLVM_TARGET_TRIPLE_VENDOR = apple
    LOCALIZABLE_CONTENT_DIR = 
    LOCALIZATION_EXPORT_SUPPORTED = YES
    LOCALIZED_RESOURCES_FOLDER_PATH = SPMTest.app/en.lproj
    LOCALIZED_STRING_MACRO_NAMES = NSLocalizedString CFCopyLocalizedString
    LOCALIZED_STRING_SWIFTUI_SUPPORT = YES
    LOCAL_ADMIN_APPS_DIR = /Applications/Utilities
    LOCAL_APPS_DIR = /Applications
    LOCAL_DEVELOPER_DIR = /Library/Developer
    LOCAL_LIBRARY_DIR = /Library
    LOCROOT = 
    LOCSYMROOT = 
    MACH_O_TYPE = mh_execute
    MAC_OS_X_PRODUCT_BUILD_VERSION = 21D62
    MAC_OS_X_VERSION_ACTUAL = 120201
    MAC_OS_X_VERSION_MAJOR = 120000
    MAC_OS_X_VERSION_MINOR = 120200
    METAL_LIBRARY_FILE_BASE = default
    METAL_LIBRARY_OUTPUT_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products/Release-iphoneos/SPMTest.app
    MODULES_FOLDER_PATH = SPMTest.app/Modules
    MODULE_CACHE_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
    MTL_ENABLE_DEBUG_INFO = NO
    MTL_FAST_MATH = YES
    NATIVE_ARCH = x86_64
    NATIVE_ARCH_32_BIT = i386
    NATIVE_ARCH_64_BIT = x86_64
    NATIVE_ARCH_ACTUAL = x86_64
    NO_COMMON = YES
    OBJECT_FILE_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/Objects
    OBJECT_FILE_DIR_normal = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/Objects-normal
    OBJROOT = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex
    ONLY_ACTIVE_ARCH = NO
    OS = MACOS
    OSAC = /usr/bin/osacompile
    PACKAGE_TYPE = com.apple.package-type.wrapper.application
    PASCAL_STRINGS = YES
    PATH = /Applications/Xcode-13.2.1.app/Contents/Developer/usr/bin:/Users/brian.giori/.pyenv/shims:/Users/brian.giori/.pyenv/bin:/Users/brian.giori/.sdkman/candidates/gradle/current/bin:/Users/brian.giori/Library/Android/sdk/platform-tools:/Users/brian.giori/Library/Android/sdk/tools:/Users/brian.giori/dev/flutter/bin:/Users/brian.giori/bin:/usr/local/bin:/usr/local/opt/mysql@5.7/bin:/usr/local/opt/postgresql@9.6/bin:/usr/local/opt/node@14/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
    PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES = /usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode-13.2.1.app/Contents/Developer/Headers /Applications/Xcode-13.2.1.app/Contents/Developer/SDKs /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms
    PBDEVELOPMENTPLIST_PATH = SPMTest.app/pbdevelopment.plist
    PKGINFO_FILE_PATH = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/PkgInfo
    PKGINFO_PATH = SPMTest.app/PkgInfo
    PLATFORM_DEVELOPER_APPLICATIONS_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
    PLATFORM_DEVELOPER_BIN_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
    PLATFORM_DEVELOPER_LIBRARY_DIR = /Applications/Xcode-13.2.1.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
    PLATFORM_DEVELOPER_SDK_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
    PLATFORM_DEVELOPER_TOOLS_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
    PLATFORM_DEVELOPER_USR_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
    PLATFORM_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform
    PLATFORM_DISPLAY_NAME = iOS
    PLATFORM_NAME = iphoneos
    PLATFORM_PREFERRED_ARCH = arm64
    PLATFORM_PRODUCT_BUILD_VERSION = 19C51
    PLIST_FILE_OUTPUT_FORMAT = binary
    PLUGINS_FOLDER_PATH = SPMTest.app/PlugIns
    PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
    PRECOMP_DESTINATION_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/PrefixHeaders
    PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
    PRIVATE_HEADERS_FOLDER_PATH = SPMTest.app/PrivateHeaders
    PRODUCT_BUNDLE_IDENTIFIER = com.amplitude.SPMTest
    PRODUCT_BUNDLE_PACKAGE_TYPE = APPL
    PRODUCT_MODULE_NAME = SPMTest
    PRODUCT_NAME = SPMTest
    PRODUCT_SETTINGS_PATH = /Users/brian.giori/dev/test/SPMTest/iOS/Info.plist
    PRODUCT_TYPE = com.apple.product-type.application
    PROFILING_CODE = NO
    PROJECT = SPMTest
    PROJECT_DERIVED_FILE_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/DerivedSources
    PROJECT_DIR = /Users/brian.giori/dev/test/SPMTest
    PROJECT_FILE_PATH = /Users/brian.giori/dev/test/SPMTest/SPMTest.xcodeproj
    PROJECT_NAME = SPMTest
    PROJECT_TEMP_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build
    PROJECT_TEMP_ROOT = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex
    PROVISIONING_PROFILE_REQUIRED = YES
    PUBLIC_HEADERS_FOLDER_PATH = SPMTest.app/Headers
    RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS = YES
    REMOVE_CVS_FROM_RESOURCES = YES
    REMOVE_GIT_FROM_RESOURCES = YES
    REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES = YES
    REMOVE_HG_FROM_RESOURCES = YES
    REMOVE_SVN_FROM_RESOURCES = YES
    RESOURCE_RULES_REQUIRED = YES
    REZ_COLLECTOR_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/ResourceManagerResources
    REZ_OBJECTS_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/ResourceManagerResources/Objects
    SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
    SCRIPTS_FOLDER_PATH = SPMTest.app/Scripts
    SDKROOT = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk
    SDK_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk
    SDK_DIR_iphoneos15_2 = /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk
    SDK_NAME = iphoneos15.2
    SDK_NAMES = iphoneos15.2
    SDK_PRODUCT_BUILD_VERSION = 19C51
    SDK_VERSION = 15.2
    SDK_VERSION_ACTUAL = 150200
    SDK_VERSION_MAJOR = 150000
    SDK_VERSION_MINOR = 150200
    SED = /usr/bin/sed
    SEPARATE_STRIP = NO
    SEPARATE_SYMBOL_EDIT = NO
    SET_DIR_MODE_OWNER_GROUP = YES
    SET_FILE_MODE_OWNER_GROUP = NO
    SHALLOW_BUNDLE = YES
    SHARED_DERIVED_FILE_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products/Release-iphoneos/DerivedSources
    SHARED_FRAMEWORKS_FOLDER_PATH = SPMTest.app/SharedFrameworks
    SHARED_PRECOMPS_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/PrecompiledHeaders
    SHARED_SUPPORT_FOLDER_PATH = SPMTest.app/SharedSupport
    SKIP_INSTALL = NO
    SOURCE_ROOT = /Users/brian.giori/dev/test/SPMTest
    SRCROOT = /Users/brian.giori/dev/test/SPMTest
    STRINGSDATA_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build/Objects-normal/arm64
    STRINGSDATA_ROOT = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build
    STRINGS_FILE_INFOPLIST_RENAME = YES
    STRINGS_FILE_OUTPUT_ENCODING = binary
    STRIP_BITCODE_FROM_COPIED_FILES = YES
    STRIP_INSTALLED_PRODUCT = YES
    STRIP_STYLE = all
    STRIP_SWIFT_SYMBOLS = YES
    SUPPORTED_DEVICE_FAMILIES = 1,2
    SUPPORTED_PLATFORMS = iphonesimulator iphoneos
    SUPPORTS_MACCATALYST = NO
    SUPPORTS_TEXT_BASED_API = NO
    SWIFT_COMPILATION_MODE = wholemodule
    SWIFT_EMIT_LOC_STRINGS = NO
    SWIFT_OPTIMIZATION_LEVEL = -O
    SWIFT_PLATFORM_TARGET_PREFIX = ios
    SWIFT_VERSION = 5.0
    SYMROOT = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products
    SYSTEM_ADMIN_APPS_DIR = /Applications/Utilities
    SYSTEM_APPS_DIR = /Applications
    SYSTEM_CORE_SERVICES_DIR = /System/Library/CoreServices
    SYSTEM_DEMOS_DIR = /Applications/Extras
    SYSTEM_DEVELOPER_APPS_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Applications
    SYSTEM_DEVELOPER_BIN_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/usr/bin
    SYSTEM_DEVELOPER_DEMOS_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Applications/Utilities/Built Examples
    SYSTEM_DEVELOPER_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer
    SYSTEM_DEVELOPER_DOC_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/ADC Reference Library
    SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Applications/Graphics Tools
    SYSTEM_DEVELOPER_JAVA_TOOLS_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Applications/Java Tools
    SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Applications/Performance Tools
    SYSTEM_DEVELOPER_RELEASENOTES_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/ADC Reference Library/releasenotes
    SYSTEM_DEVELOPER_TOOLS = /Applications/Xcode-13.2.1.app/Contents/Developer/Tools
    SYSTEM_DEVELOPER_TOOLS_DOC_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools
    SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools
    SYSTEM_DEVELOPER_USR_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/usr
    SYSTEM_DEVELOPER_UTILITIES_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Applications/Utilities
    SYSTEM_DEXT_INSTALL_PATH = /System/Library/DriverExtensions
    SYSTEM_DOCUMENTATION_DIR = /Library/Documentation
    SYSTEM_KEXT_INSTALL_PATH = /System/Library/Extensions
    SYSTEM_LIBRARY_DIR = /System/Library
    TAPI_VERIFY_MODE = ErrorsOnly
    TARGETED_DEVICE_FAMILY = 1,2
    TARGETNAME = SPMTest (iOS)
    TARGET_BUILD_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products/Release-iphoneos
    TARGET_NAME = SPMTest (iOS)
    TARGET_TEMP_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build
    TEMP_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build
    TEMP_FILES_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build
    TEMP_FILE_DIR = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex/SPMTest.build/Release-iphoneos/SPMTest (iOS).build
    TEMP_ROOT = /Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Intermediates.noindex
    TEST_FRAMEWORK_SEARCH_PATHS =  /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.2.sdk/Developer/Library/Frameworks
    TEST_LIBRARY_SEARCH_PATHS =  /Applications/Xcode-13.2.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib
    TOOLCHAIN_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    TREAT_MISSING_BASELINES_AS_TEST_FAILURES = NO
    UID = 501
    UNLOCALIZED_RESOURCES_FOLDER_PATH = SPMTest.app
    UNSTRIPPED_PRODUCT = NO
    USER = brian.giori
    USER_APPS_DIR = /Users/brian.giori/Applications
    USER_LIBRARY_DIR = /Users/brian.giori/Library
    USE_DYNAMIC_NO_PIC = YES
    USE_HEADERMAP = YES
    USE_HEADER_SYMLINKS = NO
    USE_LLVM_TARGET_TRIPLES = YES
    USE_LLVM_TARGET_TRIPLES_FOR_CLANG = YES
    USE_LLVM_TARGET_TRIPLES_FOR_LD = YES
    USE_LLVM_TARGET_TRIPLES_FOR_TAPI = YES
    VALIDATE_PRODUCT = YES
    VALIDATE_WORKSPACE = NO
    VALID_ARCHS = arm64 arm64e armv7 armv7s
    VERBOSE_PBXCP = NO
    VERSIONPLIST_PATH = SPMTest.app/version.plist
    VERSION_INFO_BUILDER = brian.giori
    VERSION_INFO_FILE = SPMTest_vers.c
    VERSION_INFO_STRING = "@(#)PROGRAM:SPMTest  PROJECT:SPMTest-"
    WRAPPER_EXTENSION = app
    WRAPPER_NAME = SPMTest.app
    WRAPPER_SUFFIX = .app
    WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES = NO
    XCODE_APP_SUPPORT_DIR = /Applications/Xcode-13.2.1.app/Contents/Developer/Library/Xcode
    XCODE_PRODUCT_BUILD_VERSION = 13C100
    XCODE_VERSION_ACTUAL = 1321
    XCODE_VERSION_MAJOR = 1300
    XCODE_VERSION_MINOR = 1320
    XPCSERVICES_FOLDER_PATH = SPMTest.app/XPCServices
    YACC = yacc
    arch = arm64
    diagnostic_message_length = 169
    variant = normal

@bgiori
Copy link
Collaborator

bgiori commented Feb 23, 2022

I'd be interested in the setting you have for BITCODE_GENERATION_MODE. Mine is set to marker

@callo90
Copy link
Author

callo90 commented Feb 24, 2022

It's compiling with this flag -fembed-bitcode I don't have a user-defined to set BITCODE_GENERATION_MODE marker, are you defining this flag manually?

@bgiori
Copy link
Collaborator

bgiori commented Feb 25, 2022

Tried using -fembed-bitcode as a custom C compiler flag but the distribution still works. BITCODE_GENERATION_MODE is a hidden build option that you can set as a user-defined build setting.

When I manually set BITCODE_GENERATION_MODE to bitcode instead of marker, my local build fails with this error:

Screen Shot 2022-02-25 at 10 17 48 AM

ld: bitcode bundle could not be generated because '/Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products/Debug-iphoneos/Amplitude.o' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build file '/Users/brian.giori/Library/Developer/Xcode/DerivedData/SPMTest-aucmpyllymsadxaddrebodkqmvno/Build/Products/Debug-iphoneos/Amplitude.o' for architecture arm64

Can you try setting this setting and building locally to see if you get the same problem?

Oddly enough I can actually archive and export and ad-hoc build even though the local build fails.......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants