iOS2012. 8. 7. 14:55



1. install XCode

2. install command line tools

  4.3이상에서는 아래 수행

  xcode-select -switch /Applications/Xcode.app 

3. install java developer package 

   https://developer.apple.com/downloads.

4. checkout webkit source

  svn checkout http://svn.webkit.org/repository/webkit/trunk WebKit

  or download http://nightly.webkit.org/files/WebKit-SVN-source.tar.bz2

5. update-webkit script 실행

 - 소스트리를 업데이트한다, 윈도우의 경우 추가적으로 필요한 라이브러리들을 업데이트한다.

6. build-webkit script 실행

$ cd WebkitSrc/Tools/Scripts

$ ./build-webkit

7. run-safari로 빌드된 webkit으로 safari실행

$ ./run-safari


디버깅 방법

xcode에서 디버기하려면 WebKit workspace를 이용한다. Product와 Intermediates위치를 빌드한 webkit과 일치시키려면 File->Workspace Settings -> Advanced button -> Custom -> Relative to Workspace 에 WebKitBuild를 Product와 Intermediates에 입력. Xcode preference의 custom build location을 지정하였다면 할필요 없구.


UIProcess디버깅

- WebKit2 Xcode project를 오픈

- Build Product Path설정

- Scheme 선택

- Edit Scheme -> Run -> Info pane -> Executable popup -> Other -> select /Applications/Safari.app

- Run



WebProcess디버깅

- Xcode에서는 WebKit workspace -> All Source(target WebProcess)를 선택하고, Run

- Commandline에서는 debug-safari 또는 debug-minibrowser script를 실행 --target-webprocess옵션을 붙여서 타겟지정. Safari나 mini browser상에서 실행이 됨.

Posted by 삼스

댓글을 달아 주세요

  1. Nike Giants Jersey

    http://www.texanssportshop.com http://www.texanssportshop.com
    http://www.texanssportshop.com/jj-watt-jersey-c-1_127.html J.J. Watt Jersey
    http://www.texanssportshop.com/andre-johnson-jersey-c-1_13.html Andre Johnson Jersey
    http://www.texanssportshop.com/arian-foster-jersey-c-1_31.html Arian Foster Jersey
    http://www.texanssportshop.com/brian-cushing-jersey-c-1_55.html Brian Cushing Jersey
    http://www.texanssportshop.com/johnathan-joseph-jersey-c-1_139.html Johnathan Joseph Jersey
    http://www.texanssportshop.com/whitney-mercilus-jersey-c-1_217.html Whitney Mercilus Jersey
    http://www.texanssportshop.com/alan-ball-jersey-c-1_2.html Alan Ball Jersey
    http://www.texanssportshop.com/antoine-caldwell-jersey-c-1_19.html Antoine Caldwell Jersey
    http://www.texanssportshop.com/antonio-smith-jersey-c-1_25.html Antonio Smith Jersey
    http://www.texanssportshop.com/ben-tate-jersey-c-1_37.html Ben Tate Jersey
    http://www.texanssportshop.com/bradie-james-jersey-c-1_43.html Bradie James Jersey
    http://www.texanssportshop.com/brandon-brooks-jersey-c-1_49.html Brandon Brooks Jersey
    http://www.texanssportshop.com/brice-mccain-jersey-c-1_61.html Brice McCain Jersey
    http://www.texanssportshop.com/brooks-reed-jersey-c-1_67.html Brooks Reed Jersey
    http://www.texanssportshop.com/chris-myers-jersey-c-1_73.html Chris Myers Jersey
    http://www.texanssportshop.com/connor-barwin-jersey-c-1_79.html Connor Barwin Jersey
    http://www.texanssportshop.com/danieal-manning-jersey-c-1_85.html Danieal Manning Jersey
    http://www.texanssportshop.com/derek-newton-jersey-c-1_91.html Derek Newton Jersey
    http://www.texanssportshop.com/devier-posey-jersey-c-1_97.html Devier Posey Jersey
    http://www.texanssportshop.com/donnie-jones-jersey-c-1_103.html Donnie Jones Jersey
    http://www.texanssportshop.com/duane-brown-jersey-c-1_109.html Duane Brown Jersey
    http://www.texanssportshop.com/garrett-graham-jersey-c-1_115.html Garrett Graham Jersey
    http://www.texanssportshop.com/glover-quin-jersey-c-1_121.html Glover Quin Jersey
    http://www.texanssportshop.com/james-casey-jersey-c-1_133.html James Casey Jersey
    http://www.texanssportshop.com/kareem-jackson-jersey-c-1_145.html Kareem Jackson Jersey
    http://www.texanssportshop.com/kevin-walter-jersey-c-1_151.html Kevin Walter Jersey
    http://www.texanssportshop.com/lestar-jean-jersey-c-1_157.html Lestar Jean Jersey
    http://www.texanssportshop.com/matt-schaub-jersey-c-1_163.html Matt Schaub Jersey
    http://www.texanssportshop.com/owen-daniels-jersey-c-1_169.html Owen Daniels Jersey
    http://www.texanssportshop.com/quintin-demps-jersey-c-1_175.html Quintin Demps Jersey
    http://www.texanssportshop.com/shaun-cody-jersey-c-1_181.html Shaun Cody Jersey
    http://www.texanssportshop.com/shayne-graham-jersey-c-1_187.html Shayne Graham Jersey
    http://www.texanssportshop.com/tj-yates-jersey-c-1_193.html T.J. Yates Jersey
    http://www.texanssportshop.com/tim-jamison-jersey-c-1_199.html Tim Jamison Jersey
    http://www.texanssportshop.com/trindon-holliday-jersey-c-1_205.html Trindon Holliday Jersey
    http://www.texanssportshop.com/wade-smith-jersey-c-1_211.html Wade Smith Jersey

    2012.11.28 17:53 [ ADDR : EDIT/ DEL : REPLY ]
  2. http://www,Topics related articles:


    http://koreancontent.tistory.com/599 复件 (12) 韩

    .coachfactoryoutletal,Topics related articles:


    http://driving2europe.tistory.com/40?nil_openapi=search 复件 (15) 韩

    .com/
    http://www.buybeatsbydrdrexk,Topics related articles:


    http://ases.tistory.com/category/ASES2010?page=2 复件 (20) 韩

    .com/

    2013.04.22 07:51 [ ADDR : EDIT/ DEL : REPLY ]
  3. 귀를 기울여봐 가슴이 뛰는 소리가 들리면 네가 사랑하는 그 사람 널 사랑하고 있는거야.

    2013.07.17 12:35 [ ADDR : EDIT/ DEL : REPLY ]