Improve Xcode Build Speed By 10x (iOS Tips)

  Рет қаралды 9,769

iOS Academy

iOS Academy

Күн бұрын

Are you tired of waiting for Xcode to build your project? Do you feel like you spend more time staring at the progress bar than actually coding? If so, this video is for you!
In this tutorial, we'll cover a variety of tips and tricks that can help you significantly improve your Xcode build times. We'll go over everything from simple settings changes to more advanced optimizations that can have a big impact on your workflow.
First, we'll start with some basic settings changes you can make in Xcode. We'll show you how to disable indexing, enable parallel testing, and optimize build settings to get faster builds. Then, we'll move on to more advanced techniques such as using precompiled headers, caching, and distributed builds to further reduce build times.
We'll also cover some common pitfalls that can slow down your build times, such as unnecessary dependencies and code bloat. We'll show you how to identify these issues and how to address them to keep your builds running smoothly.
Whether you're a seasoned Xcode user or just getting started, this video will give you the tools you need to optimize your build times and get back to coding faster. So, sit back, relax, and get ready to speed up your Xcode builds like a pro.
Anddddddd, congrats, April Fools! :D
💻 Source Code: / iosacademy
🎥 Subscribe for more: kzfaq.info?su...
😎 Like my teaching style? Check out some of my most popular courses! courses.iosacademy.io
👉🏼 Connect (personal LinkedIn) / afrazsiddiqui
🚀 Follow on LinkedIn / ios-academy
** Popular Series
Building Instagram: courses.iosacademy.io/p/build...
Building TikTok: / @iosacademy
SwiftUI for Beginners: ios-academy.teachable.com/p/s...
** Get Skillshare free for 2 Months and learn iOS
www.skillshare.com/r/user/afraz
** Manage all your investments from app earnings on Betterment!
bit.ly/3eBwlI9
** Grow your own KZfaq tech channel with TubeBuddy:
www.tubebuddy.com/iosacademy
#swift #xcode #iOSDeveloper

