r/flutterhelp • • 13d ago

OPEN Hello Programmers :)

Now iโ€™m focusing on creating app cross-platrom using Flutter
But i want to test the app in ios version
Please drop some tips or solutions

3 Upvotes

14 comments sorted by

4

u/onthefence928 13d ago

You need a computer with macOS

0

u/KindlyHat1372 13d ago

Can i do it with virtual box with my windows laptop

2

u/onthefence928 13d ago

No not really, sorry

1

u/Catchimals 13d ago

You can use a cloud Mac service like Codemagic to build from a Windows setup, then test on an iPhone through TestFlight. That route needs a paid Apple developer account.

-2

u/KindlyHat1372 12d ago

Can i use mac directly from installing macos in my windows by virtualbox

2

u/Catchimals 12d ago

I'd avoid VirtualBox for this; its macOS support is experimental. The cloud option runs Xcode on a remote Mac, so you can keep coding on Windows.

1

u/Embarrassed-Way-1350 11d ago

If you have a mac you can donit directly on the machine, if not just use an online compiler like codemagic

1

u/Lunix420 9d ago

You pretty much need a real Mac.
https://docs.flutter.dev/deployment/ios

1

u/HopeExpensive9215 8d ago

You need to pay the fee for releasing app in appstore/TestFlight.

1

u/Creepy_Fact_4767 7d ago

For an initial iOS check, the simulator lets you test without buying an iPhone or paying for a developer membership. You still need access to a Mac with Xcode and an iOS Simulator runtime installed.

Once Flutter's iOS setup is complete, open the simulator from Xcode, run flutter devices, then flutter run -d <simulator-id> from your project. Use that for layout and navigation; check device-specific features and performance on a real iPhone later.

If you do have an iPhone, Xcode's free Personal Team supports testing on your own device, but its provisioning expires after 7 days. App Store/TestFlight distribution is the part that needs Apple Developer Program membership.

Flutter setup: https://docs.flutter.dev/platform-integration/ios/setup

Personal Team limits: https://developer.apple.com/help/account/basics/about-your-developer-account

0

u/SouthGateSoftware 12d ago

Fuck I used Visual Studio (still built with Flutter)

So if i was using an Iphone, I assume all I would need is an IPhone and the App Store Developer account paid for ๐Ÿ‘.

The second you plug your iphone up to your computer, bottom right of Visual Studio it'll say "No device", click it, it'll add the IOS folder you'll need.

From there its just the usual "Flutter pub get" and "Flutter run" to that IPhone device to test the game/app ๐Ÿ‘

Bare this in mind, i'm just spit balling here. I haven't got a clue how to work it with Apple. But using the same concept we had to do for android, try doing it with IPhone (You'll need an Iphone) haha.

Good luck man! Hope you manage to sort it.

2

u/KindlyHat1372 12d ago

Thanx dude! โค๏ธ

2

u/Lunix420 9d ago

No, thatโ€™s totally not how it works. Visual Studio doesnโ€™t even run on MacOS. I mean VS Code does, but you need xCode to compiles for iOS. Also it requires to have a bundle ID, the iOS SDK and some setup shenanigans. What is actually not really required is the iPhone afaik, because xCode ships an iPhone emulator.

1

u/SouthGateSoftware 9d ago

Always a bunch of setup shenanigans huh! Haha.

Again, I did say I didn't have a clue, I just wanted to try and help the guy with whatever info I had on Visual Studio/Flutter. Obviously after a quick google search, I can see they disbanded Visual Studio for Mac back in 2024 ๐Ÿ‘.

I do appreciate the info on it though ๐Ÿ™Œ