swiftlyfalling / SQLiteLib

Easily build a custom SQLite static library for use in macOS and iOS frameworks and apps.
MIT License
66 stars 23 forks source link

Initial build crashing in Xcode 16 #63

Open pnewell opened 1 month ago

pnewell commented 1 month ago

I am getting the following when trying to build a fresh project with SQLiteLib added as a framework (as outline in the instructions):

Thread 8 Crashed:
0   XCBCore                                0x103ef7950 specialized CommandBuildContext.input.getter + 140
1   XCBCore                                0x103cd397c ClangCompilerSpec.constructTasks(_:_:) + 2632
2   XCBTaskConstruction                    0x103196dbd FilesBasedBuildPhaseTaskProducerBase.constructTasksForRule(_:_:_:) + 1
3   XCBTaskConstruction                    0x103201675 SourcesTaskProducer.constructTasksForRule(_:_:_:_:_:) + 1
4   XCBTaskConstruction                    0x103199b3d closure #1 in FilesBasedBuildPhaseTaskProducerBase.addTasksForRule<A>(groupContext:_:_:_:_:_:_:) + 1
5   XCBTaskConstruction                    0x10315b17d partial apply for closure #1 in closure #4 in BuildPlan.init(planRequest:taskPlanningDelegate:) + 1
6   XCBTaskConstruction                    0x1031cb3c5 closure #1 in SourcesTaskProducer.appendGeneratedTasks(_:options:body:) + 1
7   XCBTaskConstruction                    0x10315b17d partial apply for closure #1 in closure #4 in BuildPlan.init(planRequest:taskPlanningDelegate:) + 1
8   XCBTaskConstruction                    0x103279505 StandardTaskProducer.appendGeneratedTasks(_:options:body:) + 1
9   XCBTaskConstruction                    0x1031cb201 SourcesTaskProducer.appendGeneratedTasks(_:options:body:) + 1
10  XCBTaskConstruction                    0x1031bea0d specialized FilesBasedBuildPhaseTaskProducerBase.addTasksForRule<A>(groupContext:_:_:_:_:_:_:) + 1
11  XCBTaskConstruction                    0x1031ae5d9 specialized FilesBasedBuildPhaseTaskProducerBase.addTasksForGroup<A>(_:_:_:_:_:_:) + 1
12  XCBTaskConstruction                    0x1031a5ec9 specialized FilesBasedBuildPhaseTaskProducerBase.groupAndAddTasksForFiles<A>(_:_:_:filterToAPIRules:filterToHeaderRules:_:extraResolvedBuildFiles:) + 1
13  XCBTaskConstruction                    0x1031d42b5 SourcesTaskProducer.generateTasks() + 1
14  XCBTaskConstruction                    0x1031485e9 GlobalProductPlan.__allocating_init(planRequest:delegate:nodeCreationDelegate:) + 1
15  XCBTaskConstruction                    0x10314d01d closure #2 in closure #6 in BuildPlan.init(planRequest:taskPlanningDelegate:) + 1
16  XCBTaskConstruction                    0x10315b17d partial apply for closure #1 in closure #4 in BuildPlan.init(planRequest:taskPlanningDelegate:) + 1
17  XCBTaskConstruction                    0x10315b17d partial apply for closure #1 in closure #4 in BuildPlan.init(planRequest:taskPlanningDelegate:) + 1
18  XCBTaskConstruction                    0x103157e65 partial apply for specialized thunk for @escaping @isolated(any) @callee_guaranteed @async () -> (@out A) + 1
19  XCBUtil                                0x102207af9 partial apply for specialized thunk for @escaping @isolated(any) @callee_guaranteed @async () -> (@out A) + 1
20  XCBUtil                                0x1022079b1 partial apply for closure #1 in AsyncLockedValue.withValue<A>(_:) + 1
21  XCBUtil                                0x102265635 specialized thunk for @escaping @isolated(any) @callee_guaranteed @async () -> (@out A) + 1
22  XCBUtil                                0x102207af9 partial apply for specialized thunk for @escaping @isolated(any) @callee_guaranteed @async () -> (@out A) + 1
23  libswift_Concurrency.dylib             0x276955035 completeTaskWithClosure(swift::AsyncContext*, swift::SwiftError*) + 1
pnewell commented 1 month ago

Here is the workspace/project I set up causing the crash: ThirdTest.zip

(Replace the empty SQLiteLib folder with 3.20.0)