Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for macOS mojave #195

Closed
LivioGama opened this issue Oct 17, 2018 · 31 comments
Closed

Support for macOS mojave #195

LivioGama opened this issue Oct 17, 2018 · 31 comments
Labels

Comments

@LivioGama
Copy link

Hello,

It doesn't look like it supports mojave right ?

@saagarjha
Copy link
Collaborator

Swimat works for me on Mojave. Is there anything in particular that doesn't work for you?

@LivioGama
Copy link
Author

I previously had it and upgraded and it didn’t work. Then I reinstalled it and i don’t have any Xcode source code Editor in the System preferences

@Jintin
Copy link
Owner

Jintin commented Oct 18, 2018

@LivioGama may I know which way do you install?

@LivioGama
Copy link
Author

I previously used the zip version. Then I used homebrew method. Let me give it a try again..

@LivioGama
Copy link
Author

On version 1.5.3 I have this UI :
capture d ecran 2018-10-18 a 10 13 34

On version 1.5.2 I have this UI :
capture d ecran 2018-10-18 a 10 16 17

But for both version, the Xcode source code editor don't appear in the Extensions.
Previously, before upgrading to mojave I was using version 1.5.1

@LivioGama
Copy link
Author

When I check my com.apple.preferences.extensions.XcodeSourceEditor.plist that is created when I open Swimat, I have this :
capture d ecran 2018-10-18 a 10 55 43

@LivioGama
Copy link
Author

I tried to add manually to the displayOrder array the entry : com.jintin.Swimat.Extension but when I go in the system preference, it removes the entry. What about you what do you have in this file ?
~/Library/Preferences/com.apple.preferences.extensions.XcodeSourceEditor.plist

@Jintin
Copy link
Owner

Jintin commented Oct 18, 2018

screen shot 2018-10-18 at 10 25 43 pm
Is it help?

@LivioGama
Copy link
Author

