Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Xcode 27 build fails because AppAuthCore_Privacy resource bundle targets iOS 12.0

Đã đóng Phù hợp với người mới
#979 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

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ả

bug triage

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

  1. Create an iOS project using CocoaPods.
  2. Add AppAuth version 2.1.0.
  3. Set the application deployment target to iOS 15 or later.
  4. Run pod install.
  5. Build with Xcode 27.
  6. Observe that AppAuthCore_Privacy retains 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:

https://github.com/react/react-native/issues/58555

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openid/AppAuth-iOS

Tất cả issue của openid/AppAuth-iOS

Issue tương tự

Thêm issue về Objective-C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.