Compilation of iOS frameworks from Linux operating system using open- source tools


This paper analyzes possibility of using open-source tools to compile iOS frameworks in Linux operating system. The purpose of this analysis was to determine how compilation in Linux could be performed and identify possible limita- tions when using LLVM compiler. The analysis has been performed on own frameworks written using Objective-C and Swift languages containing graphic and text files in different formats and sizes. Results of the analysis show that compi- lation of iOS frameworks under Linux operating system is possible unless the compiler frameworks use interface com- ponents written in xib format for which there are no compilation tools available on Linux operating system.


iOS frameworks; LLVM compiler; cross-compilation; open-source tools

What are Frameworks?,, [03.2021].

S. Grimshaw, Mastering MacOS Programming, Packt Publishin, 2017.

B. Alexander, J. B. Dillon, K. Y. Kim, R. Górczyński, Tworzenie aplikacji na platformę iOS 5: z wykorzystaniem Xcode, Interface Builder, Instruments, GDB oraz innych kluczowych narzędzi, Wydawnictwo Helion, 2012.

R. Pouclet, Pro iOS Continuous Integration, Apress 2014.

Godot Engine – Free and open source 2D and 3D game engine,, [03.2021].

Cross-compiling for iOS on Linux – Godot Engine latest documentation,

linux.html, [03.2021].

Apple cctools port for Linux and *BSD,, [03.2021].

Automated embedding of dynamic libraries into iOS applications from GNU/Linux,

-Automated-embedding-of-dynamic-libraries-into-ios-applications-from-gnu-linux.html, [03.2021].

S. G. Kochan, Ł. Piwkom, Objective-C: praktyczny podręcznik tworzenia aplikacji na systemy iOS i Mac OS X!, Helion, 2012.

P. Pasternak, Swift od podstaw: praktyczny przewodnik, Helion, 2017.

A. Pipinellis, GitHub Essentials, Packt Publishing, 2015.

C. G. Garcia, J. P. Espada, B. C. Pelayo G-Bustelo, J. M. Cueva Lovelle, Swift vs. Objective-C: A New Programming Language, International Journal of Interactive Multimedia and Artificial Intelligence 3(3) (2015) 74-81,

Asset Catalog Format Reference,

index.html, [03.2021].

Xcode Overview: Using Interface Builder,, [03.2021].

Foundation – Apple Developer Documentation,, [03.2021].

Dispatch – Apple Developer Documentation,, [03.2021].

UIKit – Apple Developer Documentation,, [03.2021].

Promises is a modern framework that provides a synchronization construct for Swift and Objective-C,, [03.2021].

Man page dla polecenia dyld,, [03.2021].

N. Godfrey, Agile Swift: Swift Programming Using Agile Tools and Techniques, Apress, 2016.


Published : 2021-06-30

Rutkowski, Łukasz, & Kopniak, P. (2021). Compilation of iOS frameworks from Linux operating system using open- source tools. Journal of Computer Sciences Institute, 19, 132-138.

Łukasz Rutkowski
Piotr Kopniak