Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I test/develop an App without having Xcode?

I'm really excited to see React Native available but I don't have an Apple device of any kind around and I am used to coding on Debian-based systems.

Is it possible to test the app locally and then once I get a Mac to do the run the build process?

Also, anyone knows when the Android version will be available?

like image 669
DraskyVanderhoff Avatar asked Mar 26 '15 19:03

DraskyVanderhoff


People also ask

Can you make iOS apps 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.

Is Xcode necessary for iOS development?

Why do you need Xcode. Xcode is the only supported way to develop apps by Apple. So if you're interested in building iOS or MacOS apps you must use it. There are third-party solutions that don't require you to use Xcode, however these are not supported by Apple and there are often issues with these solutions.

Can I test iOS app without developer account?

If you don't join the Apple Developer Program, you can still build and run your app on your devices using free provisioning. However, the capabilities available to your app, described in Adding Capabilities, are restricted when you don't belong to the Apple Developer Program.


2 Answers

It's not officially supported but you should be able to. The app delegate has a path that points to a JS server:react-native/Examples/SampleApp/iOS/AppDelegate.m.

If you point that URL to your Debian machine before building to your phone, it should work. (Of course, the JS should get bundled into the app before submission to the App Store.)

like image 78
Sophie Alpert Avatar answered Oct 14 '22 19:10

Sophie Alpert


Unfortunately you can't do that for now. It supports only iOS devices and you need XCode in order to test in the simulator because following the documentation (http://facebook.github.io/react-native/docs/getting-started.html#content), it's going to create an XCode project

like image 34
luca mezzalira Avatar answered Oct 14 '22 19:10

luca mezzalira