Creating the iOS native project from Codename app

14 views
Skip to first unread message

Angelo Maci

unread,
Jul 3, 2020, 8:12:30 AM7/3/20
to CodenameOne Discussions
Hello, I am porting an Android app to iOS with Codename One, in fact I am just experimenting, I do not know if it suits my needs.
One idea is to create the complete app with Codename One and then download the native iOS sources.
I mean, if Xcode sources are intellegible, I could continue from there, with a limited access to paid Codename Services just to have the application.
I would like to know if this makes sense. And what intellegibility have the iOS sources generated by Codename, I could download with paid access. 
How much would it be different from a standard Xcode app? What language is generated? And so on.
Thanks in advance

Dave Dyer

unread,
Jul 3, 2020, 1:24:15 PM7/3/20
to CodenameOne Discussions
IOS sources are buildable but not very intellegable.  The only reasonable path forward is
to port your app to the codename1 simulator, and build both android and ios from there.


Shai Almog

unread,
Jul 4, 2020, 12:55:01 AM7/4/20
to CodenameOne Discussions
The sources aren't designed for maintainability. They can be used for on-device-debugging but they aren't something you want to maintain.

The generated code is mostly in C with Objecive-C used for the API implmentation. There's a brief glimpse of this in the include source feature.

Here are a couple of other options:

Notice that our subscription can be activated/canceled freely you can purchase and cancel as you need

If you have a Mac you can use one of these approaches:

- You can also purchase an enterprise license as a one time thing. Download the offline builder and cancel the enterprise subscription. Your offline builder will keep working forever and acts as a shrinkwrap too
- You can try building from the open source project using our VM. All of this is open in our github project
Reply all
Reply to author
Forward
0 new messages