自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Xcode3.2.4和3.2.5版本通過

移動開發(fā) iOS
本文介紹的是Xcode 3.2.4和3.2.5版本通過,基本是以代碼實現(xiàn)的,先來看內(nèi)容。

Xcode 3.2.4和3.2.5版本通過是本文要介紹的內(nèi)容,我們之間進入話題,首先關(guān)閉Xcode,打開你的命令行終端,復(fù)制粘貼下面的代碼:[[36900]]

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

執(zhí)行完后再復(fù)制粘貼下面的代碼到命令行終端:(需要internet網(wǎng)絡(luò)連接)

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

執(zhí)行完腳本后修改”/Developer/Platforms/iPhoneOS.platform/Info.plist”文件,做如下修改:

新增如下兩項:

PROVISIONING_PROFILE_ALLOWED = NO
PROVISIONING_PROFILE_REQUIRED = NO

再用文本編輯器打開”/Developer/Platforms/iPhoneOS.platform/Info.plist”文件,將所有“XCiPhoneOSCodeSignContext”替換為“XCCodeSignContext”,(非常重要,不進行此步驟會導(dǎo)致打開項目文件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,選擇編譯環(huán)境為“iPhone Device-3.1.2|Release”,點擊"Build and Go",期間會出現(xiàn)讓我們選擇簽名證書,點選“允許”后,祈禱你的iPhone屏幕亮起吧。

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

小結(jié):Xcode3.2.4和3.2.5版本通過的內(nèi)容介紹完了,希望本文對你有所幫助。

轉(zhuǎn)自:http://bbs.weiphone.com/read-htm-tid-591311.html

責(zé)任編輯:zhaolei 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2011-08-05 11:03:53

Xcode 證書 調(diào)試

2012-11-16 09:50:32

Windbg

2011-03-18 08:39:28

iOS 4.2 SDKiOS SDK

2010-11-09 16:03:27

2012-03-06 13:45:43

JavaJActor

2010-06-08 09:45:27

openSUSE 11

2012-05-07 23:45:54

FantomJavaJVM

2010-08-26 17:08:20

vsftpd faq

2014-07-04 13:33:03

jQueryjQuery Mobi

2009-07-16 16:53:29

Jython 2.5

2010-06-08 10:34:23

opensuse 10

2012-05-09 09:11:52

Silverlight

2009-07-08 16:45:07

Servlet 2.5

2009-06-18 09:14:47

Spring modu

2011-08-18 11:26:23

Kingsoft OfOffice

2012-05-17 13:28:08

OpenStack

2009-12-18 13:43:07

Ruby 1.9版本

2015-07-17 13:43:09

MySQL 5.7

2015-07-17 13:45:12

MySQL 5.7

2009-04-25 08:52:54

AndroidGoogle移動OS
點贊
收藏

51CTO技術(shù)棧公眾號