Xcode 8 does full project rebuild
I have found this works consistently, it will however compile swift files if you modify a header included in the bridging header. It will also do full compile if you switch git branches back and forth.
Firstly make sure optimization level for debug is set to None (Not whole module optimization)
Then, according to https://forums.developer.apple.com/thread/62737 Apple Staff (ddunbar):
We believe that setting:
HEADERMAP_USES_VFS = YES
to true in your project (or for all your targets) may be an effective workaround > for many people. This is not guaranteed to work (which is the reason it isn't > already on by default), but it should work for most projects.
This should be added through "Add user-defined setting" under your target Build Settings.
.
Xcode 6.3 always does full rebuild of Swift project
I think that this is what you searching for
Control whether XCode does minimal or full rebuild
Xcode always does a minimal build - to do a full build you need to do a clean before the build.
How to prevent Xcode from rebuilding project every time
There is actually an option in Xcode to run without building the code first. Select the "Run Without Building" option under Product > Perform Action. The hotkey for this is ctrl + cmd + R.
Related Topics
Build Error in Xcode on Cloud-Hosted MAC on VSts
How to Cast an @Binding in Swift
How to Implement a Swift Protocol Across Structs with Conflicting Property Names
Select All Text in a Nstextfield Using Swift
Glkit VS. Metal Perspective Matrix Difference
How to Change Default Background Color of Callout Bubble with Detailcalloutaccessoryview
Anonymous User in Realm Mobile Platform
iOS Swift: Unsafemutableaddressor Crash on iOS 8
Add Skin Tone Modifier to an Emoji Programmatically
Swift Pattern Matching with Enum and Optional Tuple Associated Values
Using Vapor-Fluent to Upsert Models
Core Data: Rename Attribute Without Having Issues with Users and Their Current Data
Swift: Lazily Encapsulating Chains of Map, Filter, Flatmap
What Is the Markup Format for Documentation on the Parameters of a Block in Swift
How to Define an Extension to Collectiontype So That Its Methods Are Available to Dictionaries
Not Getting Expected Delegate Calls When Trying to Restore In-App Purchases with Storekit