Package fails to build on Xcode 27 (Variable initialization expression of Sharing.Shared)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 84/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- swift
- Lĩnh vực
- build-system, database
Hướng nghiên cứu
Bắt đầu trong Package.swift, nơi sqlite-data 1.12.0 khai báo dependency swift-sharing ở version 2.3.0, rồi so sánh yêu cầu đó với release 2.8.1 được tham chiếu. Build package bằng Xcode 27 và xác nhận rằng lỗi linker arm64 đã biến mất; được xem là hoàn tất khi dependency được resolve về một version tương thích và package build thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Description
Hello,
When building my project using the new Xcode 27 (build 27A266a), I noticed the following failure:
undefined symbols for architecture arm64:
"variable initialization expression of Sharing.Shared.(__generation in _02BAFA3D923A53DF643BF6C71BB0CD51) : SwiftUI.State<Swift.Int>", referenced from:
Sharing.Shared.init<A where A == A1.Value, A1: Sharing.SharedKey>(A1) -> Sharing.Shared<A> in Sharing.o
ld: symbol(s) not found for architecture arm64
/Users/jamal/Development/Briefcase/Briefcase.xcodeproj: BriefcaseCore: clang: error: linker command failed with exit code 1 (use -v to see invocation)
This looks similar to this issue in swift-sharing.
https://github.com/pointfreeco/swift-sharing/pull/216
Looks like the fix went in version 2.8.1 of swift-sharing.
But the latest of Package.swift in sqlite-data 1.12.0 is still referencing version 2.3.0
Checklist
- I wrote this in my own words, and aimed to be as succinct as possible, even if I used AI to help research its content.
- I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
- I have determined whether this bug is also reproducible in a vanilla GRDB project.
- If possible, I've reproduced the issue using the
mainbranch of this package. - This issue hasn't been addressed in an existing GitHub issue or discussion.
Expected behavior
No response
Actual behavior
No response
Reproducing project
No response
SQLiteData version information
1.12.0
Sharing version information
No response
GRDB version information
No response
Destination operating system
macOS 27
Xcode version information
Xcode 27A266a
Swift Compiler version information
- Ngôn ngữ chính
- Swift
- Star
- 1.9k
- Fork
- 157
- Merge trung bình
- 3 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pointfreeco/sqlite-data
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
pointfreeco/sqlite-data#563 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
pointfreeco/sqlite-data#561 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 50/100
pointfreeco/sqlite-data#557 · 2 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
pointfreeco/sqlite-data#551 ·
-
Child records deleted locally when their parent's save failed with `quotaExceeded`Có thể đã có người làm @jalalawqati đã nhận 35 ngày trước. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
pointfreeco/sqlite-data#547 · 3 bình luận · 1 reaction ·
Tất cả issue của pointfreeco/sqlite-data
Issue tương tự
-
accessibility bug medium-priority mobile
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
lognorman20/monaco#6247 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
swiftlang/swift-format#1312 ·