siteline / swiftui-introspect

Introspect underlying UIKit/AppKit components from SwiftUI
MIT License
5.51k stars 341 forks source link

Swift 5.2 compiler barfs on use of .introspectTextField #16

Closed samdeane closed 3 years ago

samdeane commented 4 years ago

This is really just FYI, since it's likely to be a compiler bug.

When I use Introspect in one of my views, I'm getting a segmentation fault when I build in release, using Xcode 11.4b2.

Removing the use of .introspectTextField is enough to fix it.

Stack trace included below. Note that the output is a little confusing, and at first glance looks like it's related to the warning near the top. I don't think that's the case.

Showing All Messages
CompileSwift normal x86_64 (in target 'ActionStatusMobile' from project 'ActionStatus')
    cd /Users/developer/Projects/ActionStatus
    /Applications/Xcode11.4b2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Model/Model.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusMobile/MobileApplication.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/SceneDelegate.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Application.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/EditView.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusMobile/DocumentPickerViewController.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/WorkflowGenerator.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/SparkleUpdater.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Model/Option.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/ComposeView.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/SparkleView.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Model/Repo.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Model/Job.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/ContentView.swift -supplementary-output-file-map /var/folders/zp/khj_8k6909d9m4y7wjljl41h0000gp/T/supplementaryOutputs-269f9d -target x86_64-apple-ios13.2-macabi -enable-objc-interop -stack-check -sdk /Applications/Xcode11.4b2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -I /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/BuildProductsPath/Release-maccatalyst -F /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/BuildProductsPath/Release-maccatalyst -Fsystem /Applications/Xcode11.4b2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/iOSSupport/System/Library/Frameworks -g -module-cache-path /Users/developer/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity=checked -O -serialize-debugging-options -Xcc -working-directory -Xcc /Users/developer/Projects/ActionStatus -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Action\ Status-generated-files.hmap -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Action\ Status-own-target-headers.hmap -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Action\ Status-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Action\ Status-project-headers.hmap -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/BuildProductsPath/Release-maccatalyst/include -Xcc -isystem -Xcc /Applications/Xcode11.4b2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/iOSSupport/usr/include -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/DerivedSources-normal/x86_64 -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/DerivedSources/x86_64 -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/DerivedSources -import-objc-header /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Resources/BridgingHeader.h -pch-output-dir /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/PrecompiledHeaders -module-name ActionStatus -num-threads 12 -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/Model.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/MobileApplication.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/SceneDelegate.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/Application.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/EditView.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/DocumentPickerViewController.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/WorkflowGenerator.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/SparkleUpdater.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/Option.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/ComposeView.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/SparkleView.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/Repo.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/Job.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/ContentView.o

/Users/developer/Projects/ActionStatus/Sources/ActionStatusMobile/MobileApplication.swift:12:8: warning: implicit import of bridging header 'BridgingHeader.h' via module 'SparkleBridgeClient' is deprecated and will be removed in a later version of Swift
import SparkleBridgeClient
       ^
