Forum > iPhone/iPad

I'm interested in lazarus for IPhone

(1/1)

Michael Collier:
I'm interested in lazarus for IPhone, but this forum seems very quiet.

I've tried Lazarus for Android recently and wondered if there was anything similar for IPhone?

From what I can understand,

1) lazarus doesn't do the visual stuff, like being able to design forms and add buttons etc? Is that correct?

2) Lazarus is able to compile the non-visual side of things into .so file library, which can be used from my Mac XCode development tools? Is that correct?

3) I have just installed fpcupdelux onto an amd64 ubuntu machine, is it possible to use that to configure a lazarus environment to cross compile for IPhone, to have a play.

4) A bit more risky for me, I have my Apple Mac that I have XCode13 installed on, I'm guessing I can install lazarus on that too, but I'm guessing I risk breaking my XCode development by trying that, or am I just being paranoid.?

5) I notice there is also a forum for MacOS - is there much overlap between MacOS and iOS in terms of compiling a .so file? Would I be better of using that forum instead of this one?

Thanks,
Mike

Jonas Maebe:

--- Quote from: Michael Collier on March 28, 2022, 10:21:19 pm ---I'm interested in lazarus for IPhone, but this forum seems very quiet.

I've tried Lazarus for Android recently and wondered if there was anything similar for IPhone?

--- End quote ---
Not that I'm aware of.


--- Quote ---From what I can understand,

1) lazarus doesn't do the visual stuff, like being able to design forms and add buttons etc? Is that correct?

--- End quote ---
Correct.


--- Quote ---2) Lazarus is able to compile the non-visual side of things into .so file library, which can be used from my Mac XCode development tools? Is that correct?

--- End quote ---
On macOS the extension of dynamic libraries is .dylib, but other than that it is correct.


--- Quote ---3) I have just installed fpcupdelux onto an amd64 ubuntu machine, is it possible to use that to configure a lazarus environment to cross compile for IPhone, to have a play.

--- End quote ---
Theoretically yes, but it is hard because you need all of Apple's development and codesigning tools as well.


--- Quote ---4) A bit more risky for me, I have my Apple Mac that I have XCode13 installed on, I'm guessing I can install lazarus on that too, but I'm guessing I risk breaking my XCode development by trying that, or am I just being paranoid.?

--- End quote ---
Lazarus nor FPC affects your Xcode installation in any way.


--- Quote ---5) I notice there is also a forum for MacOS - is there much overlap between MacOS and iOS in terms of compiling a .so file? Would I be better of using that forum instead of this one?

--- End quote ---
More people are indeed developing for macOS than for iOS. Creating a dynamic library for both targets is the same.

trev:

--- Quote from: Michael Collier on March 28, 2022, 10:21:19 pm ---5) I notice there is also a forum for MacOS - is there much overlap between MacOS and iOS in terms of compiling a .so file? Would I be better of using that forum instead of this one?
--- End quote ---

I have added a lot of information and code examples for macOS to the Wiki's Mac Portal over the last three years. You might be interested in the article I wrote on macOS Dynamic Libraries. As Jonas said, there's a significant overlap between macOS and iOS.

There's also the Wiki's iOS Portal but it's not had much love from anyone in a while. However, there may be some useful information there.

PascalDragon:
The following articles from the iOS portal linked by trev might be the most relevant though you might have to take them with a grain of salt and check yourself what might have changed since they were written:

* iPhone/iPod development
* iPhone Laz Extension
* iOS Designer

Navigation

[0] Message Index

Go to full version