Skip to content

Xcode 26 swift compiler crash with ApptentiveKit 6.9.1 #75

@doc-rj-ebay

Description

@doc-rj-ebay

Please pick up ApptentiveKit 6.9.2 which has a fix for the Xcode 26 crash:
https://github.com/apptentive/apptentive-kit-ios/releases/tag/v6.9.2

This crash is occurring with the latest Xcode 26 in production, not only in the beta release. The crash happens during the "Archive" step for a production release, when trying to optimize the build.

Stack dump:
0.	Program arguments: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -filelist /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/Objects-normal/arm64/sources-6 -supplementary-output-file-map /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/Objects-normal/arm64/supplementaryOutputs-111 -target arm64-apple-ios16.4 -module-can-import-version CoreTelephony 13091.1.14 0.0.0 -module-can-import-version StoreKit 815.0.48 1.0.0 -module-can-import-version UIKit 9088.1.113 9088.1.113 -load-resolved-plugin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server#FoundationMacros -load-resolved-plugin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server#ObservationMacros -load-resolved-plugin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server#PreviewsMacros -load-resolved-plugin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server#SwiftMacros -load-resolved-plugin /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/Objects-normal/arm64/ApptentiveKit-dependencies-4.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS26.0.sdk -I /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/ApptentiveKit -F /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/ApptentiveKit -no-color-diagnostics -Xcc -fno-color-diagnostics -g -debug-info-format=dwarf -dwarf-version=4 -import-underlying-module -module-cache-path /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/SwiftExplicitPrecompiledModules -swift-version 5 -enforce-exclusivity=checked -O -D COCOAPODS -serialize-debugging-options -const-gather-protocols-file /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/Objects-normal/arm64/ApptentiveKit_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/motors/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /opt/devops/workspace/JenkinsFile_Deploy_iOS/app/ios/Pods -file-compilation-dir /opt/devops/workspace/JenkinsFile_Deploy_iOS/app/ios/Pods -Xcc -ivfsstatcache -Xcc /Users/motors/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphoneos26.0-23A339-81ce72e5b06c9602b9d30b56f2eed08a.sdkstatcache -Xcc -I/Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/ApptentiveKit-generated-files.hmap -Xcc -I/Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/ApptentiveKit-own-target-headers.hmap -Xcc -I/Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/ApptentiveKit-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/Pods-8699adb1dd336b26511df848a716bd42-VFS-iphoneos/all-product-headers.yaml -Xcc -iquote -Xcc /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/ApptentiveKit-project-headers.hmap -Xcc -I/Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/ApptentiveKit/include -Xcc -I/Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/DerivedSources-normal/arm64 -Xcc -I/Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/DerivedSources/arm64 -Xcc -I/Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/DerivedSources -Xcc -DPOD_CONFIGURATION_RELEASE=1 -Xcc -DCOCOAPODS=1 -Xcc -ivfsoverlay -Xcc /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/unextended-module-overlay.yaml -no-auto-bridging-header-chaining -module-name ApptentiveKit -frontend-parseable-output -disable-clang-spi -target-sdk-version 26.0 -target-sdk-name iphoneos26.0 -clang-target arm64-apple-ios26.0 -in-process-plugin-server-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -enable-default-cmo -num-threads 12 -output-filelist /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/Objects-normal/arm64/outputs-2 -index-unit-output-path-filelist /Users/motors/Library/Developer/Xcode/DerivedData/Runner-haqrkfabxcrflofqiaoqvnyeivil/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/ApptentiveKit.build/Objects-normal/arm64/index-unit-outputs-2
1.	Apple Swift version 6.2 (swiftlang-6.2.0.19.9 clang-1700.3.19.1)
2.	Compiling with effective version 5.10
3.	While evaluating request ExecuteSILPipelineRequest(Run pipelines { PrepareOptimizationPasses, EarlyModulePasses, HighLevel,Function+EarlyLoopOpt, HighLevel,Module+StackPromote, MidLevel,Function, ClosureSpecialize, LowLevel,Function, LateLoopOpt, SIL Debug Info Generator } on SIL for ApptentiveKit)
4.	While running pass #423335 SILFunctionTransform "CopyPropagation" on SILFunction "@$s13ApptentiveKit18HTTPRequestRetrierC13processResult33_FDB8219618C527F98C0D3D4DC0395B0BLL_10identifier10completionys0F0Oyxs5Error_pG_SSyAKctSeRzlFAA15PayloadResponseV_Tg5".
 for 'processResult(_:identifier:completion:)' (at /opt/devops/workspace/JenkinsFile_Deploy_iOS/app/ios/Pods/ApptentiveKit/Sources/ApptentiveKit/Networking/HTTPRequestRetrier.swift:94:13)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x0000000106fa1bcc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x0000000106f9f55c llvm::sys::RunSignalHandlers() + 112
2  swift-frontend           0x0000000106fa21f8 SignalHandler(int, __siginfo*, void*) + 344
3  libsystem_platform.dylib 0x00000001908316a4 _sigtramp + 56
4  libsystem_pthread.dylib  0x00000001907f788c pthread_kill + 296
5  libsystem_c.dylib        0x0000000190700a3c abort + 124

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions