GithubHelp home page GithubHelp logo

00mjk / multi-os-engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from multi-os-engine/multi-os-engine

0.0 0.0 0.0 29 KB

Multi-OS Engine: Create iOS Apps in Java (or Kotlin ... etc.)

Home Page: https://multi-os-engine.org

License: Apache License 2.0

multi-os-engine's Introduction

Multi-OS Engine

Overview

Multi-OS Engine provides a Java runtime and Java interfaces to iOS platform API to develop native iOS applications with native look and feel, native performance, and portability of common Java logic modules from your Android Apps. It comes fully integrated with Android Studio hosted on macOS or Windows and contains all the development tools needed to develop an iOS app and publish to the App Store.

Getting Started

Building from Source Code

Requirements

  • Apple macOS 10.14+
  • Minimum 8GB RAM

Install the 'repo' Tool

mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo

You may also install the repo using brew:

brew install repo

Get the Source Code

Mainline branch:

repo init -u https://github.com/multi-os-engine/manifest.git -b moe-master
repo sync

Note: if you want to get the source code from development branch with initial support of Windows and bitcode, switch to "moe-windows-bitcode" branch:

repo init -u https://github.com/multi-os-engine/manifest.git -b moe-windows-bitcode
repo sync

Installing Homebrew & Dependencies

Install brew from brew.sh, then you can install MOE's dependencies:

brew tap homebrew/versions
brew install autogen autoconf automake libtool pkg-config wget isl cloog cmake gpg ant maven mpfr libmpc 

cd <repo>/moe/moe-core
brew install file://`pwd`/dependencies/premake5.rb

Building MinGW & LLVM

Note: On MacOS Mojave the header files are not installed automatically. To install them, execute the following commands:

sudo rm -rf /Library/Developer/CommandLineTools # We remove the previously installed command line tools to make sure we have the latest one
xcode-select --install   # Install the latest one
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg # Install the headers
sudo xcode-select --reset # To make sure that the default toolchain path points to Xcode (required by xcodebuild)

Building the complete SDK and related tools requires LLVM and MinGW. To build these execute the following:

cd <repo>/prebuilts
./gradlew mingw llvm

This step only needs to be done once (or until MinGW or LLVM components/requirements are changed).

Building Multi-OS Engine Core

The moe/moe-core repo contains the runtime (and some compile time) components of MOE. To build the frameworks and build tools, execute the following:

cd <repo>/moe/moe-core
./gradlew build

Building Multi-OS Engine Tools

The moe/tools repositories contain the tools required to build and run MOE applications.

SDK Publisher: creating a developer SDK:

cd <repo>/moe/tools/master
./gradlew :moe-sdk:devsdk

Gradle Plugin: building and publishing the Gradle plugin to Maven local:

cd <repo>/moe/tools/master
./gradlew :moe-gradle:publishToMavenLocal

Maven Plugin: building and publishing the Maven plugin to Maven local:

cd <repo>/moe/tools/moe.plugin.maven
mvn clean install

IDEA Plugin: building the IDEA plugin:

cd <repo>/moe/tools/master
./gradlew :moe.plugin.idea:build

Eclipse Plugin: building the Eclipse plugin:

cd <repo>/moe/tools/moe.plugin.eclipse
mvn clean install -DBUILD_NUMBER=1

multi-os-engine's People

Contributors

asuhov avatar berstanio avatar kisg avatar liliomk avatar noisyfox avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.