How can I make an IOS app without a Mac?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SF123

I am making a mobile game for my friends and I to play, but one of them has an iPhone, and nothing else. Normally, this wouldn’t be a problem, except I don’t have a Mac.

I have an Acer Laptop running Windows 10, and a Dell Optiplex 380 running Linux Mint 20.2 Cinnamon, and I don’t really want to buy a Mac, because of how expensive they are, and would prefer to use my Dell Optiplex 380 to compile it.

Is there any way I can do that?

Thanks in advance.

Godot Engine Version: Godot Engine 3.3.3 (Steam)
Language Used: GDScript
OS: Linux Mint (Linux)
OS Version: 20.2 Cinnamon

:bust_in_silhouette: Reply From: decepticlown

You can export for mac through export templates. But how will you give it to your friend? Unlike Android, you cant install from third party source. You need a phone with developer account on it to test debug apps. Which brings cost for anual developer account.

Your best bet is web export. Host your html game on some free platform.

Does NetworkedPlayerENet work for web export? I could do that, and I’m fine paying to publish it to the app store. I know you can’t install apps from unknown sources on iOS, but I was just wondering if I just need to settle down and buy a Mac Mini or not.

SF123 | 2021-09-23 14:59

ENet uses UDP sockets, which web browsers can’t use as they can’t send raw UDP packets for security reasons.

Instead, you have to use WebSocketMultiplayerPeer (easier to set up, higher latency) or WebRTCMultiplayer (difficult to set up, lower latency).

Calinou | 2021-09-23 22:29

Well if its only for testing purposes I don’t really think you need to own a mac. There are services which lets you test your applications and websites on different platforms through cloud. But since I haven’t dabbled in those waters I can’t say for sure how well they work. But you know at the end of the day it might just worth it to get a second hand mac.

decepticlown | 2021-09-26 11:47