Xcode 27 build fails because AppAuthCore_Privacy resource bundle targets iOS 12.0
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- ios, objective-c
調査の方向性
AppAuth podspec から始め、そこに指定された deployment target が native target と privacy resource bundle にどのように適用されるかを確認します。AppAuth 2.1.0 で pod install を実行し、生成された両方の target が iOS 15.0 以降を使用していること、またプロジェクトが Xcode 27 でビルドできることを確認します。
索引モデルが issue の本文から書いたものです。
説明
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:
- 主要言語
- Objective-C
- スター
- 2k
- フォーク
- 867
- 平均マージ
- 9日 20時間
- マージ済み PR(30日)
- 1
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openid/AppAuth-iOS のほかの issue
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 60/100
openid/AppAuth-iOS#908 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
openid/AppAuth-iOS#962 ·
-
enhancement triage
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
openid/AppAuth-iOS#953 ·
-
enhancement triage
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
openid/AppAuth-iOS#948 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
openid/AppAuth-iOS#932 · コメント 1 件 ·
openid/AppAuth-iOS の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
firebase/firebase-ios-sdk#16718 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
prime-radiant-inc/evener#2440 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
AvaloniaUI/Avalonia#22312 ·
メンテナーはふだん 1 日以内に返信
-
Needs Attention platform: ios plugin: app-core plugin: storage type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
invertase/react-native-firebase#9342 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
NativeScript/NativeScript#11448 ·
メンテナーはふだん 1 日以内に返信