viniciusmo / extract-localizable-string-plugin-xcode

Xcode plugin for quickly creating localized strings
219 stars 35 forks source link

Does not work on XCode 7.3 (7D175) #30

Open rsaenzi opened 8 years ago

rsaenzi commented 8 years ago

Hi Vinícius:

Thanks for share this wonderful plugin, it has been saved tons of development hours!

Unfortunately, the plugin does not work at all in latest XCode version: XCode 7.3 (7D175), fix it please!

The command "Extract Localization String" is not displayed in the Edit -> Refactor menu, and the shortcut is not working either...

I tried reinstalling the plugin, using two ways: Alcatraz and Building the source project, neither of them made the plugin to work as always...

Thanks again for this Must-Have plugin! I hope it gets fixed soon...

Rigoberto Saenz Imbacuan https://www.linkedin.com/in/rsaenzi

Sander-Kornev commented 8 years ago

Upvote for the issue to be resolved. My suspicion, that it is connected with the Xcode 7.3 , because it has separated Convert and Refactor sections.

Sander-Kornev commented 8 years ago

Finally, I've struggled it. The problem was in new DVTPlugInCompatibilityUUID had to be added with new Xcode 7.3 I've added pull request with the fix https://github.com/viniciusmo/extract-localizable-string-plugin-xcode/pull/31

jeryRazakarison commented 8 years ago

Nice! Thank you ;) And for those who don't want to wait you can

  1. Install the plugin via Alcatraz
  2. Launch in the terminal: defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
  3. Use the returned UUID in this other command : find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add <the-previous-uuid>
  4. restart XCode