Open soarcn opened 11 years ago
One other person reported similar issue here: http://ui.stablex.ru/doc/ (search for "when I compile nme project targeting to android on Windows")
Possible solution: use absolute path for xml files
Since i don't have mac nor ios device, i can't find and fix the reason of this issue.
Here comes a update.
I upgrade haxe to haxe3 use openfl with latest statblexui can try it again in macos
mac target works perfect, html5 works perfect.
but ios target still wrong with same xml missing error.
I could sent the generated project (openfl update....) to you if needed to look into.
Please, send. I'll try to find mac/ios device ) Also make sure you run compilation processfrom the same dir where your nmml file is located.
can you please leave me your email address?
alex@stablex.ru
Unfortunately i can't find a mac to test. Did you try absolute path?
sorry, quite busy those days, I haven't test in my own environment, but got know from other people who have the same issue resolve this by absolute path workaround, since xml loading is the basis of stablexui, I guess we could investigate a little bit when we have time :)
It failed for me on a Mac a few weeks ago but it works now, with Haxe 3 and OpenFL, without using an absolute path. Haven´t built for iOS yet tough. If you need I can test projects on a Mac.
Failed for iOS:
Haxe armv7 build CONFIG : Debug-iphoneos
haxe Build.hxml -D HXCPP_ARMV7 -cpp build/Debug-iphoneos -debug -D HXCPP_CLANG -D OBJC_ARC
/usr/lib/haxe/std/neko/_std/sys/io/File.hx:33: characters 20-51 : Assets/UI/defaults.xml: No such file or directory
/usr/lib/haxe/lib/stablexui/1,0,3/ru/stablex/ui/UIBuilder.hx:125: characters 40-72 : Called from
../../../../Source/ludo/game/Game.hx:58: characters 2-48 : Called from
I still don't have access to any i-device to find the reason and fix this issue. If you will figure out, what's going wrong, let me know.
hey.... if it's build problems for Mac, then you could use Travis CI to do automatic Mac builds for you for free, since StablexUI is on Github and opensource. I haven't used it myself, but have heard of many using it with great success.
Here's a post by Andy Li about it: http://blog.onthewings.net/2013/03/19/automated-unit-testing-for-haxe-project-using-travis-ci/
and Travis CI can use Ubuntu or OSX as it's host build platform. Here's a link detailing the OSX side of things: http://about.travis-ci.org/docs/user/osx-ci-environment/
So by adding a single ".travis.yml" file to the StablexUI repo, you could have it always building Mac versions of things for you....
for what it's worth, I just build this sample on a MacBook pro, and it builds fine for flash, neko and mac targets. The Flash target has some runtime issues, but I've brought that up in another issue. Thanks!
Thanks, i'll try TravisCI.
Can you build that sample for iPad or iPhone?
Sorry... I guess I didn't read the thread well enough.... I just tried for ios and it failed.... but I get a different error.... I'll try and take a peek later on today or tomorrow if this doesn't screen something at you!
$ openfl build ios
Build settings from command line:
PLATFORM_NAME = iphoneos
SDKROOT = iphoneos5.1
=== BUILD LEGACY TARGET Build Haxe OF PROJECT stablexui WITH CONFIGURATION Release ===
Check dependencies
ExternalBuildToolExecution "Build Haxe"
cd /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/stablexui/haxe
setenv ACTION
setenv ALTERNATE_GROUP staff
setenv ALTERNATE_MODE u+w,go-w,a+rX
setenv ALTERNATE_OWNER Brad
setenv ALWAYS_SEARCH_USER_PATHS NO
setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
setenv APPLE_INTERNAL_DIR /AppleInternal
setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
setenv APPLY_RULES_IN_COPY_FILES NO
setenv ARCHS armv7
setenv AVAILABLE_PLATFORMS "iphonesimulator macosx iphoneos"
setenv BUILD_COMPONENTS "headers build"
setenv BUILD_DIR /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build
setenv BUILD_ROOT /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build
setenv BUILD_STYLE
setenv BUILD_VARIANTS normal
setenv BUILT_PRODUCTS_DIR /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/Release-iphoneos
setenv CACHE_ROOT /var/folders/1v/96h5lm5n4sg1q5tdp0kl1jnc0000gn/C/com.apple.Xcode.501
setenv CLANG_CXX_LANGUAGE_STANDARD gnu++0x
setenv CLANG_ENABLE_OBJC_ARC YES
setenv CLANG_WARN__DUPLICATE_METHOD_MATCH YES
setenv CLASS_FILE_DIR "/Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos/Build Haxe.build/JavaClasses"
setenv CLONE_HEADERS NO
setenv CODE_SIGN_IDENTITY "iPhone Developer"
setenv CONFIGURATION Release
setenv CONFIGURATION_BUILD_DIR /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/Release-iphoneos
setenv CONFIGURATION_TEMP_DIR /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos
setenv COPYING_PRESERVES_HFS_DATA NO
setenv COPY_PHASE_STRIP YES
setenv DEAD_CODE_STRIPPING YES
setenv DEBUGGING_SYMBOLS YES
setenv DEBUG_INFORMATION_FORMAT dwarf-with-dsym
setenv DEPLOYMENT_LOCATION NO
setenv DEPLOYMENT_POSTPROCESSING NO
setenv DERIVED_FILES_DIR
setenv DERIVED_FILE_DIR "/Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos/Build Haxe.build/DerivedSources"
setenv DERIVED_SOURCES_DIR "/Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos/Build Haxe.build/DerivedSources"
setenv DEVELOPER_APPLICATIONS_DIR /Applications/Xcode.app/Contents/Developer/Applications
setenv DEVELOPER_BIN_DIR /Applications/Xcode.app/Contents/Developer/usr/bin
setenv DEVELOPER_DIR /Applications/Xcode.app/Contents/Developer
setenv DEVELOPER_FRAMEWORKS_DIR /Applications/Xcode.app/Contents/Developer/Library/Frameworks
setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Applications/Xcode.app/Contents/Developer/Library/Frameworks\""
setenv DEVELOPER_LIBRARY_DIR /Applications/Xcode.app/Contents/Developer/Library
setenv DEVELOPER_SDK_DIR /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
setenv DEVELOPER_TOOLS_DIR /Applications/Xcode.app/Contents/Developer/Tools
setenv DEVELOPER_USR_DIR /Applications/Xcode.app/Contents/Developer/usr
setenv DEVELOPMENT_LANGUAGE English
setenv DO_HEADER_SCANNING_IN_JAM NO
setenv DSTROOT /tmp/stablexui.dst
setenv DT_TOOLCHAIN_DIR /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
setenv DWARF_DSYM_FILE_NAME .dSYM
setenv DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT NO
setenv DWARF_DSYM_FOLDER_PATH /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/Release-iphoneos
setenv ENABLE_HEADER_DEPENDENCIES YES
setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".DS_Store .svn .git .hg CVS"
setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch *.xcode* (*) .DS_Store CVS .svn .git .hg"
setenv FILE_LIST "/Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos/Build Haxe.build/Objects/LinkFileList"
setenv FRAMEWORK_VERSION A
setenv GCC3_VERSION 3.3
setenv GCC_C_LANGUAGE_STANDARD gnu99
setenv GCC_WARN_ABOUT_RETURN_TYPE YES
setenv GCC_WARN_UNINITIALIZED_AUTOS YES
setenv GCC_WARN_UNUSED_VARIABLE YES
setenv GENERATE_MASTER_OBJECT_FILE NO
setenv GENERATE_PKGINFO_FILE NO
setenv GID 20
setenv GROUP staff
setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
setenv INFOPLIST_OUTPUT_FORMAT binary
setenv INFOPLIST_PREPROCESS NO
setenv INSTALL_DIR /tmp/stablexui.dst
setenv INSTALL_GROUP staff
setenv INSTALL_MODE_FLAG u+w,go-w,a+rX
setenv INSTALL_OWNER Brad
setenv INSTALL_ROOT /tmp/stablexui.dst
setenv IPHONEOS_DEPLOYMENT_TARGET 5
setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
setenv JAVA_ARCHIVE_CLASSES YES
setenv JAVA_ARCHIVE_TYPE JAR
setenv JAVA_COMPILER /usr/bin/javac
setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
setenv JAVA_JAR_FLAGS cv
setenv JAVA_SOURCE_SUBDIR .
setenv JAVA_USE_DEPENDENCIES YES
setenv JAVA_ZIP_FLAGS -urg
setenv KEEP_PRIVATE_EXTERNS NO
setenv LD_GENERATE_MAP_FILE NO
setenv LD_MAP_FILE_PATH "/Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos/Build Haxe.build/-LinkMap--.txt"
setenv LD_NO_PIE NO
setenv LEGACY_DEVELOPER_DIR /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
setenv LINKER_DISPLAYS_MANGLED_NAMES NO
setenv LINK_WITH_STANDARD_LIBRARIES YES
setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
setenv LOCAL_APPS_DIR /Applications
setenv LOCAL_DEVELOPER_DIR /Library/Developer
setenv LOCAL_LIBRARY_DIR /Library
setenv MAC_OS_X_PRODUCT_BUILD_VERSION 11G63
setenv MAC_OS_X_VERSION_ACTUAL 1075
setenv MAC_OS_X_VERSION_MAJOR 1070
setenv MAC_OS_X_VERSION_MINOR 0705
setenv OBJECT_FILE_DIR "/Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos/Build Haxe.build/Objects"
setenv OBJROOT /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build
setenv ONLY_ACTIVE_ARCH NO
setenv OPTIMIZATION_LEVEL 0
setenv OS MACOS
setenv OTHER_CFLAGS -DNS_BLOCK_ASSERTIONS=1
setenv OTHER_CPLUSPLUSFLAGS -DNS_BLOCK_ASSERTIONS=1
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/Brad/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/Brad/bin:/opt/local/bin:/opt/local/sbin:/opt/android-sdk/tools/:/opt/android-sdk/build-tools/android-4.2.2/:/opt/android-sdk/tools/:/opt/android-sdk/build-tools/android-4.2.2/"
setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
setenv PLATFORM_NAME iphoneos
setenv PLIST_FILE_OUTPUT_FORMAT binary
setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES
setenv PRECOMP_DESTINATION_DIR "/Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos/Build Haxe.build/PrefixHeaders"
setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO
setenv PRODUCT_NAME
setenv PROFILING_CODE NO
setenv PROJECT stablexui
setenv PROJECT_DERIVED_FILE_DIR /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/DerivedSources
setenv PROJECT_DIR /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios
setenv PROJECT_FILE_PATH /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/stablexui.xcodeproj
setenv PROJECT_NAME stablexui
setenv PROJECT_TEMP_DIR /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build
setenv REMOVE_CVS_FROM_RESOURCES YES
setenv REMOVE_GIT_FROM_RESOURCES YES
setenv REMOVE_HG_FROM_RESOURCES YES
setenv REMOVE_SVN_FROM_RESOURCES YES
setenv RUN_CLANG_STATIC_ANALYZER NO
setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO
setenv SDKROOT /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk
setenv SEPARATE_STRIP NO
setenv SEPARATE_SYMBOL_EDIT NO
setenv SHARED_DERIVED_FILE_DIR /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/Release-iphoneos/DerivedSources
setenv SHARED_PRECOMPS_DIR /var/folders/1v/96h5lm5n4sg1q5tdp0kl1jnc0000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders
setenv SKIP_INSTALL YES
setenv SOURCE_ROOT /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios
setenv SRCROOT /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios
setenv STRINGS_FILE_OUTPUT_ENCODING binary
setenv STRIP_INSTALLED_PRODUCT YES
setenv STRIP_STYLE all
setenv SUPPORTED_PLATFORMS "iphonesimulator iphoneos"
setenv SYMROOT /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build
setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
setenv SYSTEM_APPS_DIR /Applications
setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
setenv SYSTEM_DEMOS_DIR /Applications/Extras
setenv SYSTEM_DEVELOPER_APPS_DIR /Applications/Xcode.app/Contents/Developer/Applications
setenv SYSTEM_DEVELOPER_BIN_DIR /Applications/Xcode.app/Contents/Developer/usr/bin
setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
setenv SYSTEM_DEVELOPER_DIR /Applications/Xcode.app/Contents/Developer
setenv SYSTEM_DEVELOPER_DOC_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
setenv SYSTEM_DEVELOPER_TOOLS /Applications/Xcode.app/Contents/Developer/Tools
setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
setenv SYSTEM_DEVELOPER_USR_DIR /Applications/Xcode.app/Contents/Developer/usr
setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Applications/Xcode.app/Contents/Developer/Applications/Utilities
setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
setenv SYSTEM_LIBRARY_DIR /System/Library
setenv TARGETED_DEVICE_FAMILY 1,2
setenv TARGETNAME "Build Haxe"
setenv TARGET_BUILD_DIR /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/Release-iphoneos
setenv TARGET_NAME "Build Haxe"
setenv TARGET_TEMP_DIR "/Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos/Build Haxe.build"
setenv TEMP_DIR "/Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos/Build Haxe.build"
setenv TEMP_FILES_DIR
setenv TEMP_FILE_DIR "/Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build/stablexui.build/Release-iphoneos/Build Haxe.build"
setenv TEMP_ROOT /Users/Brad/haxedemos/StablexUI/samples/demo/build/ios/build
setenv TEST_AFTER_BUILD NO
setenv UID 501
setenv USER Brad
setenv USER_APPS_DIR /Users/Brad/Applications
setenv USER_LIBRARY_DIR /Users/Brad/Library
setenv VALIDATE_PRODUCT YES
setenv VALID_ARCHS "armv7 i386"
setenv XCODE_APP_SUPPORT_DIR /Applications/Xcode.app/Contents/Developer/Library/Xcode
setenv XCODE_PRODUCT_BUILD_VERSION 4E2002
setenv XCODE_VERSION_ACTUAL 0432
setenv XCODE_VERSION_MAJOR 0400
setenv XCODE_VERSION_MINOR 0430
setenv ZERO_LINK NO
make
Haxe armv7 build CONFIG : Release-iphoneos
haxe Build.hxml -D HXCPP_ARMV7 -cpp build/Release-iphoneos -D HXCPP_CLANG -D OBJC_ARC
ApplicationMain.hx:244: characters 0-47 : Class not found : com.example.Main
make: *** [build-haxe-armv7] Error 1
** BUILD FAILED **
I haven't been able to see what's failing with this yet.... I can build the OpenFL PiratePig sample fine, so targetting ios on my system works, at least. When I try and build the "demo" sample, I still get failures, after reinstalling haxe/openfl and upgrading XCode as well. I've seen threads that suggest this is either a) a macro problem or b) a case sensitivity problem.... I'm going to try a few more things probably later on tonight, and I'll let you know what I find out....
I'm sure "cant find xml" in samples is a macro problem, because i test them in linux, where file system is case sensitive. As for your "com.example.Main" issue, i never heard anyone has similar one. I think it's time to buy a mac :)
Building for iOS with absolute filenames seems to work, but I was not able to test in a real device. What puzzles me is that this got fixed for OSX but not for iOS. I think the iOS compiler is running in a different folder then the rest of the targets and that is why it´s not finding the XML files in the same path. What complicates this is that at compile-time (macros), not all the filesystem API is available, so it´s not so easy to find an absolute path.
The magic is this is not the iOS compiler but the same Haxe compiler which runs for every target :) All macros are processed by haxe compiller.
By the way, you can run OSX in a virtual machine with little tweaks if you want to test this, no need to buy a Mac :)
I had no luck with vm last time i tried. I'll try again.
i installed the Neko 64 bit for mac (now that openfl supports it) and it made zero differences... i did notice that with it works with the openfl sample projects, but not with the ModeDemo from HaxeFlixel or these demos.... I posted my "Class not found" error to the openfl forums here, for what it's worth, and will let you know if I get any follow up.
http://www.openfl.org/developers/forums/bugs/class-not-found-error-build-ios/#12351
This bug https://github.com/openfl/openfl/issues/57 is what is causing these problems with iOS
Just encountered the problem as well.
Hey RealyUniqueName I can let remote my mac using http://www.join.me ( free and nothing to install on your end uses flash, though you can download a desktop client if you want ) and I can let you examine the xcode project. Let me know when you are free ( you can email me at 5c68c88e(AT)opayq.com [mask me email] and let me know when you have free time )
I've never worked on mac, so perhaps i will need a lot of time to comprehend what's going on :) Perhaps several times.
This is still a problem, and changing the path as suggested elsewhere (adding "../" or multiple of that) hasn't given me joy.
By the way, I've found I have to put full strings in (for the init() call for example). Is there a way to use some sort of string concatenate, so I don't have to #if ios for each relevant string, and could instead add a corrected prefix, or something? eg. _UI_PATH + "ui/myfile.xml"
I've talked briefly with the openFL people, and they recommend putting in a call to Context.resolvePath, in order to ensure the same path is used regardless of build target and environment.
I've just tried this, and I believe that it works.
What I did is look for the three locations in UIBuilder.hx where File.getContent is used. In each, I surrounded the passed filename with Context.resolvePath(). That appears to compile fine on my Windows machine, as well as on my mac (for the ios target).
It may be a factor that I've moved my ui xml files into src/ui/... but I believe that if they are found with that path, they should be found with other paths as well.
I don't know if there are other parts of the code which could use this update, and I imagine some testing would be in order. :)
I'm using the latest in git and I'm still experiencing this issue with ios not resolving the paths. Any new updates on this?
skylerparr, do you have a small sample which shows your failure, that I could try?
As noted above, in my case my ui files are all in src/ui/ if yours are located outside of the src tree that could be a problem, I suppose.
Sorry. I forgot update this.
The issue is with the meta:include paths. I submitted a pull request: https://github.com/RealyUniqueName/StablexUI/pull/116
Excellent. Sorry I missed the other file!
Firstly, thanks for this fantastic UI lib, it's really helpful.
I try to run the demo app under samples folder (works perfect under windows environment) in my mac environment 10.8.3+4.6.1, for html5 target, seems OK even not perfectly in windows platform. but I will get errors when I try to generate mac/ios target.
my environment should be correct even this is my first time to develop under Mac OS, since I could get the nme official demo(PiratePig) works.
If I directly compile the original nmml, I will get the errors, com.example.Main can't been found, and after that, add source path to nmml, another error "defaults.xml can't been found" will be shown.
So, How can I get it works? seems StablexUI seems support iOS target. thanks!