2016-10-01 4 views
6

Xcode 및 OpenFL의 최신 버전과 함께 최신 버전의 Haxe 3을 설치했습니다.ios 시뮬레이터에서 openfl을 실행하는 방법

내가 터미널에서 내 OpenFl 프로젝트 내에서 그리고 난 다음 명령을 실행

openfl test ios -simulator 

나는 다음과 같은 오류가 발생합니다 :

/Applications/Xcode.app/Contents/Developer/usr/bin/make 
Haxe device build: Release-iphoneos-v7 
haxe Build.hxml -D HXCPP_ARMV7 -cpp build/Release-iphoneos-v7 
cd build/Release-iphoneos-v7; export HXCPP_NO_COLOR=1; haxelib run hxcpp Build.xml -Dios -Diphone -DHXCPP_ARMV7 -DHXCPP_CPP11 -DHXCPP_CLANG -DOBJC_ARC `cat Options.txt | while read LINE; do printf " -D$LINE"; done` 
Error: Could not find build target "by" 
make: *** [build-haxe-armv7] Error 1 
Command /Applications/Xcode.app/Contents/Developer/usr/bin/make failed with exit code 2 

답변

5

그것은 "에 의해"라는 단어에 질식을, 생성 된 C++ 소스 파일의 맨 위에 삽입 된 "Generated by Haxe"의 것입니다.

haxelib run openfl build ios -simulator -Dsource-header=haxe (또는 hxcpp 상당)을 기본 머리글을 "haxe"로 바꾸려면 머리글 줄의 공백없이 작동해야합니다. 이 OpenFL 문제

점검, 같은 문제처럼 보인다 : https://github.com/openfl/openfl/issues/1132

는 그 후 당신도이 문제를 칠 수 있습니다 당신은 내가 볼 것을 제안 https://github.com/openfl/openfl/issues/1153

+0

두 번째 링크, 문제 1153 슈퍼 도움이되었다. 희망 그들은 곧 장소에서 실제 솔루션을 얻을. – mattwallace

관련 문제