This Open source project won't be updated until Kremlin will stop war in Ukraine and repair damages made in towns: Irpin, Bucha, Gostomel. If this won't happen during next 6 months (until 1 September 2022), then this project will be removed from public space.
See also:
- Russian invaders bomb high-rise building in Irpin west of Kyiv
- In the morning, the invaders launched two air strikes on Irpin, a residential building was destroyed
- macOS 11.x
- Xcode 12.x
- Android Studio 2020.3.x
-
Make sure that you have Swift Android Toolchain. You can either build it or download pre-build version.
-
Reveal the NDK version inside file
NDK_VERSION, which located at the root of the Swift Toolchain you downloaded or built on step 1. -
Make sure that you have a symlink at
/usr/local/ndk/$NDK_VERSIONto appropriate NDK bundle. Where$NDK_VERSIONis the NDK version from fileNDK_VERSIONyou viewed on step 2.sudo mkdir -p /usr/local/ndk sudo ln -vsi ~/Library/Android/sdk/ndk/21.X.YYYZZZ /usr/local/ndk/21.X.YYYZZZ -
Make sure that NDK version defined in Gradle build configuration file (See:
Android/app/build.gradle) in propertyandroid.ndkVersionmatches NDK version from file you viewed on step 2. Update propertyandroid.ndkVersionif needed. -
Make sure that the absolute paths to NDK headers in sources matching NDK version inside file
NDK_VERSION. -
Copy file
example.swiftToolchain.rctoswiftToolchain.rc. Update fileswiftToolchain.rcwith proper paths:SaSwiftToolchainDirPath- Path to Swift Toolchain you downloaded or built on step 1.
-
Install "Protocol buffers" for Java and Swift sources generation
brew install protobuf swift-protobuf -
(Optional) Generate models:
Scripts/GenerateModels.sh -
Open
iOS/HelloJNI.xcodeprojin Xcode and run it on Device or iOS Simulator. -
Open folder
Androidin Android Studio and run it on Device or Android Simulator.
