Develop

[ios] Xcode cannot run using the selected device

by hooni posted Aug 14, 2014
?

Shortcut

PrevPrev Article

NextNext Article

ESCClose

Larger Font Smaller Font Up Down Go comment Print

Xcode cannot run using the selected device" Error 해결방법


Sample Code 를 다운받아 빌드하는 도중 아래와 같은 문제가 발생함.


Error 중 다음과 같은 에러가 존재..

"Xcode cannot run using the selected device."

"Choose a destination with a supported architecture in order to run on this device"


해결방법으로


1. 최저 Compile target Version 이 현재 Target Version 보다 높게 설정되어 있는 경우,


2. Build Settings 의 Valid Architectures 가 잘못 설정되어 있는 경우 위와 같은 에러가 발생할 수 있다고 함.


3. Build Options 의 Compiler for C/C++/Objective-C Default compile (Apple LLVM 5.0) Setting 을 함으로 해결