Fork me on GitHub
#cljsrn
<
2018-04-30
>
madstap14:04:05

Has anyone used http://expo.io with re-natal? I'm looking at how I might develop ios apps without switching to a mac (I'm on linux). Any examples would be super helpful.

madstap14:04:41

Alternatively, has anyone use this workaround and have any comments on how well it works? http://www.proreactnative.com/How-to-Develop-iOS-Apps-on-Linux-Using-React-Native/

pesterhazy14:04:34

developing iOS apps on linux sounds like an uphill battle to me

pesterhazy14:04:56

I'd try to get it to work on Android, then port it over on a mac

madstap14:04:36

Yeah, kinda seems like it. Macs are pretty expensive on a Brazilian salary though, they're like the the price of a car and I just bought a new computer while being ignorant of these difficulties 🙃

pesterhazy14:04:49

I couldn't agree more, it's annoying as hell

danielneal14:04:42

@madstap you can use expo-cljs-template - but not with re-natal, it's kind of a different process

danielneal14:04:46

the builds happen on expo's servers

danielneal14:04:51

your source only contains the js

madstap14:04:57

Thanks, that's helpful

Oleh K.17:04:47

@madstap you can also use virtual machine for Mac OS, for example VMware. I started with VMware and ended up with Hackintosh

madstap17:04:18

@okilimnik Do you have any links to explanations/tutorials on that setup?

Oleh K.17:04:57

@madstap I personally was following a russian guide, so I can only suggest to google it

madstap17:04:20

Ok, yeah, I don't speak russian, but just knowing that it's an option helps. Seems like there are a couple of different options, all less than ideal in their own way. Makes me appreciate RMS...

gnl17:04:42

@madstap Hackintosh may work fine if the hardware's right, but my experience with macOS on VMware was pretty terrible - it was slow and it crashed pretty much daily.

gnl17:04:12

@madstap You might also want to look into getting an older mac mini off ebay - there used to be some dealers even selling refurbished ones with warranty and everything. I ran one for a year, got the job done just fine and seemed like the cheapest way to get a mac at the time.

gnl17:04:59

You can upgrade memory and drive yourself if necessary (there's a guide on http://ifixit.com, I think)

madstap17:04:15

@clojurians.net thanks for relating your experience, it seems that is a pretty normal complaint re. macOS on a virtual machine. Yeah buying a used one seems to be an option, this person develops on linux, and ssh's into a mac they bought. https://blog.theodo.fr/2016/10/ios-development-from-linux/

👍 4
gnl18:04:33

If you're anything like me in that I don't enjoy tinkering with my system/environment for its own sake and am pretty allergic to any issues surrounding it, I'd suggest you go straight for a Mac if there's any way you can afford an older/used one. Especially if you want to do iOS. Years ago I used to have all kinds of crazy setups with Linux and Windows and VMs and everything, but now just skimming this article gives me sort of a visceral "just get a Mac and stop screwing around FFS" reaction. 🙂 That's just me, though.

madstap19:04:42

Yeah, I think you're right 🙂 I don't like tinkering with this kind of stuff, much less when I've got to get shit done. I think I'll try the build on a mac then develop on linux with a physical device way first, then buy a used mac if that doesn't work great. Thanks so much for your input, it's really helpful to get some opinions when coming from a place of total ignorance on these things.

👍 4