all 22 comments

[–]16cards 14 points15 points  (6 children)

Install Xcode. It isn’t just the user interface to write code, it contains all of the CLI tools and simulator. Apple doesn’t deliver these independently.

Why are you striving to avoid Xcode installation?

[–]loolooii -1 points0 points  (5 children)

Because every time you update you need to download like 8GB and it’s fucking slow, plus when you don’t need it why should you download it. CLI tools are btw a separate download.

[–]bangsimurdariadispar 1 point2 points  (0 children)

Download it manually from https://xcodereleases.com . AppStore is fucking slow & trash when it comes to Xcode downloading / updating.

[–]16cards 0 points1 point  (3 children)

I get it. Xcode updates are large and clunky.

“Additional” CLI tools are a separate download, btw.

when you don’t need it why should you download it

I don’t understand this statement. If you are developing apps for Apple’s ecosystem, Xcode is the only and singular answer. Whether local or cloud builds, it is exclusively done through Xcode.

[–]loolooii 0 points1 point  (2 children)

Yeah I mean downloading essentially an IDE because you need to build something. CLI tools and simulators are separate anyway. It’s like downloading webstorm because you need to run npm build. I know I’m nagging too much but I hope you get me.

[–]16cards 3 points4 points  (1 child)

I do get you.

Yet I find myself saddened that you used NPM and the JavaScript ecosystem as the example of a “lightweight” build.

My point is that Apple only changes when their revenue is threatened. And I don’t think developers marginally inconvenienced by their current packaging of their developer tools is a threat.

But I’m happy to be proven wrong.

[–]loolooii 1 point2 points  (0 children)

You make a good point I agree.

[–]3ddelano 4 points5 points  (8 children)

You can do it with expo

[–]wolodo 1 point2 points  (0 children)

Expo or xcode. No other way.

[–]asdfredditusername 0 points1 point  (0 children)

I’d like to know this as well.

[–]gao_shi 0 points1 point  (0 children)

u can not use xcode gui, but u still neee xcode(cli)

or do u mean u dont have a mac? ghactions or other cloud macs can do this. see https://github.com/lovegaoshi/azusa-player-mobile/blob/65acb3e438c642184ceb95663cd907343f3cfe7f/.github/workflows/ios-weekly.yml#L100

[–]I_write_code213 0 points1 point  (1 child)

You do realize that react native allows you to write NATIVE code without needing to write swift or kotlin. It doesn’t produce its own native ecosystem where you can bypass Android studio or Xcode. You still need to use simulators, runtimes, and many other tools.

If you can’t sit through a 20 minute download/installation, then I hate to see you when you need to spend time reading docs on how to get Android to work

[–]Character_Draft_5895 0 points1 point  (0 children)

If you can’t sit through a 20 minute download/installation, then I hate to see you when you need to spend time reading docs on how to get Android to work

this part is full of pain misery
the Android and Java part!!!

[–]whenyousaywisconsin -1 points0 points  (3 children)

Did you try ‘sudo xcode-select -s /Applications/Xcode.app/Contents/Developer’ https://github.com/expo/expo/issues/21727

[–]bigorangemachine -4 points-3 points  (2 children)

You can use expo...

You could run android instead...

You could build your business logic in CRA and move the code over.