Xcode stuck on Indexing

Open your Project Folder. Find ProjectName.xcodeproj file. Right-Click Copy and Paste to Safe Place. Right-Click Show Package Contents. Find project.xcworkspace file and delete that file. Reopen Your Project and clean and Rebuild. If your problem is not solved then replace the file with your backup file.

Redundant conformance error message Swift 2

You’ll get that error message in Xcode 7 (Swift 2) if a subclass declares conformance to a protocol which is already inherited from a superclass. Example: class MyClass : CustomStringConvertible { var description: String { return “MyClass” } } class Subclass : MyClass, CustomStringConvertible { override var description: String { return “Subclass” } } The … Read more

Xcode swift indexing forever

Killing the processes named ‘swift’ and then checking the error in xcode will give you the part of the code giving you trouble. There are some bugs in swift that needs to be circumvented. To kill the process: Applications > Utilities > Activity Monitor. Then find the “swift” process, double click and choose Quit or … Read more