One of the biggest hurdles in using Swift compiler for Android is the lack of official support from Apple, which means no continuous integrations or no official builds.
![make andriod ios rom make andriod ios rom](https://www.naldotech.com/wp-content/uploads/2015/02/miui-v5-titan-moto-g-696x392.jpg)
#Make andriod ios rom apk#
And one of the most significant limitations is the generation 32MB+ APK files, because build should include SwiftCode, SwiftFoundation, and libDispatch.Minimum version of Android supported is v5.0 (Lollipop).At the moment, the Swift compiler only supports the ARM-v7A Android platform.What are the limitations of the Swift Android Compiler? Obviously UIKit or any high level frameworks are not available, so your Swift app for iOS cannot magically run on Android - you can use Swift for business logic code, but you will have to re-write all user interface and OS dependent parts specifically for Android. That’s why SwiftFoundation is still missing some features, but it covers all basic needs such as performing network requests, parsing JSON/XML, storing data on disk, etc. But SwiftFoundation on the other hand is not the same Foundation that Apple uses for its own platforms it’s a re-implementation of all classes from the original library. SwiftCore and Dispatch are largely identical to iOS and Mac versions.
![make andriod ios rom make andriod ios rom](https://www.devteam.space/wp-content/uploads/2018/09/Convert-an-Android-App-to-iOS.jpg)
We only have access to SwiftCore, Dispatch, and SwiftFoundation in our toolchain. Moreover, it’s actually better for developers, because they can re-use most of the instruments that were created for C/C++ development - Android profiling tools or an Android low-level debugger (with a limitation on an evaluation of swift code). That’s why, from an Android device perspective, there is no difference in libraries compiled from C/C++ or Swift code. Google already makes use of LLVM compilers for native Android development with C/C++.