Stack dump:
0.  Program arguments: /Applications/Xcode11.4b2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Model/Model.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusMobile/MobileApplication.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/SceneDelegate.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Application.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/EditView.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusMobile/DocumentPickerViewController.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/WorkflowGenerator.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/SparkleUpdater.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Model/Option.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/ComposeView.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/SparkleView.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Model/Repo.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Model/Job.swift /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/ContentView.swift -supplementary-output-file-map /var/folders/zp/khj_8k6909d9m4y7wjljl41h0000gp/T/supplementaryOutputs-269f9d -target x86_64-apple-ios13.2-macabi -enable-objc-interop -stack-check -sdk /Applications/Xcode11.4b2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -I /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/BuildProductsPath/Release-maccatalyst -F /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/BuildProductsPath/Release-maccatalyst -Fsystem /Applications/Xcode11.4b2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/iOSSupport/System/Library/Frameworks -g -module-cache-path /Users/developer/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity=checked -O -serialize-debugging-options -Xcc -working-directory -Xcc /Users/developer/Projects/ActionStatus -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Action Status-generated-files.hmap -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Action Status-own-target-headers.hmap -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Action Status-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Action Status-project-headers.hmap -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/BuildProductsPath/Release-maccatalyst/include -Xcc -isystem -Xcc /Applications/Xcode11.4b2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/iOSSupport/usr/include -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/DerivedSources-normal/x86_64 -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/DerivedSources/x86_64 -Xcc -I/Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/DerivedSources -import-objc-header /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Resources/BridgingHeader.h -pch-output-dir /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/PrecompiledHeaders -module-name ActionStatus -num-threads 12 -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/Model.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/MobileApplication.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/SceneDelegate.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/Application.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/EditView.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/DocumentPickerViewController.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/WorkflowGenerator.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/SparkleUpdater.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/Option.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/ComposeView.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/SparkleView.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/Repo.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/Job.o -o /Users/developer/Library/Developer/Xcode/DerivedData/ActionStatus-eyxiiohnmopaeecoqfsepoodpvxl/Build/Intermediates.noindex/ArchiveIntermediates/ActionStatusMac/IntermediateBuildFilesPath/ActionStatus.build/Release-maccatalyst/ActionStatusMobile.build/Objects-normal/x86_64/ContentView.o 
1.  Apple Swift version 5.2 (swiftlang-1103.0.25.1 clang-1103.2.32.5)
2.  While emitting SIL for getter for body (at /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/EditView.swift:68:9)
3.  While silgen emitFunction SIL function "@$s12ActionStatus8EditViewV4bodyQrvg".
 for getter for body (at /Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/EditView.swift:68:9)
