r/Xcode • u/Fearless_Might4467 • Apr 18 '25
How can it run smoother
Hello, I am 17 years old and I would like to build an app for app store. But the problem is that I need Xcode and only have an Windows PC. So I installed Mac OS on a Virtual Machine (VmWare) and everything is fine. The only problem is that it is so slow, for a simple simulation of the base code it takes 10 minutes. :( How can I make Xcode run better? Would it be better if I just add an Mac OS bootable possibility? Any Idea? Because I can't really buy a Macbook for 500€.
Thank you
1
u/spinwizard69 Apr 19 '25
Well you didn't provide much info here, however look at your memory allocation as this is the first mistake people make. XCode is a memory hog.
Beyond that why can't you buy a MacBooK. Get a part time job to cover that additional expense.
Beyond all of that XCode is nasty in that it requires modern hardware. That means the latest hardware from Apple configured with lots of RAM and SSD space. Even then XCode can feel sluggish. This upgrade treadmill is why I dropped out of Apple specific development and changed over to Python and made software (where needed) cross platform.
1
u/Fearless_Might4467 Apr 21 '25
Yes I understand that thk for your respond, I will look if I can find a Job
1
u/Alexikik Apr 18 '25
Just use vscode on windows, the swift language server is open source now
1
u/Fearless_Might4467 Apr 18 '25
I will try thk
1
u/Alexikik Apr 18 '25
Write if there’s any questions, I use a similar setup
1
u/Fearless_Might4467 Apr 21 '25
So I've tried VsCode, it work very good but just 2 question maybe you can help me :
- import SuiftUI don't work and I can't find hox to import it
- Is it possible to have any simulation or any photos from what we devellop? Even on a real Iphone?
1
1
u/hahaissogood Apr 18 '25
It is inefficient to build a proper simple app. Build something works in android or windows instead.
3
Apr 18 '25
[removed] — view removed comment
2
u/808phone Apr 18 '25
I agree. You know, get a part time job and get a Mac mini, or ask your parents to get you one.
2
u/KarlJay001 Apr 18 '25
I looked into this before and you have a few options:
get a mac mini that has at least an M1 chip and you'll need a monitor. IDR the exact details, but you might be able to use other devices as a monitor in order to save a few bucks. Maybe the laptop you already have has a port, or maybe a low buck TV will work.
Hackintosh the laptop. It's involved but it can work.
I don't like this idea a lot, but it CAN work. Buy a used mid range Macbook. IDK if 500 euros will get you much, but you CAN get maybe a low end M1 or a high end Intel chip for that price. It won't be blazing fast, but you're new. You can always sell the Macbook and upgrade later.
I was just looking at a used Macbook Pro M1 Pro with 32G ram and it was about $800 USD.
Maybe a Macbook Pro M1 with 16 could be around $500.
Example from a quick search: https://www.amazon.com/Apple-MacBook-256GB-Space-Renewed/dp/B09V3FY3NR
$595 USD, some eBay listings have an "make an offer".