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_VERSION
to appropriate NDK bundle. Where$NDK_VERSION
is the NDK version from fileNDK_VERSION
you 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.ndkVersion
matches NDK version from file you viewed on step 2. Update propertyandroid.ndkVersion
if needed. -
Make sure that the absolute paths to NDK headers in sources matching NDK version inside file
NDK_VERSION
. -
Copy file
example.swiftToolchain.rc
toswiftToolchain.rc
. Update fileswiftToolchain.rc
with 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.xcodeproj
in Xcode and run it on Device or iOS Simulator. -
Open folder
Android
in Android Studio and run it on Device or Android Simulator.