4.  While silgen closureexpr SIL function "@$s12ActionStatus8EditViewV4bodyQrvg7SwiftUI05TupleD0VyAE7SectionVyAE05EmptyD0VAGyAE6HStackVyAGyAE4TextV_AE0D0P10IntrospectE010introspectL5Field9customizeQrySo06UITextO0Cc_tFQOyAE15ModifiedContentVyAqAE12nameOrgStyleQryFQOyAE0lO0VyAOG_Qo_AA11ClearButtonVG_Qo_tGG_AMyAGyAO_A4_tGGA9_AMyAGyAO_AXyAqAE010branchListV0QryFQOyA0__Qo_A3_GtGGtGAKG_AIyAkGyAMyAGyAO_AOtGG_AMyAGyAO_AoE6SpacerVAE0X0Vy0F12UIExtensions11SystemImageVGtGGA28_tGAKGtGyXEfU_".
 for expression at [/Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/EditView.swift:69:14 - line:151:13] RangeText="{
            Section {
                HStack {
                    Text("Name")
                        .font(.callout)
                        .bold()
                    TextField("github repo name", text: $name)
                        .nameOrgStyle()
                        .modifier(ClearButton(text: $name))
                        .introspectTextField { textField in
                            textField.becomeFirstResponder()
                        }
                }

                HStack {
                    Text("Owner")
                        .font(.callout)
                        .bold()

                    TextField("github user or organisation", text: $owner)
                        .nameOrgStyle()
                        .modifier(ClearButton(text: $owner))
                }

                HStack {
                    Text("Workflow")
                        .font(.callout)
                        .bold()

                    TextField("Tests.yml", text: $workflow)
                        .nameOrgStyle()
                        .modifier(ClearButton(text: $workflow))
                }

                HStack {
                    Text("Branches")
                        .font(.callout)
                        .bold()

                    TextField("comma-separated list of branches (leave empty for default branch)", text: $branches)
                        .branchListStyle()
                        .modifier(ClearButton(text: $branches))
                }

            }

            Section {
                HStack {
                    Text("Workflow File")
                        .font(.callout)
                        .bold()

                    Text("\(trimmedWorkflow).yml")
                }

                HStack {
                    Text("Repo URL")
                        .font(.callout)
                        .bold()

                    Text("https://github.com/\(trimmedOwner)/\(trimmedName)")

                    Spacer()

                    Button(action: { self.repo.openInGithub(destination: .repo) }) {
                        SystemImage("arrowshape.turn.up.right")
                    }
                }

                HStack{
                    Text("Workflow URL")
                        .font(.callout)
                        .bold()

                    Text("https://github.com/\(trimmedOwner)/\(trimmedName)/actions?query=workflow%3A\(trimmedWorkflow)")

                    Spacer()

                    Button(action: { self.repo.openInGithub(destination: .workflow) }) {
                        SystemImage("arrowshape.turn.up.right")
                    }
                }
            "
5.  While silgen closureexpr SIL function "@$s12ActionStatus8EditViewV4bodyQrvg7SwiftUI05TupleD0VyAE7SectionVyAE05EmptyD0VAGyAE6HStackVyAGyAE4TextV_AE0D0P10IntrospectE010introspectL5Field9customizeQrySo06UITextO0Cc_tFQOyAE15ModifiedContentVyAqAE12nameOrgStyleQryFQOyAE0lO0VyAOG_Qo_AA11ClearButtonVG_Qo_tGG_AMyAGyAO_A4_tGGA9_AMyAGyAO_AXyAqAE010branchListV0QryFQOyA0__Qo_A3_GtGGtGAKG_AIyAkGyAMyAGyAO_AOtGG_AMyAGyAO_AoE6SpacerVAE0X0Vy0F12UIExtensions11SystemImageVGtGGA28_tGAKGtGyXEfU_A15_yXEfU_".
 for expression at [/Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/EditView.swift:70:21 - line:111:17] RangeText="{
                HStack {
                    Text("Name")
                        .font(.callout)
                        .bold()
                    TextField("github repo name", text: $name)
                        .nameOrgStyle()
                        .modifier(ClearButton(text: $name))
                        .introspectTextField { textField in
                            textField.becomeFirstResponder()
                        }
                }

                HStack {
                    Text("Owner")
                        .font(.callout)
                        .bold()

                    TextField("github user or organisation", text: $owner)
                        .nameOrgStyle()
                        .modifier(ClearButton(text: $owner))
                }

                HStack {
                    Text("Workflow")
                        .font(.callout)
                        .bold()

                    TextField("Tests.yml", text: $workflow)
                        .nameOrgStyle()
                        .modifier(ClearButton(text: $workflow))
                }

                HStack {
                    Text("Branches")
                        .font(.callout)
                        .bold()

                    TextField("comma-separated list of branches (leave empty for default branch)", text: $branches)
                        .branchListStyle()
                        .modifier(ClearButton(text: $branches))
                "
6.  While silgen closureexpr SIL function "@$s12ActionStatus8EditViewV4bodyQrvg7SwiftUI05TupleD0VyAE7SectionVyAE05EmptyD0VAGyAE6HStackVyAGyAE4TextV_AE0D0P10IntrospectE010introspectL5Field9customizeQrySo06UITextO0Cc_tFQOyAE15ModifiedContentVyAqAE12nameOrgStyleQryFQOyAE0lO0VyAOG_Qo_AA11ClearButtonVG_Qo_tGG_AMyAGyAO_A4_tGGA9_AMyAGyAO_AXyAqAE010branchListV0QryFQOyA0__Qo_A3_GtGGtGAKG_AIyAkGyAMyAGyAO_AOtGG_AMyAGyAO_AoE6SpacerVAE0X0Vy0F12UIExtensions11SystemImageVGtGGA28_tGAKGtGyXEfU_A15_yXEfU_A6_yXEfU_".
 for expression at [/Users/developer/Projects/ActionStatus/Sources/ActionStatusCommon/Views/EditView.swift:71:24 - line:80:25] RangeText="{
                    Text("Name")
                        .font(.callout)
                        .bold()
                    TextField("github repo name", text: $name)
                        .nameOrgStyle()
                        .modifier(ClearButton(text: $name))
                        .introspectTextField { textField in
                            textField.becomeFirstResponder()
                        "
0  swift                    0x000000010e34a033 PrintStackTraceSignalHandler(void*) + 51
1  swift                    0x000000010e3497f0 SignalHandler(int) + 352
2  libsystem_platform.dylib 0x00007fff63e7342d _sigtramp + 29
3  swift                    0x0000000109eaa1f0 swift::ProtocolConformanceRef llvm::function_ref<swift::ProtocolConformanceRef (swift::CanType, swift::Type, swift::ProtocolDecl*)>::callback_fn<swift::ReplaceOpaqueTypesWithUnderlyingTypes>(long, swift::CanType, swift::Type, swift::ProtocolDecl*) + 0
4  swift                    0x000000010a1102e8 (anonymous namespace)::Transform::transform(swift::Lowering::ManagedValue, swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::SGFContext) + 12680
5  swift                    0x000000010a10d148 swift::Lowering::SILGenFunction::emitOrigToSubstValue(swift::SILLocation, swift::Lowering::ManagedValue, swift::Lowering::AbstractionPattern, swift::CanType, swift::Lowering::SGFContext) + 136
6  swift                    0x000000010a08c896 swift::Lowering::Conversion::emit(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::ManagedValue, swift::Lowering::SGFContext) const + 710
7  swift                    0x000000010a02d91d (anonymous namespace)::ScalarResultPlan::finish(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::CanType, llvm::ArrayRef<swift::Lowering::ManagedValue>&) + 1021
8  swift                    0x000000010a049558 swift::Lowering::SILGenFunction::emitApply(std::__1::unique_ptr<swift::Lowering::ResultPlan, std::__1::default_delete<swift::Lowering::ResultPlan> >&&, swift::Lowering::ArgumentScope&&, swift::SILLocation, swift::Lowering::ManagedValue, swift::SubstitutionMap, llvm::ArrayRef<swift::Lowering::ManagedValue>, swift::Lowering::CalleeTypeInfo const&, swift::Lowering::ApplyOptions, swift::Lowering::SGFContext) + 1784
9  swift                    0x000000010a0574cf (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 3951
10 swift                    0x000000010a0538c7 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2567
11 swift                    0x000000010a04f125 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 3685
12 swift                    0x000000010a04ad93 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 163
13 swift                    0x000000010a05d57e (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 238
14 swift                    0x000000010a05d3f9 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && + 537
15 swift                    0x000000010a05afab (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) + 1179
16 swift                    0x000000010a0573c8 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 3688
17 swift                    0x000000010a0538c7 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2567
18 swift                    0x000000010a0a6473 swift::Lowering::SILGenFunction::emitExprInto(swift::Expr*, swift::Lowering::Initialization*, llvm::Optional<swift::SILLocation>) + 131
19 swift                    0x000000010a12be2d swift::Lowering::SILGenFunction::emitReturnExpr(swift::SILLocation, swift::Expr*) + 845
20 swift                    0x000000010a1274e6 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 12598
21 swift                    0x000000010a1244f6 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 326
22 swift                    0x000000010a0d6faf swift::Lowering::SILGenFunction::emitClosure(swift::AbstractClosureExpr*) + 719
23 swift                    0x000000010a03f8e4 swift::Lowering::SILGenModule::emitClosure(swift::AbstractClosureExpr*) + 244
24 swift                    0x000000010a0ba4f8 (anonymous namespace)::RValueEmitter::visitAbstractClosureExpr(swift::AbstractClosureExpr*, swift::Lowering::SGFContext) + 40
25 swift                    0x000000010a04f72b (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 5227
26 swift                    0x000000010a04ad93 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 163
27 swift                    0x000000010a05d57e (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 238
28 swift                    0x000000010a05d3f9 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && + 537
29 swift                    0x000000010a05afab (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) + 1179
30 swift                    0x000000010a0573c8 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 3688
31 swift                    0x000000010a0538c7 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2567
32 swift                    0x000000010a04f125 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 3685
33 swift                    0x000000010a04ad93 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 163
34 swift                    0x000000010a05d57e (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 238
35 swift                    0x000000010a05d3f9 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && + 537
36 swift                    0x000000010a05afab (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) + 1179
37 swift                    0x000000010a0573c8 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 3688
38 swift                    0x000000010a0538c7 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2567
39 swift                    0x000000010a0a6473 swift::Lowering::SILGenFunction::emitExprInto(swift::Expr*, swift::Lowering::Initialization*, llvm::Optional<swift::SILLocation>) + 131
40 swift                    0x000000010a12be2d swift::Lowering::SILGenFunction::emitReturnExpr(swift::SILLocation, swift::Expr*) + 845
41 swift                    0x000000010a1274e6 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 12598
42 swift                    0x000000010a1244f6 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 326
43 swift                    0x000000010a0d6faf swift::Lowering::SILGenFunction::emitClosure(swift::AbstractClosureExpr*) + 719
44 swift                    0x000000010a03f8e4 swift::Lowering::SILGenModule::emitClosure(swift::AbstractClosureExpr*) + 244
45 swift                    0x000000010a0ba4f8 (anonymous namespace)::RValueEmitter::visitAbstractClosureExpr(swift::AbstractClosureExpr*, swift::Lowering::SGFContext) + 40
46 swift                    0x000000010a04f72b (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 5227
47 swift                    0x000000010a04ad93 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 163
48 swift                    0x000000010a05d57e (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 238
49 swift                    0x000000010a05d3f9 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && + 537
50 swift                    0x000000010a05afab (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) + 1179
51 swift                    0x000000010a0573c8 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 3688
52 swift                    0x000000010a0538c7 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2567
53 swift                    0x000000010a04f125 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 3685
54 swift                    0x000000010a04ad93 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 163
55 swift                    0x000000010a05d57e (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 238
56 swift                    0x000000010a05d3f9 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && + 537
57 swift                    0x000000010a05afab (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) + 1179
58 swift                    0x000000010a0573c8 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 3688
59 swift                    0x000000010a0538c7 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2567
60 swift                    0x000000010a0a6473 swift::Lowering::SILGenFunction::emitExprInto(swift::Expr*, swift::Lowering::Initialization*, llvm::Optional<swift::SILLocation>) + 131
61 swift                    0x000000010a12be2d swift::Lowering::SILGenFunction::emitReturnExpr(swift::SILLocation, swift::Expr*) + 845
62 swift                    0x000000010a1274e6 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 12598
63 swift                    0x000000010a1244f6 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 326
64 swift                    0x000000010a0d6faf swift::Lowering::SILGenFunction::emitClosure(swift::AbstractClosureExpr*) + 719
65 swift                    0x000000010a03f8e4 swift::Lowering::SILGenModule::emitClosure(swift::AbstractClosureExpr*) + 244
66 swift                    0x000000010a0ba4f8 (anonymous namespace)::RValueEmitter::visitAbstractClosureExpr(swift::AbstractClosureExpr*, swift::Lowering::SGFContext) + 40
67 swift                    0x000000010a04f72b (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 5227
68 swift                    0x000000010a04ad93 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 163
69 swift                    0x000000010a05d57e (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 238
70 swift                    0x000000010a05d3f9 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && + 537
71 swift                    0x000000010a05afab (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) + 1179
72 swift                    0x000000010a0573c8 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 3688
73 swift                    0x000000010a0538c7 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2567
74 swift                    0x000000010a04f125 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 3685
75 swift                    0x000000010a04ad93 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 163
76 swift                    0x000000010a05d57e (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 238
77 swift                    0x000000010a05d3f9 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && + 537
78 swift                    0x000000010a05afab (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) + 1179
79 swift                    0x000000010a0573c8 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 3688
80 swift                    0x000000010a0538c7 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2567
81 swift                    0x000000010a04f125 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 3685
82 swift                    0x000000010a04ad93 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 163
83 swift                    0x000000010a05d57e (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 238
84 swift                    0x000000010a05d3f9 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && + 537
85 swift                    0x000000010a05afab (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) + 1179
86 swift                    0x000000010a0573c8 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 3688
87 swift                    0x000000010a0538c7 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2567
88 swift                    0x000000010a04f125 (anonymous namespace)::ArgEmitter::emit(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 3685
89 swift                    0x000000010a04ad93 (anonymous namespace)::ArgEmitter::emitSingleArg(swift::Lowering::ArgumentSource&&, swift::Lowering::AbstractionPattern) + 163
90 swift                    0x000000010a05d57e (anonymous namespace)::ArgEmitter::emitPreparedArgs(swift::Lowering::PreparedArguments&&, swift::Lowering::AbstractionPattern) + 238
91 swift                    0x000000010a05d3f9 (anonymous namespace)::CallSite::emit(swift::Lowering::SILGenFunction&, swift::Lowering::AbstractionPattern, swift::CanTypeWrapper<swift::SILFunctionType>, (anonymous namespace)::ParamLowering&, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::SmallVectorImpl<(anonymous namespace)::DelayedArgument>&, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus) && + 537
92 swift                    0x000000010a05afab (anonymous namespace)::CallEmission::emitArgumentsForNormalApply(swift::CanTypeWrapper<swift::FunctionType>&, swift::Lowering::AbstractionPattern&, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::Optional<swift::ForeignErrorConvention> const&, swift::ImportAsMemberStatus, llvm::SmallVectorImpl<swift::Lowering::ManagedValue>&, llvm::Optional<swift::SILLocation>&, swift::CanTypeWrapper<swift::FunctionType>&) + 1179
93 swift                    0x000000010a0573c8 (anonymous namespace)::CallEmission::apply(swift::Lowering::SGFContext) + 3688
94 swift                    0x000000010a0538c7 swift::Lowering::SILGenFunction::emitApplyExpr(swift::ApplyExpr*, swift::Lowering::SGFContext) + 2567
95 swift                    0x000000010a0abe3f swift::ASTVisitor<(anonymous namespace)::RValueEmitter, swift::Lowering::RValue, void, void, void, void, void, swift::Lowering::SGFContext>::visit(swift::Expr*, swift::Lowering::SGFContext) + 22495
96 swift                    0x000000010a0a6473 swift::Lowering::SILGenFunction::emitExprInto(swift::Expr*, swift::Lowering::Initialization*, llvm::Optional<swift::SILLocation>) + 131
97 swift                    0x000000010a12be2d swift::Lowering::SILGenFunction::emitReturnExpr(swift::SILLocation, swift::Expr*) + 845
98 swift                    0x000000010a1274e6 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 12598
99 swift                    0x000000010a1244f6 swift::ASTVisitor<(anonymous namespace)::StmtEmitter, void, void, void, void, void, void>::visit(swift::Stmt*) + 326
100 swift                    0x000000010a0d646f swift::Lowering::SILGenFunction::emitFunction(swift::FuncDecl*) + 1055
101 swift                    0x000000010a03b9c9 swift::Lowering::SILGenModule::emitFunction(swift::FuncDecl*) + 953
102 swift                    0x000000010a138cc8 void llvm::function_ref<void (swift::AccessorDecl*)>::callback_fn<(anonymous namespace)::SILGenType::visitAccessors(swift::AbstractStorageDecl*)::'lambda'(swift::AccessorDecl*)>(long, swift::AccessorDecl*) + 24
103 swift                    0x000000010a138c2c (anonymous namespace)::SILGenType::visitVarDecl(swift::VarDecl*) + 1948
104 swift                    0x000000010a1357fb (anonymous namespace)::SILGenType::emitType() + 1163
105 swift                    0x000000010a045f22 swift::ASTVisitor<swift::Lowering::SILGenModule, void, void, void, void, void, void>::visit(swift::Decl*) + 82
106 swift                    0x000000010a0450ec swift::Lowering::SILGenModule::emitSourceFile(swift::SourceFile*) + 1356
107 swift                    0x000000010a0471ca swift::SILModule::constructSIL(swift::ModuleDecl*, swift::Lowering::TypeConverter&, swift::SILOptions&, swift::FileUnit*) + 1530
108 swift                    0x0000000109c16ecb swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 62331
109 swift                    0x0000000109b87b83 main + 1299
110 libdyld.dylib            0x00007fff63c7a7fd start + 1
error: Segmentation fault: 11 (in target 'ActionStatusMobile' from project 'ActionStatus')
iamtomcat commented 4 years ago

This is happening still in 11.4.

iamtomcat commented 4 years ago

This caused the sil error

    List {
      if [.firstCall, .filterChanged].contains(offersService.loadingState) {
        loadingList
      } else {
        Section {
          ForEach(self.offersService.offers, content: LocationRow.init(viewModel:))
        }
      }
    }
    .introspectTableView(customize: { tableView in
      tableView.separatorInset = UIEdgeInsets(top: 0, left: 100, bottom: 0, right: 0)
    })

However simplifying the closure caused it to work.

    List {
      listItem
    }
    .introspectTableView(customize: { tableView in
      tableView.separatorInset = UIEdgeInsets(top: 0, left: 100, bottom: 0, right: 0)
    })
hipwelljo commented 4 years ago

I got the same error in my case using introspectScrollView(). Moving the entire contents of the ScrollView into a different variable fixed it.

ldiqual commented 4 years ago

@hipwelljo @iamtomcat @samdeane Thanks for reporting this issue! I'm happy to take a look if someone can provide a working example (view code or project). I couldn't reproduce locally on 11.4 with our test project.

sobri909 commented 4 years ago

If this is the same seg 11 that I'm getting, then it only happens with RELEASE builds, not DEBUG builds.

I need to do almost all of my builds as RELEASE, due to a need for testing on device (sim can't do what my app does) and also required compiler optimisations. So I'm running into this one a lot. At the moment I'm working around it by removing Introspect code from the problem views.

Unfortunately I don't have any more insights to offer yet - I haven't dug into the problem in any detail yet, I've merely worked around it for now.

RomainPct commented 4 years ago

Same problem here "Segmentation fault: 11" when archiving the app. This happens on ViewModifier : Capture d’écran 2020-04-06 à 12 14 45 It also happens there : Capture d’écran 2020-04-06 à 12 16 28

But it doesn't happen there : Capture d’écran 2020-04-06 à 12 15 37

RomainPct commented 4 years ago

An ugly solution there on StackOverflow is to edit the "Enable testability" build option to "Yes" and it solves the problem for me. https://stackoverflow.com/questions/60865057/xcode-11-4-archiving-project-segmentation-fault-11

astanz commented 4 years ago

Same problem here when attempting a Release build. Segmentation fault: 11

Screen Shot 2020-05-06 at 4 21 23 PM
gbrandt commented 4 years ago

The following code has the segmentation issue. Copy and paste into your ContentView.swift replacing existing code, try to profile or archive and the segmentation fault will occur (only happens on release builds)

import SwiftUI
import Introspect

struct DisplayRowView: View {
   var body: some View {
      Text( "test" )
   }
}

struct ContentView: View {
   var body: some View {
      List {
         ForEach( 0 ... 3000, id: \.self ) { i in
            DisplayRowView()
         }
      }
      .introspectTableView { tableView in
         tableView.intercellSpacing = NSSize(width: 0, height: 0)
         tableView.usesAlternatingRowBackgroundColors = true
      }
   }
}

struct ContentView_Previews: PreviewProvider {
   static var previews: some View {
      ContentView()
   }
}

commenting the .introspectTableView solves the issue

UPDATE: It has to be a compiler bug, putting the .introspectTableView into a ViewModifier solves the build issue

import SwiftUI
import Introspect

struct DisplayRowView: View {
   var body: some View {
      Text( "test" )
   }
}

public struct IntroSpectTable: ViewModifier {
   public func body(content: Content) -> some View {
      content
         .introspectTableView { tableView in
            tableView.intercellSpacing = NSSize(width: 0, height: 0)
            tableView.usesAlternatingRowBackgroundColors = true
      }
   }

   public init() {}
}

struct ContentView: View {
   var body: some View {
      List {
         ForEach( 0 ... 3000, id: \.self ) { i in
            DisplayRowView()
         }
         .modifier( IntroSpectTable() )
      }
   }
}

struct ContentView_Previews: PreviewProvider {
   static var previews: some View {
      ContentView()
   }
}
SplittyDev commented 3 years ago

@samdeane, @gbrandt is this still happening?

We just tried to reproduce this and it's working fine for us. We've tried release builds and archiving on macOS using @gbrandt's example code.

samdeane commented 3 years ago

@samdeane, @gbrandt is this still happening?

We just tried to reproduce this and it's working fine for us. We've tried release builds and archiving on macOS using @gbrandt's example code.

I haven't actually tried it for a while to be honest. At the time it was a blocker for me so I just stopped using SwiftUI-Introspect in that project, and I haven't needed it since.

SplittyDev commented 3 years ago

@samdeane thanks for the reply, we'll close the issue for now.

Maybe you can give Introspect another chance 😉 Feel free to open another issue if you experience this or any other bug in the future.