zats / AdjustFontSize-Xcode-Plugin

Instant font size adjustment with control – / control +
270 stars 33 forks source link

Problem in Xcode 7.3 beta #28

Closed venkatyarl closed 8 years ago

venkatyarl commented 8 years ago

I just started working in Xcode and I installed Xcode 7.3 beta and I am having problems trying to run the script.

Error: performSelector may cause a leak because its selector is unknown

The problem seems to exist in this piece of code. if ([[self _currentWindowResponder] respondsToSelector:NSSelectorFromString(@"_themeFontsAndColorsUpdated")]) { [[self _currentWindowResponder] performSelector:NSSelectorFromString(@"_themeFontsAndColorsUpdated") withObject:nil]; }

This is what i see in the console 2016-02-24 19:49:48.146 Xcode[2395:88357] Updating Repo: /Users/venkat/Library/Application Support/Alcatraz/Plug-ins/Alcatraz git version 2.6.4 (Apple Git-63) 2016-02-24 19:49:48.808 Xcode[2395:88247] ### Failed to load Addressbook class CNContactNameFormatter 2016-02-24 19:49:49.379 Xcode[2395:88356] DeveloperPortal: Using pre-existing current store at URL (file:///Users/venkat/Library/Developer/Xcode/DeveloperPortal%207.2.1.db). 2016-02-24 19:49:53.023 Xcode[2395:88247] Git fetch output: 2016-02-24 19:49:53.545 Xcode[2395:88355] IDEIndexDatabase: sqlite3_exec failed (10|2: disk I/O error) ... PRAGMA fullfsync=off; PRAGMA synchronous=off; PRAGMA temp_store=memory; PRAGMA automatic_index=off; 2016-02-24 19:49:53.938 Xcode[2395:88547] IDEIndexing: Index database reported error, workspace 'AdjustFontSize' Error Domain=NSCocoaErrorDomain Code=256 "sqlite3_exec failed (10|2: disk I/O error)" UserInfo={NSURL=file:///Users/venkat/Library/Developer/Xcode/DerivedData/AdjustFontSize-atyycvdsydxuzjgwdadtgxvbxgea/Index/Debug/macosx10.11-x86_64/AdjustFontSize.xcindex/db.xcindexdb, NSLocalizedDescription=sqlite3_exec failed (10|2: disk I/O error), NSLocalizedFailureReason=PRAGMA fullfsync=off; PRAGMA synchronous=off; PRAGMA temp_store=memory; PRAGMA automatic_index=off;} 2016-02-24 19:49:54.002 Xcode[2395:88518] IDEIndexDatabase: sqlite3_exec failed (10|2: disk I/O error) ... PRAGMA fullfsync=off; PRAGMA synchronous=off; PRAGMA temp_store=memory; PRAGMA automatic_index=off; 2016-02-24 19:49:54.024 Xcode[2395:88247] Git reset output: HEAD is now at 86b3f9b updated install script for version 1.1.16 2016-02-24 19:49:54.054 Xcode[2395:88542] IDEIndexing: Index database reported error, workspace 'AdjustFontSize' Error Domain=NSCocoaErrorDomain Code=256 "sqlite3_exec failed (10|2: disk I/O error)" UserInfo={NSURL=file:///Users/venkat/Library/Developer/Xcode/DerivedData/AdjustFontSize-atyycvdsydxuzjgwdadtgxvbxgea/Index/Debug/macosx10.11-x86_64/AdjustFontSize.xcindex/db.xcindexdb, NSLocalizedDescription=sqlite3_exec failed (10|2: disk I/O error), NSLocalizedFailureReason=PRAGMA fullfsync=off; PRAGMA synchronous=off; PRAGMA temp_store=memory; PRAGMA automatic_index=off;} 2016-02-24 19:49:54.054 Xcode[2395:88542] IDEIndexing: Error during error recovery for workspace 'AdjustFontSize' 2016-02-24 19:49:54.054 Xcode[2395:88542] IDEIndexing: Reopening database read-only, workspace 'AdjustFontSize' 2016-02-24 19:49:54.238 Xcode[2395:88333] IDEIndexDatabase: sqlite3_exec failed (10|2: disk I/O error) ... PRAGMA fullfsync=off; PRAGMA synchronous=off; PRAGMA temp_store=memory; PRAGMA automatic_index=off; 2016-02-24 19:49:54.285 Xcode[2395:88247] Failed to connect (bottomToSubtitleSpacingConstraint) outlet from (DVTTableCellViewMultiLine) to (NSLayoutConstraint): missing setter or instance variable 2016-02-24 19:49:54.286 Xcode[2395:88247] Failed to connect (topToTitleSpacingConstraint) outlet from (DVTTableCellViewMultiLine) to (NSLayoutConstraint): missing setter or instance variable 2016-02-24 19:49:54.340 Xcode[2395:88542] IDEIndexing: Index database reported error, workspace 'AdjustFontSize' Error Domain=NSCocoaErrorDomain Code=256 "sqlite3_exec failed (10|2: disk I/O error)" UserInfo={NSURL=file:///Users/venkat/Library/Developer/Xcode/DerivedData/AdjustFontSize-atyycvdsydxuzjgwdadtgxvbxgea/Index/Debug/macosx10.11-x86_64/AdjustFontSize.xcindex/db.xcindexdb, NSLocalizedDescription=sqlite3_exec failed (10|2: disk I/O error), NSLocalizedFailureReason=PRAGMA fullfsync=off; PRAGMA synchronous=off; PRAGMA temp_store=memory; PRAGMA automatic_index=off;} 2016-02-24 19:49:54.340 Xcode[2395:88542] IDEIndexing: Error during error recovery for workspace 'AdjustFontSize' 2016-02-24 19:49:54.340 Xcode[2395:88542] IDEIndexing: Fatal indexing error(s), abandoning database for workspace 'AdjustFontSize'.

zats commented 8 years ago

Hi, could you please clarify how did you install the plugin?

tobiasgozzi commented 8 years ago

same happened to me. downloaded the plugin, right clicked and selected 'open with... Xcode beta 7.3'. Then I clicked the 'build and run' button and a 'building succeeded' message showed up, along with the message 'Could not launch “Xcode”'. On the left side some warnings are now highlighted, see the attached file for details.

screen shot 2016-02-27 at 15 18 51

zats commented 8 years ago

Could you please give Alcatraz a try and let me know if that worked? Thanks!

venkatyarl commented 8 years ago

The Alcatraz isn't working yet. What other info do you need. Tried running this in 7.2 and it works great, but when I try to run in 7.3 beta thats when I see problems.

Vinny

zats commented 8 years ago

Thanks for additional info! I'll take a look shortly.

zats commented 8 years ago

Should be fixed now, please reopen if the issue still persists. Note that the hotkey binding has changed