问题描述
Please correct the following issues,then upload again.
ITMS-90842: Invalid SDK usage - App clip
'Runner.app/AppClips/RunnerAppClip.app' uses the SDK selector
'requestAlwaysAuthorization',which is not supported. Ensure your app clip is
using supported SDK features.
我使用了位置权限,但如何从 AppClip 中排除特定位置
解决方法
您可以使用 Swift 编译标志在 App Clip 目标中包含/排除特定的代码行。
为此,您可以打开 App Clip 目标的构建设置并添加一些自定义标志,如 APPCLIP。
然后在您的代码中...
yarn add -g @nrwl/cli