Fix building on Xcode 8.3 #9

Merged
merged 1 commit into from Apr 17, 2017

Conversation

2 participants
Owner

sindresorhus commented Mar 28, 2017

I had to copy DFRSupportKit.framework from Xcode 8.2, as in 8.3 it no longer exposes the interface we need (IDETouchBarSimulatorHostWindowController).

@sindresorhus Fix building on Xcode 8.3
I had to copy `DFRSupportKit.framework` from Xcode 8.2, as in 8.3 it no longer exposes the interface we need (`IDETouchBarSimulatorHostWindowController`).
26e2940
Owner

sindresorhus commented Mar 28, 2017

The main difference seems to be that DFRSupportKit.framework no longer contains the IDETouchBarSimulatorService XPC service. It now resides in /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework/Versions/A/XPCServices/IDETouchBarSimulatorService.xpc. I wonder if there's a way we could bundle the IDETouchBarSimulatorService XPC service and call it directly instead of bundling all these unrelated frameworks.

Owner

sindresorhus commented Mar 28, 2017

@yycking Do you have any better ideas?

Contributor

yycking commented Mar 29, 2017

@sindresorhus
I had try to use NSXPCConnection.
And I found that IDETouchBarSimulatorServiceProtocol is exportedInterface on IDETouchBarSimulatorService.xpc
But, still not found any protocol for remoteObjectInterface on IDETouchBarSimulatorService.xpc

sindresorhus merged commit 0e27790 into master Apr 17, 2017

sindresorhus deleted the fix-building-xcode8-3 branch Apr 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment