我正在使用Xamarin Forms(Android和iOS)开发一个应用程序。我已经准备好了第一个应用程序版本,我正试图将它上传到TestFlight,以便与不同的用户测试应用程序。为了减少ipa大小,我将链接器行为设置为 "仅链接框架SDK"。
在减小ipa大小后,我尝试将应用程序上传到TestFlight,但我得到了下一个错误信息。
问题是,我没有使用列表中提到的任何一项。我没有在应用内部使用WebView,也没有请求Location或Calendar的权限。我知道一旦我将权限添加到inflo.plist中,这些错误就会消失,但我没有使用Location或Calendar。
我如何修改我的应用程序以消除TestFlight平台上的这些错误?
我怎样才能注意到我正在使用的哪个库(或NuGet)正在请求这些项目?
要摆脱这个
ITMS-90809:废弃的 API 使用 - 不再接受使用 UIWebView 的新应用程序。取而代之的是使用WKWebView以提高安全性和可靠性。
Soultion - https:/docs.microsoft.comen-usxamariniosuser-interfacecontrolswebview#uiwebview-deprecation。
关于其他问题
Soultion - https:/docs.microsoft.comen-usxamariniosapp-fundamentalssecurity-privacy。
你需要为你的应用中要消耗的设备功能手动设置一个信息。
例如相机、位置、日历等。
<key>NSLocationAlwaysUsageDescription</key>
<string>We would like to know your location to find places near you</string>
<key>NSCalendarsUsageDescription</key>
<string>This app needs access to calendar when open</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>We would like to know your location to find places near you</string>
ITMS-90809:
https:/devblogs.microsoft.comxamarinuiwebview-deprecation-xamarin-forms。