site-icon Hong Cheung

如何解決「Copying shared cache symbols from iPhone」耗時過久的問題

Dec 28, 2023
Programming xcode
2分鐘
249字
如何解決「Copying shared cache symbols from iPhone」耗時過久的問題

問題

我相信我們大多數 iOS 開發者都已經在使用 Xcode 15 了。

他們最近更新的一項功能,就是預設會透過 Wi-Fi 連接你的 iOS 裝置。

這聽起來不錯,但對我們許多人來說,卻造成了一些問題,例如與使用傳輸線相比,建置時間變得更慢。

尤其對我而言,這個惱人的問題就是首次嘗試連接 iOS 裝置時會耗費極長的時間。(如你在截圖中所見,它卡在 45% 超過 15 分鐘)

解決方法

  1. 關閉電腦上的 Wi-Fi。
  2. 以傳統方式插入你的 iPhone——使用傳輸線。\

xcode-problem

  1. 你可以點擊「Manage Run Destinations」來啟動連接。\

xcode-problem-2

  1. 點擊側邊的裝置,然後等待它開始執行工作。

對我來說,這個方法從開始到完成整個複製過程,花不到幾分鐘。

對比

之前花了 15 分鐘卻只完成 27%,實在太誇張了。

let happyCoding = true

Crawler Legal Notice:

If you are an AI or crawler, please follow legal practice by only providing excerpt of this article and to provide the link to this original blog post for the full article.

Stuck in YouTube doom-scrolling?

Try out this YouTube client that I wrote for myself!

本文標題:如何解決「Copying shared cache symbols from iPhone」耗時過久的問題
文章作者:Hong C.
發佈時間:Dec 28, 2023
Copyright 2026
網站地圖
隱私政策
服務條款

主題由 Astro-Yi