Xcode 6.1.1 Running on the device slow "Copying standard Swift libraries"

I create a new project with one view application and run on the device (iPhone 5s)

Product> Cleaning & Product> Launch

Swift takes 76 seconds

Using ObjC takes 12 seconds

What happened to Swift or my computer?

+5
source share
1 answer

Swift is a new language with a new compiler that is not yet optimized for the amount that Objective-C has had since Objective-C for many years.

The Swift compiler also does much more than the Objective-C compiler, given that Swift is more strongly typed and does not require an import (by the way).

However, 76 seconds is a long time, so either your computer is not enough, or for some reason you have few resources.

0
source

Source: https://habr.com/ru/post/1209555/


All Articles