Convert to current swift syntax failed

I keep getting the following error when trying to convert my project to

Swift3
:

Convert to current swift syntax failed Could not determine bundle identifier for AppNameTests's TEST_HOST: "/Users/XXXX/Library/Developer/Xcode/DerivedData/AppName-bvwsmxtnxztczgaeqridenjdhfmt/Build /Products/Debug (Staging)-iphonesimulator/AppName-dev.app"

Its very frustrating because before I had successfully managed to convert my project but I did some things wrong so decided to reset my git project to the latest commit. Trying to convert it again now fails, even though there should be no difference in the code. How can I fix this??

Answered by tometoyou in 176436022

OK I literally just reset my git again and closed my project and reopened it and then it worked... Silly Xcode

Accepted Answer

OK I literally just reset my git again and closed my project and reopened it and then it worked... Silly Xcode

Convert to current swift syntax failed
 
 
Q