Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating an iPhone app without Xcode

Is it possible? If so, I would like to try this if only to learn more. Xcode seems to do so much automatically I would like to know what it really takes to make an iPhone app without all the setup being done for me in advance.

I realize this may be asking a lot, so if you feel like painting with broad stokes go ahead. I would like to just get an initial grasp of what would be needed to do this.

Ideally I would want to keep the option of running the app in the simulator or on my phone. (How else would I be able to test and debug?).

Thanks!


EDIT 1

From some of the responses we've got I see my intention needs to be clarified. The idea is to learn more about what Xcode provides in the process of developing iPhone apps. I don't want to necessarily circumvent Xcode, I just want to know what it actually does.

Maybe a list of some sort could be a place to start. Something like: to avoid using Xcode you would need to figure out how to create targets, code sign, etc.

I hope this helps.

like image 867
Eric Brotto Avatar asked Jan 03 '12 13:01

Eric Brotto


People also ask

Can I build iOS app without Xcode?

Non-native platforms, like Flutter or React Native, won't make iOS builds without Mac either. Storyboards can be edited only in Xcode, so development without Xcode means development without Storyboards. Alternative IDEs for iOS development require Xcode. You don't need to run it, but you should have it installed.

Can I develop iOS app without a Mac?

You cannot develop iOS apps without a Mac computer, but you can set up CI/CD to handle building and publishing!

Can you make iPhone apps without Swift?

There are alternatives to native iOS apps without Swift or Obj-c, such as HTML5, Xamarin (C#), PhoneGap, Cordova, etc.

Can I make an app just for my iPhone?

Yes, you can run your own apps on your phone. You need a paid iPhone developer account though.


1 Answers

All wrong...Xcode simply builds a binary plist of the nibs and allows you to call them as objects...you can do the same thing using GCC alone...

  1. Create a main.m, RootControlViewer.h, RootControlViewer.m, and AppNameApplication.h
  2. delegate...
  3. Create a makefile...
  4. include the necessary compiler flags, destinations to the frameworks and needed include files...
  5. And from the shell enter "make" and you have application.app generated...

  6. Place them in a payload folder...

  7. zip and rename zip to IPA...
  8. then use the sign command to sign the package...

I've been working on an XCODE clone for windows, Mac, and Linux... :-) all controls are generated in pure code (no nibs) and I've already completed the interface builder and can create working installable apps...am currently writing an "interpreter" to be used so that the syntax will be more "BASIC" like and when you press build..all code is converted to obj-c...built using gcc...and ready for deployment :-)

like image 139
Matthew Combatti Avatar answered Oct 04 '22 01:10

Matthew Combatti