AppClip doesn't support requestAlwaysAuthorization for Location
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
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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()
}
- Ngôn ngữ chính
- Swift
- Star
- 14.2k
- Fork
- 1.5k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 mxcl/PromiseKit
-
Allow Serialisation of PMKArrayĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
mxcl/PromiseKit#1362 · 1 bình luận · 1 reaction ·
-
CocoaPods supportĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
mxcl/PromiseKit#1361 · 6 bình luận · 2 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
mxcl/PromiseKit#1356 · 3 bình luận · 1 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
mxcl/PromiseKit#1347 · 5 bình luận · 1 reaction ·
-
None of your spec sources contain a spec satisfying the dependency: `PromiseKit (~> 7.0.0-rc1)`.Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
mxcl/PromiseKit#1242 · 5 bình luận ·
Tất cả issue của mxcl/PromiseKit
Issue tương tự
-
area: agents area: cli bug difficulty:2 help wanted S3: minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
manaflow-ai/cmux#15718 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
mozilla-mobile/firefox-ios#35850 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
chattymin/PokeTokenBar#385 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
appandflow/stim#1941 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
product / avatars product / self-hosted product / storage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
appwrite/appwrite#13985 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày