Xcode破解 3.2.4和3.2.5版本通過

來源:互聯網
上載者:User

Xcode破解 3.2.4和3.2.5版本通過是本文要介紹的內容,我們之間進入話題,首先關閉Xcode,開啟你的命令列終端,複製粘貼下面的代碼:

 
  1. #!/bin/bash  
  2. cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS\ Build\ System\ Support.xcplugin/Contents/MacOS/  
  3. dd if=iPhoneOS\ Build\ System\ Support of=working bs=500 count=255 
  4. printf “\x8f\x2a\x00\x00″ >> working  
  5. dd if=iPhoneOS\ Build\ System\ Support of=working bs=1 skip=127504 seek=127504 
  6. /bin/mv -n iPhoneOS\ Build\ System\ Support iPhoneOS\ Build\ System\ Support.original  
  7. /bin/mv working iPhoneOS\ Build\ System\ Support  
  8. chmod a+x iPhoneOS\ Build\ System\ Support 

執行完後再複製粘貼下面的代碼到命令列終端:需要internet網路連接)

 
  1. mkdir /Developer/iphoneentitlements30  
  2. cd /Developer/iphoneentitlements30  
  3. curl -O http://www.alexwhittemore.com/iphone/gen_entitlements.txt  
  4. mv gen_entitlements.txt gen_entitlements.py  
  5. chmod 777 gen_entitlements.py 

執行完指令碼後修改”/Developer/Platforms/iPhoneOS.platform/Info.plist”檔案,做如下修改:

新增如下兩項:

 
  1. PROVISIONING_PROFILE_ALLOWED = NO 
  2. PROVISIONING_PROFILE_REQUIRED = NO 

再用文字編輯器開啟”/Developer/Platforms/iPhoneOS.platform/Info.plist”檔案,將所有“XCiPhoneOSCodeSignContext”替換為“XCCodeSignContext”,非常重要,不進行此步驟會導致開啟專案檔Xcode會崩潰報錯退出)儲存退出。

開啟Xcode,開啟你的項目,Project>>Edit Project Setting,選擇“Build”頁面,Configurations和Show都選擇All,找到Code Signing Identity項,刪除其子項,並將“Code Signing Identity”賦值為“iPhone Developer”(其實是個選項)。

然後找到你項目的xxx-Info.plist檔案,添加“SignerIdentity”項,其值為“Apple iPhone OS Application Signing”.儲存。

將iPhone接入電腦,在Xcode的Window>>Organizer中會偵測到你的iPhone.查看iPhone和你的Xcode識別正常後退出Organizer,選擇編譯環境為“iPhone Device-3.1.2|Release”,點擊"Build and Go",期間會出現讓我們選擇簽署憑證,點選“允許”後,祈禱你的iPhone螢幕亮起吧。

你的程式會自動下載到你的iPhone中。點觸運行無任何錯誤提示。

小結:Xcode破解 3.2.4和3.2.5版本通過的內容介紹完了,希望本文對你有所協助。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.