quicktype-xcode icon indicating copy to clipboard operation
quicktype-xcode copied to clipboard

After installed from app store, can't found app in extensions menu

Open 0ber opened this issue 7 years ago • 31 comments

image

0ber avatar Jan 15 '18 07:01 0ber

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.

dvdsgl avatar Jan 15 '18 07:01 dvdsgl

What Xcode version do you have?

dvdsgl avatar Jan 15 '18 07:01 dvdsgl

Version 9.2

0ber avatar Jan 15 '18 14:01 0ber

I tried your developer build, the same result

0ber avatar Jan 15 '18 14:01 0ber

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

0ber avatar Jan 15 '18 14:01 0ber

The App Store version is signed... Any chance you could try on another computer? I’ll try on a new Mac tomorrow.

dvdsgl avatar Jan 15 '18 16:01 dvdsgl

I know this sounds silly, but have you relaunched System Preferences? It needs to reload to discover the extension, apparently.

dvdsgl avatar Jan 15 '18 22:01 dvdsgl

I removed Xvim and XcodeSigner, but it doesn't help.

0ber avatar Jan 16 '18 06:01 0ber

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.

screen shot 2018-01-21 at 12 37 31 pm screen shot 2018-01-21 at 12 40 05 pm screen shot 2018-01-21 at 12 44 43 pm screen shot 2018-01-21 at 12 44 58 pm screen shot 2018-01-21 at 12 52 46 pm

mikealex avatar Jan 21 '18 17:01 mikealex

Alright I’ll try to contact Apple about it.

dvdsgl avatar Jan 21 '18 19:01 dvdsgl

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?

dvdsgl avatar Jan 21 '18 19:01 dvdsgl

Does running sudo /usr/libexec/xpccachectl and rebooting your Mac work? After some research, this is a commonly suggested remedy.

dvdsgl avatar Jan 21 '18 19:01 dvdsgl

Google confirmed, xpccachectl no longer exists in High Sierra.

I'm around until 5pm EST if you'd like to do a screen share.

mikealex avatar Jan 21 '18 19:01 mikealex

BTW, brought down the git version. Build fails because it's missing quicktype.js

mikealex avatar Jan 21 '18 20:01 mikealex

Follow the instructions in the README to build it.

dvdsgl avatar Jan 21 '18 20:01 dvdsgl

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

[email protected] install /Users/mikealex/X-Code/quicktype-xcode npm run build

[email protected] 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! [email protected] build: script/build.sh npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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! [email protected] install: npm run build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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$

mikealex avatar Jan 21 '18 20:01 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

dvdsgl avatar Jan 21 '18 20:01 dvdsgl

Same result

mikealex avatar Jan 21 '18 20:01 mikealex

Only one Xcode installed

mikealex avatar Jan 21 '18 20:01 mikealex

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.

dvdsgl avatar Jan 21 '18 20:01 dvdsgl

Yes, and now it builds in Xcode.

mikealex avatar Jan 21 '18 20:01 mikealex

Make sure you choose the quicktype-xcode target when running form Xcode, this will launch a debug instance of Xcode with a black icon.

dvdsgl avatar Jan 21 '18 20:01 dvdsgl

It ran, but still not appearing in Editor menu.

mikealex avatar Jan 21 '18 20:01 mikealex

So strange. Anythjng useful in the debug output?

dvdsgl avatar Jan 21 '18 20:01 dvdsgl

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.

mikealex avatar Jan 21 '18 20:01 mikealex

Maybe there is some versioning data in the Xcode project file that determines whether it allows extensions to load? That is very weird.

dvdsgl avatar Jan 21 '18 20:01 dvdsgl

@ober01 does it work if you create a new project?

dvdsgl avatar Jan 22 '18 06:01 dvdsgl

no, in my case it doesn't appear in extensions. Look first comment

0ber avatar Jan 22 '18 06:01 0ber

Same thing happening with me, can't find "XCode Source Editor" option under Extensions

jigar007 avatar Aug 03 '18 06:08 jigar007

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?

yaalisri avatar Nov 01 '21 08:11 yaalisri