Forum > Other OS


(1/2) > >>

I wish to develop an application for ios using lazarus is this feasible.

Pas4ios   appears to be dead as there is no web site and no wiki.

What's the best way to go ?

IOS is fully supported in both 64bit and 32bit flavors in FPC trunk. 32bit is supported in 3.0.1.
So I suggest you download trunk and build cross-compilers for AARCH64-IOS and ARM-IOS on your favorite platform. (I myself have no experience building for AARCH64). It may even be possible you can run Lazarus on the device itself. Ofcourse you also need the Apple toolchain and also a developers license from Apple.


Thanks for the info.

I was going to write an app to control my raspberry pi natively from IOS over bluetooth.  This isn't possible as IOS doesn't support the blue tooth serial port profile on a standard phone.



Hi -

I'm new to FreePascal and would like to use it for iOS and Android development.

I've successfully created the necessary cross-compiler flavours of FPC by following the instructions from but have run into a problem.

I'm trying to use iOS 8.4. I'm at step 7.1:

Meteor:iPhoneAll simon$ sudo /usr/local/lib/fpc/3.1.1/ppcrossarm -Cparmv7 -Cfvfpv3 -dIPHONEALL -FD/Applications/ iPhoneAll.pas
Free Pascal Compiler version 3.1.1 [2015/09/03] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Darwin for ARM
Compiling iPhoneAll.pas
Compiling CFNetwork.pas
Compiling CoreFoundation.pas,3) Fatal: Syntax error, "identifier" expected but "CONST" found
Fatal: Compilation aborted

Line 260 in reads:

const struct CF_BRIDGED_TYPE = function (CFNullGetTypeID(void: NSNull) __CFNull* CFNullRef;CF_EXPORTCFTypeID): ; cdecl;

Any ideas what the issue may be?

many thanks



[0] Message Index

[#] Next page

Go to full version