AppClip doesn't support requestAlwaysAuthorization for Location
まだ誰も着手していません。
評価
調査の方向性
Start with AuthorizationCatcher and its ask(type:) initializer logic, then check how the AppClip target defines the APPCLIP macro. Build an AppClip target using PromiseKit and submit it for App Store validation; done means requestAlwaysAuthorization is not used for AppClip targets and ITMS-90842 no longer occurs.
索引モデルが issue の本文から書いたものです。
説明
Issue
Appstore rejects the AppClip with Promisekit due to it's usage of requestAlwaysAuthorization in AuthorizationCatcher.
ITMS-90842: Invalid SDK usage - App clip 'AppClip.app' uses the SDK selector 'requestAlwaysAuthorization', which is not supported. Ensure your app clip is using supported SDK features.
Steps to Reproduce
Xcode: 12.5
Minimu iOS Version Supported: 12+
PromiseKit: 6.15.3
Cocoapods: 1.10.1
- Create an appclip target using the following steps.
- Add the AppClip target to
Podfileand let it use the PromiseKit. - Build and submit the app with AppClip to AppStore.
- You will receive the email with above issue
ITMS-90842: Invalid SDK usage.
Recommended Fix
In initialiser of AuthorizationCatcher, update ask(type:) to use APPCLIP macro which needs to be defined for AppClip targets.
switch type {
case .always:
#if os(tvOS) || APPCLIP
fallthrough
#else
requestAlwaysAuthorization()
#endif
case .whenInUse:
requestWhenInUseAuthorization()
}
- 主要言語
- Swift
- スター
- 14.2k
- フォーク
- 1.5k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mxcl/PromiseKit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
mxcl/PromiseKit#1362 · コメント 1 件 · リアクション 1 件 ·
-
CocoaPods supportオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
mxcl/PromiseKit#1361 · コメント 6 件 · リアクション 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
mxcl/PromiseKit#1356 · コメント 3 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
mxcl/PromiseKit#1347 · コメント 5 件 · リアクション 1 件 ·
-
None of your spec sources contain a spec satisfying the dependency: `PromiseKit (~> 7.0.0-rc1)`.オープン
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
mxcl/PromiseKit#1242 · コメント 5 件 ·
mxcl/PromiseKit の issue をすべて見る
似ている issue
-
area: agents area: cli bug difficulty:2 help wanted S3: minor
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
manaflow-ai/cmux#15718 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
mozilla-mobile/firefox-ios#35850 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
chattymin/PokeTokenBar#385 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
appandflow/stim#1941 ·
メンテナーはふだん 1 日以内に返信
-
product / avatars product / self-hosted product / storage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
appwrite/appwrite#13985 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信