When I put the same in the plist, when I go in the System preferences > Extensions, the item is removed from the array of the plist :(

@saagarjha
Copy link
Collaborator

What does

$ pluginkit -vmAp com.apple.dt.Xcode.extension.source-editor

give you?

@LivioGama
Copy link
Author

capture d ecran 2018-10-19 a 01 33 10

@saagarjha
Copy link
Collaborator

Hmm, that's very odd. You're sure you have Swimat installed to something like /Applications and you've opened it? Can you search your logs for "Swimat" when opening the application?

@LivioGama
Copy link
Author

LivioGama commented Oct 19, 2018

I just ran the extension code from Xcode and I have an error message :
capture d ecran 2018-10-19 a 11 39 25
Where is supposed to be the file com.apple.dt.Xcode.extension.source-editor ? I don't think I have it...

@LivioGama
Copy link
Author

And when I run Swimat app :
Couldn't read values in CFPrefsPlistSource<0x600002911ab0> (Domain: com.jintin.swimat.configuration, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd

@LivioGama
Copy link
Author

Here is the console :
capture d ecran 2018-10-19 a 11 59 17
I tried creating the mention Group Containers folder manually and re-run Swimat, but still nothing happen, in the System preferences nothing :
capture d ecran 2018-10-19 a 12 02 13

@dakotahavel
Copy link

dakotahavel commented Oct 19, 2018

On version 1.5.3 I have this UI :
capture d ecran 2018-10-18 a 10 13 34

On version 1.5.2 I have this UI :
capture d ecran 2018-10-18 a 10 16 17

But for both version, the Xcode source code editor don't appear in the Extensions.
Previously, before upgrading to mojave I was using version 1.5.1

Just a note here. The button text is being switched to white in dark mode making the ui look like it has no options or cli setup.

@Jintin
Copy link
Owner

Jintin commented Oct 23, 2018

Don't know if it helps, but @LivioGama maybe you can try the 1.6 release version?https://github.com/Jintin/Swimat/releases/tag/v1.6

@akuzminskyi
Copy link

FYI: I use Chrome 70.0.3538.67 and have a warning when trying to open https://github.com/Jintin/Swimat/releases/download/v1.6/Swimat.zip
screenshot 2018-10-23 at 09 05 31

@Jintin
Copy link
Owner

Jintin commented Oct 23, 2018

Yes, I have the same warning, likely .zip is treat as dangerous type of file in download file.
Maybe you can wait to install by brew cask @akuzminskyi .

@LivioGama
Copy link
Author

@Jintin yes it works !!!!! What have you changed ?

@Jintin
Copy link
Owner

Jintin commented Oct 24, 2018

Nothing change, just repackage with the dark mode and xcode 10. @LivioGama

@akuzminskyi
Copy link

I've the same issue as @LivioGama I'm using Swimat 1.6(18), macOS 10.14.2 Beta (18C31g), xcode Version 10.1 (10B61). reinstall, reboot is not working for me

@saagarjha
Copy link
Collaborator

Could you share the output of the command I shared earlier in this thread, as well as where you've put Swimat and whether you've actually opened the application?

@akuzminskyi
Copy link

akuzminskyi commented Nov 7, 2018

@saagarjha

pluginkit -vmAp com.apple.dt.Xcode.extension.source-editor
(no matches)

The app installed to /Applications/ .
Also I've tried to build the app from the sources and have the same result.

default	11:46:08.912948 +0100	Swimat	Current system appearance, (HLTB: 2), (SLS: 1)
default	11:46:08.920684 +0100	Swimat	Post-registration system appearance: (HLTB: 2)
error	11:46:08.930763 +0100	Swimat	Unable to load Info.plist exceptions (eGPUOverrides)
default	11:46:08.943793 +0100	Swimat	NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 0
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x600003c4bf70
 (
    "<NSDarkAquaAppearance: 0x600000a46240>",
    "<NSSystemAppearance: 0x600000a46300>"
)>
default	11:46:09.066980 +0100	Swimat	0x1111c7000 - DocumentLoader::startLoadingMainResource: Returning empty document (frame = 0x1111eb108, main = 1)
default	11:46:09.067258 +0100	Swimat	Memory usage info dump at MainFrameLoadCompleted:
default	11:46:09.067340 +0100	Swimat	  phys_footprint: 7081984
default	11:46:09.067372 +0100	Swimat	  pagecache_page_count: 0
default	11:46:09.067435 +0100	Swimat	  internal: 7086080
default	11:46:09.067486 +0100	Swimat	  javascript_gc_heap_extra_memory_size: 0
default	11:46:09.067540 +0100	Swimat	  resident_size: 24694784
default	11:46:09.067598 +0100	Swimat	  compressed: 0
default	11:46:09.067648 +0100	Swimat	  virtual_size: 6094327808
default	11:46:09.067798 +0100	Swimat	  javascript_gc_heap_capacity: 65536
default	11:46:09.067920 +0100	Swimat	  document_count: 1
default	11:46:09.068236 +0100	Swimat	0x7fe03d5183a0 - PerformanceMonitor::measureCPUUsageInActivityState: Process is using 77.8% CPU in state: VisibleNonActive
default	11:46:09.131447 +0100	Swimat	Memory usage info dump at MainFrameLoadStarted:
default	11:46:09.131479 +0100	Swimat	  phys_footprint: 7122944
default	11:46:09.131507 +0100	Swimat	  pagecache_page_count: 0
default	11:46:09.131572 +0100	Swimat	  internal: 7127040
default	11:46:09.131735 +0100	Swimat	  javascript_gc_heap_extra_memory_size: 0
default	11:46:09.131768 +0100	Swimat	  resident_size: 24748032
default	11:46:09.131796 +0100	Swimat	  compressed: 0
default	11:46:09.131859 +0100	Swimat	  virtual_size: 6094327808
default	11:46:09.131956 +0100	Swimat	  javascript_gc_heap_capacity: 65536
default	11:46:09.132026 +0100	Swimat	  document_count: 1
default	11:46:09.133134 +0100	Swimat	0x7fe03d510d00 - FrameLoader::prepareForLoadStart: Starting frame load (frame = 0x1111eb108, main = 1)
default	11:46:09.133290 +0100	Swimat	0x111182000 - DocumentLoader::startLoadingMainResource: Starting load (frame = 0x1111eb108, main = 1)
default	11:46:09.133331 +0100	Swimat	0x111182000 - DocumentLoader::startLoadingMainResource: Returning substitute data (frame = 0x1111eb108, main = 1)
default	11:46:09.189160 +0100	Swimat	Memory usage info dump at MainFrameLoadCompleted:
default	11:46:09.189193 +0100	Swimat	  phys_footprint: 8224768
default	11:46:09.189213 +0100	Swimat	  pagecache_page_count: 0
default	11:46:09.189229 +0100	Swimat	  internal: 8228864
default	11:46:09.189244 +0100	Swimat	  javascript_gc_heap_extra_memory_size: 0
default	11:46:09.189260 +0100	Swimat	  resident_size: 26710016
default	11:46:09.189284 +0100	Swimat	  compressed: 0
default	11:46:09.189310 +0100	Swimat	  virtual_size: 6096424960
default	11:46:09.189335 +0100	Swimat	  javascript_gc_heap_capacity: 65536
default	11:46:09.189441 +0100	Swimat	  document_count: 2
default	11:46:09.189632 +0100	Swimat	0x7fe03d510d00 - FrameLoader::checkLoadCompleteForThisFrame: Finished frame load (frame = 0x1111eb108, main = 1)
error	11:46:09.195796 +0100	Swimat	Couldn't read values in CFPrefsPlistSource<0x600003448af0> (Domain: com.jintin.swimat.configuration, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
error	11:46:09.462498 +0100	Swimat	        AEGetDescData of non-desc type 'reco' not a good idea
default	11:46:10.321711 +0100	Swimat	27366555: RECEIVED OUT-OF-SEQUENCE NOTIFICATION: 0 vs 207, 513, <private>
default	11:46:19.282035 +0100	Swimat	LSExceptions shared instance invalidated for timeout.

@saagarjha
Copy link
Collaborator

Can you try forcefully adding the plugin with

$ pluginkit -a /Applications/Swimat.app/Contents/PlugIns/Extension.appex/

and then running

$ pluginkit -vmAp com.apple.dt.Xcode.extension.source-editor

after that?

@akuzminskyi
Copy link

akuzminskyi commented Nov 8, 2018

@saagarjha sYes, it helps. Thanks a lot.

@saagarjha
Copy link
Collaborator

Ok, that’s good to hear. Do let me know if the extension decides to disappear in the future, because the documentation for that option warned that this change might not be permanent and that the plugin may be removed from the database if it can’t be found in a later scan. Although, it seems like a good sign that Xcode is now discovering its own plugins whereas it wasn’t before, so it’s possible that the plugin discovery process was just stuck.

P.S. you seem to have posted something that looks like your computer’s serial number; are you sure you meant to do that?

@Jintin
Copy link
Owner

Jintin commented Nov 9, 2018

Seems like I can delete the content, @LivioGama @saagarjha.
Let me know if I can help others

@LoLiik
Copy link

LoLiik commented Aug 8, 2019

@saagarjha

Can you try forcefully adding the plugin with

$ pluginkit -a /Applications/Swimat.app/Contents/PlugIns/Extension.appex/

and then running

$ pluginkit -vmAp com.apple.dt.Xcode.extension.source-editor

after that?

not working for me, still

pluginkit -vmAp com.apple.dt.Xcode.extension.source-editor
(no matches)

reinstall, reboot and previous pluginkit commands doesn't help - no Swimat in system pref extensions
any ideas?

@LoLiik
Copy link

LoLiik commented Aug 8, 2019

macOS update to 10.14.6 helped

@Daocheng
Copy link

Daocheng commented Sep 4, 2019

Same issue here, on macOS 10.14.6 Xcode 10.3
Everything above tried, doesn't help.

2019-09-04 10:43:58.881263+0800 Xcode[22580:424844] [MT] DVTPlugInManager: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for KSImageNamed.ideplugin (com.ksuther.KSImageNamed) not present 2019-09-04 10:43:59.344101+0800 Xcode[22580:424844] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/VVDocumenter-Xcode.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2019-09-04 10:43:59.348162+0800 Xcode[22580:424844] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Swimat.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2019-09-04 10:43:59.349911+0800 Xcode[22580:424844] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/HOStringSense.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2019-09-04 10:43:59.350794+0800 Xcode[22580:424844] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FuzzyAutocomplete.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2019-09-04 10:43:59.352534+0800 Xcode[22580:424844] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ESJsonFormat.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2019-09-04 10:43:59.353526+0800 Xcode[22580:424844] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ClangFormat.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2019-09-04 10:43:59.359319+0800 Xcode[22580:424844] [MT] PluginLoading: Required plug-in compatibility UUID B89EAABF-783E-4EBF-80D4-A9EAC69F77F2 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Auto-Importer.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2019-09-04 10:43:59.777663+0800 Xcode[22580:424844] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null) 2019-09-04 10:43:59.829251+0800 Xcode[22580:424873] flock failed to lock maps file: errno = 35 2019-09-04 10:43:59.830532+0800 Xcode[22580:424873] flock failed to lock maps file: errno = 35 2019-09-04 10:44:01.456764+0800 Xcode[22580:424855] [default] Failed to find extension point com.apple.dt.Xcode.extension.source-editor in the binding map, scanning all extension points 2019-09-04 10:44:01.456817+0800 Xcode[22580:424855] [default] Invalid overlay plist for extension com.jintin.Swimat.Extension (file:///Users/daocheng/Library/Developer/Xcode/DerivedData/Swimat-daxvrovwuzftcxafvlhhpwytiprx/Build/Products/Debug/Swimat.app/Contents/PlugIns/Extension.appex/): (null) 2019-09-04 10:44:01.644965+0800 Xcode[22580:424873] DTDeviceKit: deviceType from c872259ee95f3092824cc1208ec341a0dde7eb43 was NULL 2019-09-04 10:44:01.736419+0800 Xcode[22580:424989] DTDeviceKit: deviceType from c872259ee95f3092824cc1208ec341a0dde7eb43 was NULL 2019-09-04 10:44:01.764856+0800 Xcode[22580:424952] NSURLConnection finished with error - code -1100 2019-09-04 10:44:01.985957+0800 GPUToolsAgent[22583:425010] Mac Agent inited !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants