一个展示/收集移动端跨平台技术的示例项目
Cross platform has been well studied on desktop, but this is an exploration in doing that on mobile and an open request for comments and improvements.
"mobile times 3", Android, iOS, and Windows Phone. (todo, windows phone support)
There are many ways to contribute to mx3:
There are a few things laid out in TODO, if you want to contribute but don't know how. If you are building a large feature, please file an issue first to ensure that it aligns with the goals of mx3 - if it does, please submit a Pull Request during development to solicit feedback and enable incremental code review throughout the process.
python (required for gyp)xcodebuildndk-build on your PATH to build for androidexample_android/local.properties.example.git submodule update --init to download all dependenciesgem install xcpretty to make the output of xcodebuild nicemake play. You should see "Hello, #{your login name}" printed to the console, if so, you seem to already have
all the requirements met for building on iOS.make android to build the example android application.Run make play ios or make play mac
Be sure to create a example_android/local.properties file pointing to the android-ndk and android-sdk.
Running any of the make commands will automatically download gyp and create
.xcodeproj files for each platform.
Build files are generated in build_ios/mx3.xcodeproj, build_mac/mx3.xcodeproj, and GypAndroid.mk but be careful,
running make commands again will overwrite any changes you make to these files. If you need to change something,
you should be able to do so from common.gypi or mx3.gyp and recompile your buildfiles.
Make targets:
clean - clean all generated filesmake test - run the c++ testsios, mac - builds a static library for each platformandroid - build the example app APKmake play - to write some quick "playground" style code in objc (see objc/play.m)…
暂无开放 Issues,或尚未同步最近议题。