Пікірлер: 112
@iOSAcademy
@iOSAcademy Жыл бұрын
Let others know how much build time you saved with this technique. I've saved dozens of hours a week. Go! 👇🏽👇🏽👇🏽
@indomitabletr1834
@indomitabletr1834 Жыл бұрын
Why you deleted all files, did you get them again ? and if I have a lot of configuration plist, Do I just need to delete just code related files?
@PauloSilva252
@PauloSilva252 Жыл бұрын
@@indomitabletr1834 😂
@shadow16g
@shadow16g Жыл бұрын
the credebility of the first 3 just went down the drain 🤣
@indomitabletr1834
@indomitabletr1834 Жыл бұрын
Guys ok, you have fun 🙂 but at least tell me about it.
@nX-
@nX- Жыл бұрын
@@indomitabletr1834 Hint: April 1st
@vlad-tf9sf
@vlad-tf9sf Жыл бұрын
I just wanna thank you for everything, I just jumped into Xcode and swift, watching your beginner courses from years ago, I just wanna show you my appreciation and hope to show you how much you’re doing for all of us, just thank you so goddamn much, aight gonna go back to my next course haha just finished loops.
@iOSAcademy
@iOSAcademy Жыл бұрын
Youre welcome! You are crushing it! keep going
@PauloSilva252
@PauloSilva252 Жыл бұрын
You do need to watch this tip in the video though, that is a career changing moment
@junglee-bee
@junglee-bee Жыл бұрын
Monday is gonna be a fun day. Everyone is gonna be 10x pumped with this hack! Thanks 🙌
@iOSAcademy
@iOSAcademy Жыл бұрын
You bet
@arjundureja
@arjundureja Жыл бұрын
This worked for me! I had to clear my trash after deleting the files for the settings to properly apply though
@iOSAcademy
@iOSAcademy Жыл бұрын
NICE
@damian_k9433
@damian_k9433 Жыл бұрын
I didn't even blink before he right click and toss everything xD U got me there :D
@iOSAcademy
@iOSAcademy Жыл бұрын
😂😂😂
@dannestrom
@dannestrom Жыл бұрын
Don't forget to erase the git repository as well, since if you restore from the repository then all these optimisations will be undone.
@iOSAcademy
@iOSAcademy Жыл бұрын
True lol
@jansvensson1602
@jansvensson1602 Жыл бұрын
It's basically instant now. Wow, thanks!
@iOSAcademy
@iOSAcademy Жыл бұрын
🔥🔥🔥
@davidspicer8053
@davidspicer8053 Жыл бұрын
This has worked wonders for my productivity! Thanks
@iOSAcademy
@iOSAcademy Жыл бұрын
Great to hear!
@ramtinteymouri
@ramtinteymouri Жыл бұрын
This was a great tip brother. I will make sure to share with my team 🤣
@iOSAcademy
@iOSAcademy Жыл бұрын
Please do!
@user-pw1zj3dt3v
@user-pw1zj3dt3v Жыл бұрын
nice tip! btw, you can press option + left arrow / option + right arrow to collapse / expand directories in xcode. dont need to click :)
@iOSAcademy
@iOSAcademy Жыл бұрын
Yep
@MegaFiredon
@MegaFiredon 4 ай бұрын
Great tricks thanks - Do you have any video on how to uplaod a tvOS App using xcode?
@SHOLINGER
@SHOLINGER Жыл бұрын
thanks for these kind of information
@iOSAcademy
@iOSAcademy Жыл бұрын
My pleasure
@PauloSilva252
@PauloSilva252 Жыл бұрын
will try the first 3 flags on a project that takes 500sec to build. The last tip will leave for my last day at the job
@iOSAcademy
@iOSAcademy Жыл бұрын
Go for it
@user-zm5wp1bz4g
@user-zm5wp1bz4g 7 ай бұрын
This is crazy. runtime got down from 45 seconds to 8 seconds. thank you.
@maximilian.maksutovic
@maximilian.maksutovic Жыл бұрын
Finally I'm building blazingly fast 🙏
@iOSAcademy
@iOSAcademy Жыл бұрын
NICE
@ararezaee
@ararezaee Жыл бұрын
Some interns are gonna get in trouble if they watch this any other day of the year
@iOSAcademy
@iOSAcademy Жыл бұрын
Lets hope not
@erezhod
@erezhod Жыл бұрын
Hahaha you actually had me there! Bravo 👏
@iOSAcademy
@iOSAcademy Жыл бұрын
Lol
@phantomfreak0813
@phantomfreak0813 Жыл бұрын
Is this also working for running my App on my personal iPhone ? The simulator runs my App flawlessly, but when i run it on my iPhone 14 Pro i get a huge 7 second freeze before i can use my App without any problems
@khaledb8618
@khaledb8618 Жыл бұрын
Damn, you made my day🤣🤣🤣
@iOSAcademy
@iOSAcademy Жыл бұрын
Im glad
@Yuto_Ygopro
@Yuto_Ygopro Жыл бұрын
the entire video and i'm like what the heck is this guy cooking!
@iOSAcademy
@iOSAcademy Жыл бұрын
😂
@vlad-tf9sf
@vlad-tf9sf Жыл бұрын
Hey could I please get some help, I’m halfway done with the personality quiz in the fundamentals, pages 533-601 in the book. But after loading up my app, it crash stating the error: libc++abi: terminating with uncaught exception of type NSException *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UILabel setProgress:animated:]: unrecognized selector sent to instance 0x1302090e0' terminating with uncaught exception of type NSException» I’ve got no idea what to do, any help is much appreciated
@AkhileshYadav-qj8hq
@AkhileshYadav-qj8hq 11 ай бұрын
Am i gonna face any problems in upcoming days because of these settings?
@MirnaHSokar
@MirnaHSokar 4 ай бұрын
This is hilarious lol! I kept watching it over and over hahahah! glad I looked at the comments before I lose my mind hahahah
@iOSAcademy
@iOSAcademy 4 ай бұрын
Glad you enjoyed it!
@user-kz9sl2ei6h
@user-kz9sl2ei6h Жыл бұрын
I thought you were determined to quit this channel and this was your way to say goodbye to us haha...
@iOSAcademy
@iOSAcademy Жыл бұрын
Lmao im not going amywhere
@mustafab3irat378
@mustafab3irat378 Жыл бұрын
🤣😂😂😂😂😂😂😂😂😂😂😂 Me sharing a diff to my team’s project under title “Made built time under 1 ms” 😂😂😂😂😂😂😂 And it’s obvious today is 1st of April
@iOSAcademy
@iOSAcademy Жыл бұрын
Mo code Mo problems! 🙏🏽🙏🏽🙏🏽
@mustafab3irat378
@mustafab3irat378 Жыл бұрын
😂😂😂😂😂😂😂😂😂
@ali-dp7wr
@ali-dp7wr 8 ай бұрын
Thanks it made our project runtime faster. But why Xcode is so slow comparing to Android Studio and Visual studio? why they can't make it fast!!!
@samha1513
@samha1513 Жыл бұрын
April fooled me good 😂
@iOSAcademy
@iOSAcademy Жыл бұрын
Lolol
@shovonkarmaker1306
@shovonkarmaker1306 Жыл бұрын
April Foooooool
@iOSAcademy
@iOSAcademy Жыл бұрын
:D
@victorriurean
@victorriurean Жыл бұрын
nice
@iOSAcademy
@iOSAcademy Жыл бұрын
Thanks
@jupiter_ki
@jupiter_ki Жыл бұрын
lmaooo .. i was jus about to delete too then i had to look in the comments like hold up
@iOSAcademy
@iOSAcademy Жыл бұрын
😂😂😂
@jupiter_ki
@jupiter_ki Жыл бұрын
@@iOSAcademy absolutely classic 😂👌🏾
@ilaxo-Parda
@ilaxo-Parda Жыл бұрын
To anyone confused or watching this for actual tip , don't its a low effort prank .
@Rahul-jf5kf
@Rahul-jf5kf Жыл бұрын
building after deleting entire code?
@iOSAcademy
@iOSAcademy Жыл бұрын
Its a joke
@EscapeToVictoryNow
@EscapeToVictoryNow Жыл бұрын
Hahahhahahahha, ahem , Waaaaaaahahahahahha, you got me there
@iOSAcademy
@iOSAcademy Жыл бұрын
Lol its a pro tip
@johnrambo7147
@johnrambo7147 Жыл бұрын
Didnt work for me lost everything lol
@iOSAcademy
@iOSAcademy Жыл бұрын
Nailed it
@anshumandas4363
@anshumandas4363 10 ай бұрын
No Code = Faster Build is my life moto now XD
@iOSAcademy
@iOSAcademy 10 ай бұрын
Lol
@Ni7ram
@Ni7ram Жыл бұрын
lmaooo. you got me
@iOSAcademy
@iOSAcademy Жыл бұрын
Lolol
@minimaster.10
@minimaster.10 Жыл бұрын
ahahahaha heck yeah its work thanks bro !
@iOSAcademy
@iOSAcademy Жыл бұрын
Enjoy
@jinhot
@jinhot Жыл бұрын
많은 한국인 개발자들도 이 혁신적인 사실을 알 수 있으면 좋겠다는 마음에 한국어로 댓글을 답니다.
@iOSAcademy
@iOSAcademy Жыл бұрын
Nice
@30guarino
@30guarino Жыл бұрын
APRIL FOOLS!!! 🤨
@iOSAcademy
@iOSAcademy Жыл бұрын
No no no. It works haha
@ho6y
@ho6y Жыл бұрын
XD took me a few seconds
@iOSAcademy
@iOSAcademy Жыл бұрын
Lolol
@TahirGaming35
@TahirGaming35 Жыл бұрын
Lmao
@iOSAcademy
@iOSAcademy Жыл бұрын
Lol
@wangzhizhou
@wangzhizhou Жыл бұрын
This is a April 1st Joke.
@iOSAcademy
@iOSAcademy Жыл бұрын
😂😂😂
@youarehere1716
@youarehere1716 10 ай бұрын
mo' code, mo' problems. the only good code is non-existent code. less is more (more or less).
@07ellboy
@07ellboy Жыл бұрын
hahaha dammn
@iOSAcademy
@iOSAcademy Жыл бұрын
🙃🙃
@alamgirkhan001
@alamgirkhan001 Жыл бұрын
I opened my Xcode to follow along
@iOSAcademy
@iOSAcademy Жыл бұрын
🙃🙃😂
@khaledhamdy5357
@khaledhamdy5357 Жыл бұрын
🤣🤣🤣🤣
@iOSAcademy
@iOSAcademy Жыл бұрын
Lol
@faxntv7352
@faxntv7352 Жыл бұрын
hora
@iOSAcademy
@iOSAcademy Жыл бұрын
🚀
@shweta5884
@shweta5884 Жыл бұрын
Adding 3 commands were okay but Deleting all the files made me look into the comments and turns out it's April Fool 🤣🤣
@iOSAcademy
@iOSAcademy Жыл бұрын
Lolol yep
@fattoofittoo7907
@fattoofittoo7907 Жыл бұрын
april fools
@iOSAcademy
@iOSAcademy Жыл бұрын
ha
@Paberu85
@Paberu85 8 күн бұрын
rofl
@CastAsHuman
@CastAsHuman Жыл бұрын
And just like that, I wasted 5 minutes of my life!!!!!!!!
@iOSAcademy
@iOSAcademy Жыл бұрын
Youre welcome
@RobertLoyale
@RobertLoyale 9 ай бұрын
I'm about to report your channel lol.
@iOSAcademy
@iOSAcademy 9 ай бұрын
Lol just a joke :)
@RobertLoyale
@RobertLoyale 9 ай бұрын
@@iOSAcademy 😂 it was funny
@byaruhaf
@byaruhaf Жыл бұрын
@iOSAcademy
@iOSAcademy Жыл бұрын
Lol
@CipherLunis
@CipherLunis Жыл бұрын
lmaoo good one
@iOSAcademy
@iOSAcademy Жыл бұрын
Some of my best work!
@rahulpawar166
@rahulpawar166 10 ай бұрын
Bro, this tutorial is so amazing that it encouraged me to UNSUBSCRIBE you!!
@ZeARApp
@ZeARApp Жыл бұрын
mf
@iOSAcademy
@iOSAcademy Жыл бұрын
Nailed it
@ZeARApp
@ZeARApp Жыл бұрын
@@iOSAcademy i searched every where where that WLinkingC comes from, not found, even in dev apple site, then i kept watching the video knowing soemething is fishy but what
31 Xcode Tips & Tricks - 2023
17:45
Sean Allen
Рет қаралды 39 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 202 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 10 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 46 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 22 МЛН
24 Xcode Tips in 15 Minutes
15:30
Paul Hudson
Рет қаралды 73 М.
Memory Leaks in iOS: Find, Diagnose, & Fix (2022)
12:44
iOS Academy
Рет қаралды 48 М.
What's going on with Windows Laptops?
10:30
Marques Brownlee
Рет қаралды 1,8 МЛН
Technical Skills You Need to Get Hired as an iOS Developer
7:38
CodeWithChris
Рет қаралды 15 М.
Background Tasks in iOS (Swift & Xcode) - Beginners
25:47
iOS Academy
Рет қаралды 13 М.
Water powered timers hidden in public restrooms
13:12
Steve Mould
Рет қаралды 704 М.
~/.dotfiles in 100 Seconds
13:54
Fireship
Рет қаралды 412 М.
Debugging in Xcode 13: Tips & Tricks (2022) - iOS
14:02
iOS Academy
Рет қаралды 42 М.
No Code App Development is a Trap
9:31
Coding with Dee
Рет қаралды 184 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 202 МЛН