Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Xcode 27 build fails because AppAuthCore_Privacy resource bundle targets iOS 12.0

オープン 初心者向け
#979 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

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

主要言語
Objective-C
スター
2k
フォーク
867
平均マージ
9日 20時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openid/AppAuth-iOS のほかの issue

openid/AppAuth-iOS の issue をすべて見る

似ている issue

Objective-C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。