Does AppCode work for Xcode 8.3 and Swift 3? Follow
Since the latest Xcode updates (currently Xcode 8.3.2) AppCode is not usable. I can't run apps and it also randomly freezes Xcode/Simulator so I can't even edit code in AppCode. Any help will be appreciated.
Please sign in to leave a comment.
I'm using the 2017.2 EAP with Xcode 8.3.2 and it works great. Might try File/Invalidate Caches-Restart.
After updating to the latest EAP I still get several errors like these, and more.
@discardableResult is not recognized
@available(OSX, introduced: 10.10) is not parsed well
precedencegroup or infix operator are not supported, I think
Those are from the Cartography pod.
I guess Swift changes too fast...
You may also want to check which Xcode version is selected in Preferences | Tools | Xcode. Seems that it's not the latest one.
There could be issues with completion for @attributes (like @discardableResult and @available) but those should be parsed fine.
That was the problem, Tatiana!
I don't know why I had Xcode 7.3.1 selected there!
I have 3 versions of Xcode installed for other reasons. Seems Appcode didn't select the latest automatically.
Glad to help.
Normally AppCode offers to switch Xcode versions when new Xcode is detected on the system or in case currently selected version is not supported by AppCode anymore (Xcode 7.3.1 is still supported). Maybe you've dismissed the switch notification when newer Xcode versions were installed?
It's probable. I had to install previous versions of Xcode to support iOS7 (Xcode 7.3.1) and Swift2 (Xcode 8.2). While changing versions back and forth Appcode must have taken that old Xcode version. I wasn't aware or didn't remember that Appcode setting. I knew there was something wrong because I didn't have the latest simulator versions. Now I know what was happening. Thank you!