2012-04-06 1 views
4

방금 ​​http://www.xiph.org/downloads/ (http://downloads.xiph.org/releases/ogg/libogg-1.3.0.tar.gz)에서 libogg를 다운로드했습니다. 이제 libogg를 컴파일하려고합니다. 해당 패키지에 제공된 Ogg.xcodeproj 프로젝트 내가 대신 프레임 워크의 정적 라이브러리 구축하려고하면Xcode 4를 사용하여 libogg 컴파일

The run destination My Mac 64-bit is not valid for Running the scheme 'Ogg'.

The scheme 'Ogg' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode.

나는 비슷한 오류 : 다시

The run destination My Mac 64-bit is not valid for Running the scheme 'libogg (static)'.

The scheme 'libogg (static)' contains no buildables that can be built for the SDKs supported by the run destination My Mac 64-bit. Make sure your targets all specify SDKs that are supported by this version of Xcode.

을이 그냥 개방되고, 내가 구축 할 때, 나는 다음과 같은 오류가 발생합니다 처음으로 Xcode 4.3.2에서 프로젝트를 만들고 빌드하려고 시도했습니다. 나는 프로젝트 파일을 전혀 변경하지 않았다.

누구나 솔루션 방향으로 컴파일 할 수 있습니까?

답변

2

필자의 경우, Xcode 프로젝트는 이전 아키텍처 (OS X 10.5 PPC, 이전 버전의 OS X 10.8 Mountain Lion x64)에서 이전 SDK와 연결되었습니다.

Xcode 5에서이 문제를 해결하려면 Xcode에서 최상위 프로젝트 (파란색 "A"아이콘이있는 프로젝트 폴더 창의 최상단 노드)를 선택한 다음 프로젝트를 선택하십시오. 변경 아키텍처 현재 시스템에 적합한 뭔가 같은 기본 빌드 머신의 건축과 현재 엑스 코드 환경에 설치된 SDK에 자료 SDK을 변경, 같은 OS X 10.8합니다.

enter image description here

: 여기

는 이러한 설정을 찾을 수 있도록 내 프로젝트의 스크린 샷입니다 (: kisshelper> kisshelper> 아키텍처 강조 표시된 부분을 아래)