Open 0ber opened 6 years ago
Strange. I’ll look into it.
You can try one of our developer builds: https://install.appcenter.ms/orgs/quicktype/apps/quicktype-xcode/distribution_groups/Xcode%20Testers
It’s unsigned so you’ll need to right-click to open it.
What Xcode version do you have?
Version 9.2
I tried your developer build, the same result
I also use Xvim2 plugin https://github.com/XVimProject/XVim2, And for working this plugin need signing Xcode https://github.com/XVimProject/XVim2/blob/master/SIGNING_Xcode.md Maybe this is the reason
The App Store version is signed... Any chance you could try on another computer? I’ll try on a new Mac tomorrow.
I know this sounds silly, but have you relaunched System Preferences? It needs to reload to discover the extension, apparently.
I removed Xvim and XcodeSigner, but it doesn't help.
I have similar issues. After installing from the Mac App Store, it does appear in my Xcode extensions and has been enabled, but the menu option doesn't appear in Xcode.
I downloaded the latest upgrade today, but still no luck.
Alright I’ll try to contact Apple about it.
Would either of you be willing to have a screen sharing session where we try to build and debug the extension on your machine together?
Does running sudo /usr/libexec/xpccachectl
and rebooting your Mac work? After some research, this is a commonly suggested remedy.
Google confirmed, xpccachectl no longer exists in High Sierra.
I'm around until 5pm EST if you'd like to do a screen share.
BTW, brought down the git version. Build fails because it's missing quicktype.js
Follow the instructions in the README to build it.
Still no dice. I'm not a Node developer, so I may not have all the tools installed.
Mikes-rMBP:quicktype-xcode mikealex$ npm install
quicktype-xcode@1.0.0 install /Users/mikealex/X-Code/quicktype-xcode npm run build
quicktype-xcode@1.0.0 build /Users/mikealex/X-Code/quicktype-xcode script/build.sh
xcode-select: error: tool 'agvtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
xcode-select: error: tool 'agvtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! quicktype-xcode@1.0.0 build: script/build.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the quicktype-xcode@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mikealex/.npm/_logs/2018-01-21T20_15_21_930Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! quicktype-xcode@1.0.0 install: npm run build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the quicktype-xcode@1.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/mikealex/.npm/_logs/2018-01-21T20_15_21_959Z-debug.log Mikes-rMBP:quicktype-xcode mikealex$
Interesting. Do you have more than one Xcode installed? Try:
xcode-select --install # Install Command Line Tools if you haven't already.
sudo xcode-select --switch /Library/Developer/CommandLineTools # Enable command line tools
Same result
Only one Xcode installed
Did the command still generate quicktype.js? It's only failing when it tries to update the Xcode project version, which is not a necessary step anyway.
Yes, and now it builds in Xcode.
Make sure you choose the quicktype-xcode target when running form Xcode, this will launch a debug instance of Xcode with a black icon.
It ran, but still not appearing in Editor menu.
So strange. Anythjng useful in the debug output?
Ok, it's weird. If I open an existing Swift project, the menu option isn't there. I created a new Swift project, and when I open that project the menu options do appear. This happens in both the debug Xcode and the normal Xcode.
Maybe there is some versioning data in the Xcode project file that determines whether it allows extensions to load? That is very weird.
@ober01 does it work if you create a new project?
no, in my case it doesn't appear in extensions. Look first comment
Same thing happening with me, can't find "XCode Source Editor" option under Extensions
Does it support Xcode 12? I am using Big Sur and QuickType is not showing as an Xcode extension. Please refer to this link. Any update on whether this will be fixed anytime soon?
Sorry, we are not actively working on this project. PRs are welcome to update this, though.