驗證Xcode真偽的方法,來自蘋果官網
驗證Xcode真偽的方法,來自蘋果官網
Xcode的驗證你的版本 2015年9月22日
注意:中文為有道翻譯,看下驗證方法即可。
我們最近將應用程式從應用程式商店,還建有Xcode的假冒版本有可能對消費者造成傷害。你應該直接從Mac App Store下載Xcode,或從蘋果開發者網站,離開看門人上啟用你的系統,以防止篡改軟體。
當你從Mac App Store下載Xcode,OS X自動檢查Xcode的程式碼簽名和驗證程式碼由蘋果簽署。當你從蘋果開發者網站上下載Xcode,簽名的程式碼會自動檢查和驗證預設情況下只要你沒有殘疾的看門人。
你是否下載Xcode Xcode從蘋果或接收從另一個來源,如USB或雷電磁碟,或者在一個本地網路,你可以很容易地驗證的完整性Xcode的副本。
來驗證你的身份Xcode的副本在終端系統上執行以下命令啟用了看門人的:
spctl --assess --verbose /Applications/Xcode.app/
應用程式/在哪裡Xcode安裝的目錄。
看門人使用這個工具執行相同的檢查來驗證簽名的應用程式的程式碼。該工具需要幾分鐘來完成Xcode的評估。
工具應該返回以下結果Xcode的版本從Mac App Store下載:
/Applications/Xcode.app: acceptedsource=Mac
App Store和從蘋果開發者網站下載一個版本,結果應該閱讀
/Applications/Xcode.app: acceptedsource=Apple
或
/Applications/Xcode.app: acceptedsource=Apple System
“接受”以外的任何結果或任何來源除了“Mac App Store”,“蘋果系統”或“蘋果”表明,
Xcode的應用程式簽名是無效的。
你應該下載一個乾淨的副本提交之前Xcode並重新編譯你的應用程式進行審查。
本文由大學霸整理,轉載請註明出處,尊重IT人!
原文:https://developer.apple.com/news/?id=09222015aValidating Your Version of XcodeSeptember 22, 2015We recently removed apps from the App Store that were built with a counterfeit version of Xcode which had the potential to cause harm to customers. You should always download Xcode directly from the Mac App Store, or from the Apple Developer website, and leave Gatekeeper enabled on all your systems to protect against tampered software.
When you download Xcode from the Mac App Store, OS X automatically checks the code signature for Xcode and validates that it is code signed by Apple. When you download Xcode from the Apple Developer website, the code signature is also automatically checked and validated by default as long as you have not disabled Gatekeeper.
Whether you downloaded Xcode from Apple or received Xcode from another source, such as a USB or Thunderbolt disk, or over a local network, you can easily verify the integrity of your copy of Xcode.
To verify the identity of your copy of Xcode run the following command in Terminal on a system with Gatekeeper enabled:
spctl --assess --verbose /Applications/Xcode.appwhere /Applications/ is the directory where Xcode is installed. This tool performs the same checks that Gatekeeper uses to validate the code signatures of applications. The tool can take up to several minutes to complete the assessment for Xcode.
The tool should return the following result for a version of Xcode downloaded from the Mac App Store:
/Applications/Xcode.app: acceptedsource=Mac App Storeand for a version downloaded from the Apple Developer web site, the result should read either/Applications/Xcode.app: acceptedsource=Appleor/Applications/Xcode.app: acceptedsource=Apple SystemAny result other than ‘accepted’ or any source other than ‘Mac App Store’, ‘Apple System’ or ‘Apple’ indicates that the application signature is not valid for Xcode. You should download a clean copy of Xcode and recompile your apps before submitting them for review.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29597077/viewspace-1806922/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 漫步者 app驗證真偽流程APP
- 別再上當受騙,使用身份證真偽線上核驗工具!
- 偽經驗;不稱職面試官的面試經面試
- xcode7免證書真機除錯XCode除錯
- 區塊鏈鼻祖比特幣之3:驗證訊息真偽的數字簽名區塊鏈比特幣
- Xcode自動管理證書下更新證書XCode
- 物件導向JavaScript入門——來自Mozilla的官網教程物件JavaScript
- 百度官網認證申請方法和流程
- 【爆】中安未來護照真偽鑑別系統重磅來襲!
- Testbench編寫指南(4)自動化驗證方法
- iPhoneSE怎麼開啟兩步驗證?蘋果iPhoneSE兩步驗證開啟方法iPhone蘋果
- 蘋果官網序列號查詢蘋果
- 再來篇輸入驗證+重啟驗證的軟體破解
- 蘋果官網今日正式開售愛馬仕版蘋果手錶蘋果
- #07你認真學了css?偽類和偽元素CSS
- hbuilderX打包蘋果證書的申請方法UI蘋果
- 蘋果兩步驗證雙重認證區別 蘋果雙重認證是什麼?蘋果
- PHP算式驗證碼和漢字驗證碼的實現方法PHP
- 網路模型的交叉驗證模型
- 驗證代理IP的三種方法
- Xcode 免費真機除錯XCode除錯
- Javascript驗證方法大全JavaScript
- 做實驗驗證MongoDB分頁的兩種方法MongoDB
- K重交叉驗證和網格搜尋驗證
- 從蘋果BigSur官網學點東西蘋果
- Token驗證失敗的解決方法
- 身份證校驗碼的計算方法
- 身份證真偽查詢介面、身份證實名認證一行python程式碼即可實現,實時資料Python
- EasyUI - 驗證框使用方法UI
- jquery validate 手工驗證方法jQuery
- MVC驗證09-使用MVC的Ajax.BeginForm方法實現非同步驗證MVCORM非同步
- 蘋果關閉了iOS 11.3系統的驗證通道蘋果iOS
- dataguard驗證是否正常同步的2種方法
- js中驗證輸入數字的方法JS
- HTML_登入時的JS驗證方法HTMLJS
- QTP處理驗證碼的一種方法QT
- Xcode7 真機測試設定XCode
- 網路訂票當心三類陷阱最好當場識別真偽