bkobilansky / GenerateSwiftInit

Proof of concept for Xcode 8 source extensions; generate a Swift init from current selection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions

ltlombardi opened this issue · comments

A little instructions on how to install?
thanks😀

README included.

I don't have a clean second machine to test the included Mac app on, so let me know if there are other issues.

The included app didn't work on my mac. I'm running 10.11.6

Tried to build the app. I run the GenerateSwiftInit target and updated code signing information. A small Windows showed up, like the one attached. Don't know what to do with it.

I tried to copy the GenerateSwiftInit.app in the Finder and paste it in the /Applications folder, and then went to System Preferences > Extensions , but it didn't showed up.

Don't know what to do next. :-(

screenshot 2016-11-18 16 50 57

On 10.11.x, there is an additional step involving xpccachectl and a system restart. Take a look at this overview, it might be helpful. You might also want to take a look at other extensions, like SwiftFormat.

Having said that, I have no plans to support 10.11.x on this project. I'd welcome a PR if you can figure out how to fix this, but I'm already running 10.12 and don't have hardware to debug on.

I tried a lot, but couldn't make it work. Tried other extensions also. Gave up, and installed OS X 10.12 Sierra. Now it works