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.
Hmm, seems strange Apple wouldn’t provide an #if environment(AppClip) or something like that. Can we find one? I could not but don’t have a lot of time for this.
Issue
Appstore rejects the AppClip with
Promisekit
due to it's usage ofrequestAlwaysAuthorization
inAuthorizationCatcher
.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
Podfile
and let it use the PromiseKit.ITMS-90842: Invalid SDK usage
.Recommended Fix
In initialiser of
AuthorizationCatcher
, updateask(type:)
to useAPPCLIP
macro which needs to be defined for AppClip targets.