xcode8-beta4

Xcode 8 Beta 4 - Comment Shortcut Disabled

ぐ巨炮叔叔 提交于 2019-11-27 17:02:17
I just updated to Xcode 8 Beta 4 and the shortcut cmd + / to comment a line is not working.. In the dropdown menu it's disabled: There's a way to activate it again? junjie I fixed it following the steps here: https://twitter.com/kolpanic/status/763323546814844928 In Terminal: sudo /usr/libexec/xpccachectl Reboot your system. If Cmd-/ still doesn't work in Xcode 8 on an OS X 10.11 (and apparently on a macOS Sierra - thanks to @DanBlakemore), and sudo /usr/libexec/xpccachectl and a reboot didn't help, try the following . Close Xcode. Open /Applications in Finder, and rename Xcode.app to Xcode2

preferredStatusBarStyle removed in Swift 3?

五迷三道 提交于 2019-11-27 02:29:40
问题 so I recently just updated to Xcode 8 and I just got this error for the following code. The error is that the method doesn't override any method from it's superclasses. override func preferredStatusBarStyle() -> UIStatusBarStyle { return UIStatusBarStyle.lightContent } I would really appreciate help, thanks! 回答1: In iOS 10, preferredStatusBarStyle is a property, not a method. So instead of overriding it with a func declaration as you've done, you override the getter with a var declaration:

xcode8 list of simulators not showing

淺唱寂寞╮ 提交于 2019-11-26 20:05:32
问题 I have been only recently working with Xcode 8 beta 4 but it has been working fine up until now. The list of simulators is not showing for any of my projects. I already tried Creating a new Scheme and it did not work. How do I fix this? 回答1: Deleting derived data and restarting Xcode worked in my case. rm -rf ~/Library/Developer/Xcode/DerivedData/* 回答2: Ensure your Deployment Target version in Build Settings is also set to the desired version (and that you have that version of the respective

Xcode 8 Beta 4 - Comment Shortcut Disabled

柔情痞子 提交于 2019-11-26 18:49:50
问题 I just updated to Xcode 8 Beta 4 and the shortcut cmd + / to comment a line is not working.. In the dropdown menu it's disabled: There's a way to activate it again? 回答1: I fixed it following the steps here: https://twitter.com/kolpanic/status/763323546814844928 In Terminal: sudo /usr/libexec/xpccachectl Reboot your system. 回答2: If Cmd-/ still doesn't work in Xcode 8 on an OS X 10.11 (and apparently on a macOS Sierra - thanks to @DanBlakemore), and sudo /usr/libexec/xpccachectl and a reboot