Build an iPhone app created with React Native - iphone

Is a Mac mandatory to build an iPhone app written in React Native?
If no, what are alternative ways? (like a container?!)
If yes, is there a backward compatibility matrix how old can a Mac be to support building of apps targeted to more recent iPhone devices?

Due to the fact that Apple currently uses the x86-64 hardware platform, it's quite an easy exercise to install MacOS with VMWare and thus also use XCode to compile iOS apps.

Related

Titanium and PhoneGap

I'm new to Titanium and PhoneGap and analyzing a bit the two is not possible to develop iPhone with a PC with windows using either of the two right? Well I mean in PhoneGap in the most current versions is only possible to develop without publication.
I wonder if this is actually correct and whether there is a way to make an application to one of these two technologies (Titanium and PhoneGap) Fragment as a view of the native Android devices for both Android and iPhone / iPad. Improving question, make an application to view the devices can be adapted for smartphones and tablets for better use of the screen?
If yes there is some example code and/or source of research?
PhoneGap has an offering called PhoneGap build which just came out of beta. It lets you build your apps in the cloud without a Mac.
You might still need a Mac for certificate (p12 bundle) generation or you can use a service like Mobundler.
For Titanium, a recent service called Foundry22 lets you build your apps without a Mac or any native SDKs installed locally. You just need Titanium Studio and a hosted Git repo.

Eclipse: one PhoneGap project for iPhone and Android?

I'm trying out PhoneGap, so I followed the instructions to create an Android Project in Eclipse.
But now I'm wondering how I can use this same code for building an iPhone app.
Is there something like a hybrid project in Eclipse!?
UPDATE:
I realize now that it's not possible to use PhoneGap on Windows to develop iPhone apps? That's too bad... is there any way to use PhoneGap on Windows to compile for iOS ??
In theory PhoneGap build should allow iPhone development on Windows.
However Nitobi was bought out by Adobe (PhoneGap:Build service may have changed), and you may still need iOS to upload your app (might be able to get around with a jailbroken iOS?!).
A dodgy solution could be to install OSX in a vbox virtual machine :)
No, there is no way to develop iPhone app on Windows using PhoneGap or Titanium.
Because they need iPhone SDK and Android SDK on back-end, which is not possible on windows environment. However you can make both apps on iOS simulations.

iPhone Application Development on Windows

As I've seen many questions related to this topic but this is a completely different question. I wanted to ask if there is any header file or anything else which will help me to program iPhone Application on Windows using Visual C++ 2008 and then test it on my phone (and not really make it open to the real market) ?
Unfortunately there isn't any way to develop native iphone applications on Windows. OS X is required to develop iOS applications.
There are third party tools, such as Corona, and Monotouch, which will allow you to write you application in languages other than objective-C, but in order to test in the simulator or on a physical device, you again need OS X, and the iOS SDK, which require Apple hardware (you can attempt to use a hacked PC to run OS X, but it's not without it's own issues).
With Airplay SDK, it is possible to use Visual Studio and C++ for iPhone development. It allows deployment to device on Windows. However to create properly signed apps for AppStore submission, OS X is required.
Since Airplay SDK is a multi-platform development environment focusing on games, it is not intended for applications using iPhone API's directly. So when using it, developer is actually writing Airplay application that just happens to work on iPhone too. For something like games using OpenGL ES written in C++ this is not a problem. But "productivity" applications using native iPhone UI components are out of question with Airplay SDK.

Alternatives For iOS Development Under Windows [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How can I develop for iPhone using a Windows development machine?
iPhone development on Windows
I just got my new iPad and now I have two iOS devices, an iPod and an iPad. So I realized that iOS is a great OS to develop some stuff, but the problem is that I'm under Windows and I don't have any plans to buy a Mac. Anyway what I want isn't the port of the SDK for Windows, so I can develop in Objective-C. But what I want is to know all(maybe) the alternatives that I have to develop for the iPad(that I'm a lot more interested right now) and the other iOS devices.
PS: I'm interested at Application development, not game development
You might find following solutions handy. I have tried to comment those I am more familiar with:
PhoneGap
Sencha Touch - Nice JS framework. Check out their demos.
Rhomobile
Appcelerator Titanium
jQuery Mobile - Version of jQuery optimized for mobile devices.
jQTouch - jQuery plugin for mobile development
CrossMobs - Sdk for iOS and android development (no mac needed).
Nomad - Visual Studio extension for cloud PhoneGap builds (no mac needed).
Delphi XE4 - Delphi XE 4 (no mac needed, you can use macincloud)
Hopefully you'll find an alternative fitting your purposes. It really depends on what you already know. For instance if you are already familiar with Ext JS using Sencha Touch seems like a no-brainer to me.
To get an app to App Store it looks like the only solution (at least AFAIK) is to use PhoneGap for packaging your JS app. You will need XCode (mac) for this. Perhaps it's possible to use a virtualized version of OS X for this as well though I cannot guarantee this will work.
You said you want all the alternatives, so let me add:
I understand you don't have any plan to buy a mac, but change your mind. Buy a cheapest mac.
Come on, you invested already on an iPad and an iPod. Buying a Mac mini shouldn't be so mentally difficult for you.
edit:
#Nathan: why do you hate OS X while you love iOS? As hotpaw2 says, they are basically the same. I believe the kernels are compiled from the same source. Both have a set of basic pseudo-object-oriented C functions for strings and array manipulation, called Core Foundation. The GUI part is done by libraries called AppKit / UIKit, which are basically the same.
In fact, OS X, even in Snow Leopard, has a few remnant of OS 9, while iOS is almost purely derived from NeXTStep.
On OS X Gestalt is alive and well (even after deprecation of most of Carbon), but there's no such thing in iOS! So, if you love OS 9, you should like OS X more than iOS.
I know love and hate are not logical, but you're not at all logical here :)
Another way: u can get an emulator of MAC for PC, and develop on it.
I'm searching as well. I heard the PearPC is very good emulator.
If you want to develop iOS apps for the latest iOS libraries, and not fight with foreign tools and unsupported app installation processes, get a cheap Mac. The OS is nearly the same between Mac OS X and iOS, which is why the development tools work best on a Mac.

Building iPhone app on linux

Hi all is there way to build iPhone app on linux without using xcode.I want to make use of ant.
No, there is no way to build iPhone apps on anything other than Intel Mac's. Even third party app development kits like appcelerator require the iPhone SDK to be installed in the background
Another solution, but again is not possible to compile without a Mac, is Haxe: http://gamehaxe.com/2009/05/22/haxe-on-iphone-simulator/
You need to have a MAC to install iPhone SDK, even with tools such as MonoTouch (which lets you develop in C# instead of Objective C) you still need MAC for the SDK.
Right now the only way is using MonoTouch but is using C# and is not free software.
You can develop and write for the iPhone on linux, but there is no way to compile it to an iPhone app and/or check if your code is working properly.
You'll need a mac for that or MonoTouch as said above.
If you want to create games, you can use Unity 3D but that also is not free software.