Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AppmethodC++BuilderDelphiFiremonkeyIOSOSXUtility

Build Universal IOS32 IOS64 IOS Simulator Static Libraries For Use With Delphi XE8 Firemonkey On IOS

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE8 Firemonkey Universal Static Libraries For IOS | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSDelphi XE8 Firemonkey ships with support for IOS Universal Binaries (IOS32+IOS64) and your third party static libraries also need to support both architectures. Juggling different static libraries for those different CPU architectures in IOS32, IOS64, and IOS Simulator (armv7 armv7s, arm64, i386, x86_64) can be complex. Luckily there is a way to combine all of the static libraries together into a single file using a command line tool on Mac OSX called ‘lipo’. I ran across this method while we were converting libSOX over to IOS32+IOS64. I found the solution to this over on Developer Diogo Tridapalli’s blog post. Basically you compile each of your static libraries for the target CPU architecture into separate static .a library files. Once complete you then use a command line like the following to combine them into a single file:
lipo -create './build-arm/libStaticLibDemo.a' './build-arm64/libStaticLibDemo.a' './build-i386/libStaticLibDemo.a' './build-x86_64/libStaticLibDemo.a' -output 'libStaticLibDemo.a'
For libSOX I had an oDesk developer create a SH script for OSX to handle all of the compiling and ‘lipo’ command line for creating the universal static library. You should be able to use these types of universal static libraries in Delphi XE8 Firemonkey, C++Builder, and Appmethod (and probably XE5, XE6, and XE7) on IOS.

Download the sample SH script for creating a IOS Universal static library for Delphi XE8 Firemonkey.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

Leave a Reply