簡體   English   中英

向 TestFlight 提交臨時分發時 Xamarin ios 提交錯誤

[英]Xamarin ios submission error when submitting adhoc distribution to TestFlight

因此,在將我的應用程序提交給 Apple TestFight 后,我​​一直試圖克服以下錯誤:

Dear Developer,

We identified one or more issues with a recent delivery for your app. Please correct the following 
issues, then upload again.

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use 
WKWebView for improved security and reliability. Learn more 
(https://developer.apple.com/documentation/uikit/uiwebview).

這是我嘗試過的:

  1. 驗證我使用的是 xamarin >4.5

  2. 驗證我正在使用 Visual Studio > Studio 16.4.3

  3. 驗證我正在使用 Xamarin.iOS >Xamarin.iOS 13.10.0.17

  4. 我的 iOS 版本與微軟推薦的相同(見截圖) 在此處輸入圖片說明

  5. 我使用 mtouch arg --warn-on-type-ref=UIKit.UIWebView 驗證了構建輸出沒有對 UIWebView 的任何引用。

  6. 我的解決方案不包含文本“UIWebView”

這個問題似乎很受歡迎,因為我發現了很多對同一問題的引用,但沒有一個修復對我有用。 我在這里做了所有的步驟

除了向 Apple 提交票證顯然是最后的手段之外,有人對我應該尋找什么有任何建議。

我現在還執行了以下操作:

  1. 將 .ipa 文件重命名為 .zip 並解壓縮。
  2. 對內容執行以下搜索 - grep -r UIWebView 。
  3. 得到以下結果 ./[app name].iOS 匹配

我不知道如何處理這些信息?

現在在 Visual Studio 中,我添加了這些額外的 mtouch 參數:

-warnaserror:1502 -warnaserror:1503

這產生了以下內容:

One or more reference(s) to type 'UIKit.UIWebView' already exists inside 'Xamarin.Forms.Platform.iOS, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null' before linking arnBooking.iOS      

不知道如何找到它的位置?

這里的問題原來是我正在使用的 HockeySDK.Xamarin 包,它現在顯然已被棄用。 刪除此依賴項並替換為 AppCenter 后,提交被批准。 我完全靠運氣發現了這一點,所以我擔心將來會再次陷入絕望的境地,在那里蘋果拒絕我的提交,幾乎不知道我該如何解決。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM