Faisal Syed
Faisal Syed

Reputation: 931

Compiling Large Xcode Project

Currently trying to update an app to iOS 10, and this is a very big app. It has over 20 libraries and over 50 Swift/Objective-C files. Although I converted most of the Swift Syntax to Swift 3, I still have many compiler errors, and Xcode is very slow to load them. I'm attempting to go to each file one by one and compiling them, but even that is taking a long time, and Xcode will still not show all the compiler errors.

First it'll show 2, then 8, then 46, then as soon as I fix one with "Fix-It", it'll go back down to 2. I have to re-compile every time for more errors to show up to fix, and this does not feel efficient.

How can I efficiently compile all the files to get all the compiler errors that I need to fix?

Upvotes: 1

Views: 462

Answers (2)

imaduddinaf
imaduddinaf

Reputation: 21

You could try look up for some code that makes takes more time to complies with this app build time analyzer

You could try this too improving xcode compile time

Upvotes: 0

Rashwan L
Rashwan L

Reputation: 38833

Go to preferences > general and click in "Continue build after errors" and you will see more errors immediately. One tip, update your frameworks so that they support Swift 3.0 before you do the migration.

Upvotes: 1

Related Questions