I have an demo app that uses various internal development pods written in swift. All of the swift code in the development pods has trouble code completing. For example, when holding command and clicking on import UIKit
, Xcode complains of a Symbol Not Found
when tapping on UIKit
. There's no compiler errors, everything builds and runs just fine.
If I have swift code outside of the pod in the demo project itself, that code completes just fine, but when I put it in a pod and run pod install
, it either stops code completing immediately, or works for a few hours / pod update
commands, and then randomly stops working. I have other development pods in my project, and those written in Objective-C have no trouble code completing ever.
I have tried multiple different solutions, namely the solutions listed here: Xcode 6 Swift code completion not working. None of these worked for me.
I tried various combinations of these solutions from the post above multiple times:
- deleting Xcode's derived data
- selecting a different simulator device to force a re-index
- deleting Cocoapod's cache (both in the library and the Podfile.lock and Pods directory)
- running
pod deintegrate
and thenpod install
- restarting Xcode and computer
- using different versions of Xcode (6.3.2, 6.4, 7.0-beta2)
- on a completely different machine
None of which seem to work.
Any help would be greatly appreciated!