You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
@mxcl Apple doesn't provide one yet but their suggested approach is to use Active Compilation Condition build setting (for example, APPCLIP). Refer Use Active Compilation Conditions
My suggestion is to let the developers declare it in podfile for AppClip target in podfile.
post_install do |installer_representation|
installer_representation.project.targets.each do |target|
if target.name == "PromiseKit/CoreLocation"
target.build_configurations.each do |config|
config.build_settings['SWIFT_ACTIVE_COMPILATION_CONDITIONS'] ||= ['$(inherited)', 'APPCLIP=1']
end
end
end
end
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
ITMS-90842: Invalid SDK usage
.Recommended Fix
In initialiser of
AuthorizationCatcher
, updateask(type:)
to useAPPCLIP
macro which needs to be defined for AppClip targets.The text was updated successfully, but these errors were encountered: