From ded95506c6bc8f6c839b1efaf2fc04923498e894 Mon Sep 17 00:00:00 2001 From: Allan Beaufour Date: Wed, 7 Oct 2015 12:52:59 -0400 Subject: fixes localized strings when using CocoaPods Puts strings inside a MASShortcut resource bundle, and looks for locallized strings inside that bundle when used as a CocoaPod --- MASShortcut.podspec | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MASShortcut.podspec') diff --git a/MASShortcut.podspec b/MASShortcut.podspec index 2b66035..8369046 100644 --- a/MASShortcut.podspec +++ b/MASShortcut.podspec @@ -1,3 +1,4 @@ +# coding: utf-8 Pod::Spec.new do |s| s.name = 'MASShortcut' s.version = '2.3.1' @@ -14,4 +15,5 @@ Pod::Spec.new do |s| s.exclude_files = 'Framework/*Tests.m' s.osx.frameworks = 'Carbon', 'AppKit' s.requires_arc = true + s.osx.resource_bundles = { 'MASShortcut' => ['*.lproj'] } end -- cgit v1.2.3