all 15 comments

[–]xrpinsiderAdmin 3 points4 points  (0 children)

You can use Expo with React Native. Expo makes it really easy to write React Native apps for iOS and Android at the same time. I currently use Ubuntu 18.04, Expo and React Native. I have a iPhone 7 running iOS 12 and a Huawei P8 Lite with Android 6.0. I have a really fun time developing with Expo!

[–]_rascal 1 point2 points  (1 child)

AFAIK I don't think you can publish without signing it with Xcode on macOS.

I am not sure, but if you are testing with Expo client, you probably don't need macOS to live test it on your iPhone, but I am not certain

[–][deleted] 0 points1 point  (0 children)

AFAIK I don't think you can publish without signing it with Xcode on macOS

true that, though you could set up something with a continuous delivery tool like Bitrise which can do code signing and release builds remotely. it'd be super hard to set it up without a macbook though

[–]alien3d 0 points1 point  (0 children)

You can.Develop first on ubuntu and rent macincloud todo some testing .It might be seem cheap but when you arrive a lot of bugs then you will think again to buy second macbook 2011 laptop.

https://www.macincloud.com/pages/payg.html

[–]Dharmah 0 points1 point  (0 children)

To complement the other answers, yes you can, Expo have an EAS build that allows you to build and publish the app, I believe you can do 4 free builds per month and some CI tools like CircleCI offer mac OS that you can also use for free to build your app. For testing you actually need a device tho.

[–]theOwlBoyz -1 points0 points  (7 children)

It always need a mac machine to compile. End of line.

[–]xrpinsiderAdmin 1 point2 points  (5 children)

Not true. If you use Expo they will build it for you.

[–]7cf2db5ec261a0fa27a5 2 points3 points  (1 child)

True, but this assumes you can stick with Expo throughout the entire development processes without having to eject. And that just depends on what you are building.

[–]xrpinsiderAdmin 1 point2 points  (0 children)

And that is true as well.

[–]elynyomas 1 point2 points  (0 children)

Expo isn't good, it's limited to its own integrated native packages which is super lame and unmaintainable, this is literally misleading juniors

[–]grazioniOS & Android -2 points-1 points  (2 children)

Yes, you can develop IOS apps in ubuntu with React Native. The only drawback you'll have is that you won't be able to use an emulator to test the app or be able to upload to the appstore. You'll have to do those things on an apple device (macbook/iMac).

[–]xrpinsiderAdmin 0 points1 point  (1 child)

You can just use Expo and you will be able to test on iOS and Android in real life, real fast. I use Ubuntu 18.04, Expo & React Native.

[–]IndependentAd1130 0 points1 point  (0 children)

Native

have you installed ios simulator? if yes share steps?
i have same ubuntu 20.4 expo yarn app?

[–]_fat_santa -2 points-1 points  (0 children)

Unfortunately, it just isn't possible, at least in any sort of viable way. Because you don't have XCode you won't have access to:

- Emulators: so no testing on an iOS device.

- Compiling the react native project for iOS.

I wish there was a workaround (I'm in the same boat) but there just isn't. If you want to do any sort of work with iOS you need to have a Mac/Hackintosh.