Xcode 27 build fails because AppAuthCore_Privacy resource bundle targets iOS 12.0
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/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ệ
- ios, objective-c
- Lĩnh vực
- authentication, build-system, mobile
Hướng nghiên cứu
Bắt đầu từ AppAuth podspec và kiểm tra cách deployment target của nó được áp dụng cho native target và privacy resource bundle. Chạy pod install với AppAuth 2.1.0, sau đó xác minh rằng cả hai target được tạo đều sử dụng iOS 15.0 trở lên và dự án build được bằng Xcode 27.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Xcode 27 fails the build because AppAuth 2.1.0 generates its privacy resource
bundle with an iOS 12.0 deployment target.
Xcode 27 supports deployment targets starting at iOS 15.0.
Environment
- AppAuth-iOS: 2.1.0
- react-native-app-auth: 8.4.1
- React Native: 0.83.2
- Xcode: 27
- Application deployment target: iOS 17.2
- CocoaPods: 1.16.2
Generated targets
After running pod install, the generated Pods project contains:
AppAuth: 12.0
AppAuth-AppAuthCore_Privacy: 12.0
Error
The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to
12.0, but the range of supported deployment target versions is
15.0 to 27.0.x.
The build failure is reported for:
AppAuth-AppAuthCore_Privacy
Steps to reproduce
- Create an iOS project using CocoaPods.
- Add
AppAuthversion 2.1.0. - Set the application deployment target to iOS 15 or later.
- Run
pod install. - Build with Xcode 27.
- Observe that
AppAuthCore_Privacyretains iOS 12.0.
Expected behavior
AppAuth and its privacy resource bundle should use an iOS deployment target
supported by Xcode 27, preferably iOS 15.0 or later.
Suggested change
Raise the minimum iOS deployment target in the AppAuth podspec to iOS 15.0 so
both the native target and generated privacy resource bundle receive a valid
deployment target.
Temporary workaround
Applications can raise generated pod deployment targets in their Podfile
post_install hook. However, correcting the package podspec prevents CocoaPods
from generating unsupported targets.
Related issue
React Native has a related issue where deployment-target normalization skips
resource-bundle targets:
- Ngôn ngữ chính
- Objective-C
- Star
- 2k
- Fork
- 864
- Merge trung bình
- 6 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 openid/AppAuth-iOS
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 60/100
openid/AppAuth-iOS#908 ·
-
Remove Cocoapods SupportĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
openid/AppAuth-iOS#962 ·
-
[iOS] Support Guided Access ModeĐang mởenhancement triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
openid/AppAuth-iOS#953 ·
-
enhancement triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
openid/AppAuth-iOS#948 ·
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
openid/AppAuth-iOS#932 · 1 bình luận ·
Tất cả issue của openid/AppAuth-iOS
Issue tương tự
-
LiquidGlass / LiquidGlassContainer (iOS): padded content measured at the outer width and overflows by the paddingCó thể đã có người làm @aleclarson đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
NativeScript/NativeScript#11561 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
友链申请Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
TouchFriend/BiliBiliMApp#46 ·
-
macOS: clicking a menu item that has a submenu closes the menu instead of opening the submenuĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
blackboardsh/electrobun#581 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
serhii-londar/open-source-mac-os-apps#1662 ·
Maintainer thường phản hồi trong vòng 23 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 3 ngày