Re: Sourcekit crashes in Xcode 7.1

2015-11-11 Thread Alex Zavatone
Um, what the hell?

The Assistant Editor is not showing my Objective-C code, but it's trying to 
convert everything in my main editor to Swift.

What is this?  How does this happen? Why does Xcode think I'm trying to convert 
my app to Swift?

Sweet mother of suck.

Guys, CAMON.



On Nov 11, 2015, at 12:07 PM, Alex Zavatone wrote:

> Oddly under Xcode 7.1, I'm seeing Xcode crashes while editing my Objective-C 
> iOS app where Sourcekit crashes.  Oddly enough, it appears to be related to 
> the Assistant Editor because I get a message in the Assistant Editor stating:
> 
> "Couldn't Generate Swift Representation"
> 
> Error (fromSourceKit):
> "restoring service"
> 
> 
> This is is amazing since there isn't a molecule of Swift in our app.
> 
> Xcode 7.1 (7B91b)
> OS X 10.11
> MBP 15, + Thunderbolt display.  Crashing screen is on the TB display.
> 
> FYI, in case it happens to anyone else.
> ___
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list  (Xcode-users@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/xcode-users/zav%40mac.com
> 
> This email sent to z...@mac.com


 ___
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list  (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Sourcekit crashes in Xcode 7.1

2015-11-11 Thread Jens Alfke

> On Nov 11, 2015, at 9:45 AM, Alex Zavatone  wrote:
> 
> The Assistant Editor is not showing my Objective-C code, but it's trying to 
> convert everything in my main editor to Swift.
> What is this?  How does this happen? Why does Xcode think I'm trying to 
> convert my app to Swift?

You’ve got the assistant editor set to “Counterparts” with the _last_ item 
(suffix “(Interface)”) selected. This item shows a Swift interface of 
whatever’s in the main editor. Very useful in a mixed Obj-C/Swift project.

To get out of this view just select a different counterpart, i.e. the .h file, 
in the pop-up.

—Jens ___
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list  (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com