2016-10-01 18 views
6

'da openfl'i nasıl çalıştırabilirim En son Xcode ve OpenFL sürümü ile birlikte kurulu olan en son Haxe 3 sürümüne sahibim.ios simülatör

ben terminalde benim OpenFl proje içinde ve ben aşağıdaki komutu çalıştırın:

openfl test ios -simulator 

aşağıdaki hatayı alıyorum:

/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 

cevap

5

It "tarafından" sözcüğü boğulmadan, Bu, oluşturulan C++ kaynak dosyalarının üstüne eklenen "Haxe tarafından oluşturulmuş" olacaktır. o başlık satırında boşluk bırakmadan çalışması gerekir,

Yani haxelib run openfl build ios -simulator -Dsource-header=haxe deneyin (veya eşdeğer hxcpp) "haXe" ile varsayılan başlığını değiştirin. Bu OpenFL sorunu

Kontrol, aynı sorun gibi görünüyor: https://github.com/openfl/openfl/issues/1132

Daha sonra siz de bu sorunu vurabilir: Eğer ben bakmak önerdi https://github.com/openfl/openfl/issues/1153

+0

ikinci bağlantı, konu 1153 süper yararlı oldu. Umarım yakında gerçek bir çözüm bulurlar. – mattwallace

İlgili konular