Xcode in Dropbox, apparently a bad idea? Xcode bugs?

For reference, here's my stackoverflow post: https://stackoverflow.com/questions/44752358/indexing-issues-with-xcode-8/44752509#44752509


So I'm working on an iOS app with a friend (we're both new) and we chose Dropbox to manage our project files and only one of us will have the project opened at a time. That being said, I'm having the strangest issues with Xcode. For somer eason some of my classes aren't being recognized when trying to select a class from the Identity Inspector's class dropdown -- in fact, the dropdown is blank. When right clicking the view controller from the document outline, I can't even see the newly defined outlets that I just created.


I've tried the following things to fix this:

  • Clean & Rebuild the project from Xcode, followed by an Xcode restart
  • Removing the project directories from "~/Library/Developer/Xcode/DerivedData" to force Xcode to re-index (and restarted Xcode)

and no luck. Now what's weird is if I close Xcode and copy the entire project folder to another location -- let's say from Dropbox to my Desktop folder -- everything works just fine. If I copy it back to Dropbox, I get the same issue again.


Any clue what could be the issue here? Some type of weird caching thing going on or something?

Xcode in Dropbox, apparently a bad idea? Xcode bugs?
 
 
Q