2015-06-21 82 views
2

我不知道Xcode測試是如何工作的。我點擊了「生成優化配置文件」(在「產品」 - >「執行操作」下)。我看不出有任何的空間,我現在已經出現3個警告,當我嘗試建立:Xcode個人資料數據警告

第一招:

profile data may be out of date: of 6 functions, 0 have no data and 1 has mismatched data that will be ignored 

第二個:

profile data may be out of date: of 85 functions, 4 have no data and 1 has mismatched data that will be ignored 

第三個:

profile data may be out of date: of 220 functions, 81 have no data and 0 have mismatched data that will be ignored 

有人可以將這些警告翻譯成英文嗎? :p

我知道生成另一個優化配置文件會暫時抑制它們,但它們是什麼意思?

+1

這也許是與[this]相關(http://mozeryansky.com/2014/12/apple-llvm-6-0-warning-profile-data-may-be-out-of-date/) – 0yeoj

+0

@ 0yeoj您可以添加您的評論作爲答案? – DDPWNAGE

回答

1

它可能與此有關Apple LLVM 6.0 Warning

如何修復Here, 蘋果描述瞭如何使用優化配置文件以及如何啓用 它。我不想使用我生成並損壞的配置文件,所以我 會正確刪除它並將其禁用。您始終可以重新生成 配置文件以解決此問題。

  1. 刪除組文件夾「OptimizationProfiles」在您的項目
  2. 設置「使用優化配置文件」的發佈爲「否」
  3. 重新建造
-3

也許你使用過時的Xcode版本,請記住有最新版本!

+0

我使用Xcode 6.3.2。我正在使用最新版本。我沒有使用beta Xcode,因爲6.3.2有足夠的錯誤。 – DDPWNAGE