카테고리 없음

Xcode 4에서 Framework 추가 하기

KraZYeom 2011. 2. 5. 07:54
반응형
기존 Xcode 3.x에서는 그냥 쉽게 프레임워크를 추가 할 수 있었는데, 4로 오면서 그 방법이 사라졌습니다.
애플에서 왜 ? 삭제했는지 이해 불가합니다. 많은 개발자들이 당황하긴 하네요. 

구글링을 하니 정답이 나오네요. 

Adding a framework is managed through the editor for the project:

 

a) Select the project (which contains the target you want to add the framework to), either from the Project Navigator or via the Jump Bar

b) In the source list on the left side of the project editor, select the target

c) Across the top of the target editor area, on the right, will be a few tabs:  select the third one, "Build Phases"

d) From the list of phases presented, disclose the "Link Binaries With Libraries" phase (the last one, normally)

e) Click the plus sign in the lower-left of the phase

 

This will bring down a sheet of the available libraries and frameworks to select from.  Then simply select the framework(s) you wish to add, and click the "Add" button.


이렇게 복잡하게 애플이 하게 했을리가 없는데... 좀 이상하긴 합니다. 

반응형