驗證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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- JavaScript身份證真偽查驗介面廠家有哪些?身份證查詢真偽JavaScript
- 漫步者 app驗證真偽流程APP
- hbuilderX打包蘋果證書的申請方法UI蘋果
- C++批次核驗身份證真偽、實名認證介面、身份證識別C++
- 從蘋果BigSur官網學點東西蘋果
- 身份證如何查驗真偽?C#身份證二要素、三要素介面整合C#
- 別再上當受騙,使用身份證真偽線上核驗工具!
- 蘋果關閉了iOS 11.3系統的驗證通道蘋果iOS
- 福利來微信-17008768000-福利來官網-真險啊
- 護照真偽查驗、翔雲護照鑑偽、證件識讀儀、出入境護照查驗裝置
- 區塊鏈鼻祖比特幣之3:驗證訊息真偽的數字簽名區塊鏈比特幣
- 聊聊蘋果證書的那些事蘋果
- 蘋果手機如何關閉微信自動扣費?蘋果iPhone微信自動扣款取消方法蘋果iPhone
- 蘋果企業賬號:蘋果iPhone SE 2已進入最後生產驗證階段蘋果iPhone
- 蘋果遠端裝置管理服務DEP含有驗證缺陷蘋果
- 蘋果 macOS 11 Big Sur 初體驗?速度來觀看蘋果Mac
- 偽經驗;不稱職面試官的面試經面試
- 果博東方官網-17008768000-福利來娛樂-
- D-Link智慧家居新品將登陸蘋果中國官網蘋果
- JavaScript免費的發票驗真介面示例文件-發票真偽查驗與資訊識別JavaScript
- 蘋果回應中國降價:蘋果中國區產品降價 官網訂購可退差價蘋果
- SA:高通超過40%的收益來自蘋果和三星蘋果
- 蘋果 MacBook 筆記本取消開蓋自動開機功能的方法蘋果Mac筆記
- iPhone XR/XS Max怎麼驗機?蘋果iPhone XS購機驗機的幾種方法iPhone蘋果
- Sealos Devbox 使用教程:使用 Cursor 開發一個高仿蘋果官網dev蘋果
- selenium自動爬取網易易盾的驗證碼
- 蘋果關閉iOS 13.3系統驗證通道,iPhone不能降級了蘋果iOSiPhone
- 伺服器配置ssl證書支援蘋果ATS方法 – HTTPS SSL 教程伺服器蘋果HTTP
- 蘋果手機漢譯英的方法蘋果
- Testbench編寫指南(4)自動化驗證方法
- Strategy Analytics:2021財年高通來自蘋果的營收為77億美元蘋果營收
- 蘋果自動駕駛背後的故事蘋果自動駕駛
- 2023年“蘋果稅”為蘋果帶來了約223.4億美元的全球收入蘋果
- 蘋果電腦如何正確斷網?Mac電腦斷網方法蘋果Mac
- 程式設計師因太過耿直,致蘋果官網出現bug......程式設計師蘋果
- 蘋果新大廈的7小時體驗,看看別人家的未來辦公蘋果
- 蘋果證書為什麼會掉?蘋果
- 真無線耳機戰場:小米進、蘋果退蘋果
- Counterpoint:蘋果是美國消費者未來購買真無線耳機的首選品牌蘋果