MagicalRecordをCocoaPodsでインストールすると落ちる問題

普通にpodをinitして、MagicalRecordをインストールしようとすると落ちる問題です。

```
$pod init
```

```
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!

target 'hogehoge_app' do
 pod 'MagicalRecord'
end


```

```
$pod install
```

すると…

```lighttpd

### Error

NoMethodError - undefined method `to_ary' for #<Pod::Specification name="MagicalRecord">
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/resolver/lazy_specification.rb:14:in `method_missing'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/resolver.rb:64:in `flatten'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/resolver.rb:64:in `block in resolve'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/resolver.rb:63:in `tap'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/resolver.rb:63:in `resolve'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer.rb:539:in `block in resolve_dependencies'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface.rb:59:in `section'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer.rb:537:in `resolve_dependencies'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/installer/analyzer.rb:70:in `analyze'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:213:in `analyze'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:136:in `block in resolve_dependencies'


  1 # Uncomment this line to define a global platform for your project
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/user_interface.rb:59:in `section'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:135:in `resolve_dependencies'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/installer.rb:105:in `install!'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/command/project.rb:71:in `run_install_with_update'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/command/project.rb:101:in `run'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/claide-0.9.1/lib/claide/command.rb:312:in `run'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/lib/cocoapods/command.rb:47:in `run'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/lib/ruby/gems/2.3.0/gems/cocoapods-0.39.0/bin/pod:44:in `<top (required)>'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/bin/pod:23:in `load'
/Users/takujifunao/.rbenv/versions/2.2.0-dev/bin/pod:23:in `<main>'


――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

[!] Oh no, an error occurred.
```

どかっとエラーがでます笑

##何が起きてるか調べる
以下のコマンドを打ちます。

```
$pod install --verbose
```
したらこんな感じで出てきました。

```lighttpd

Updating spec repo `master`
  $ /usr/bin/git pull --ff-only
  Already up-to-date.

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods`: (``)
  Using `ARCHS` setting to build architectures of target `Pods-hogehoge_app`: (``)
  Using `ARCHS` setting to build architectures of target `Pods-hogehoge_appTests`: (``)

Finding Podfile changes
  A MagicalRecord
  R MagicalRecord/Shorthand

Resolving dependencies of `Podfile`
```

##Finding Podfile changesが…！

という訳で

```
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!

target 'hogehoge_app' do
 pod 'MagicalRecord/Shorthand'
end


```

と書き直したら上手く行きました。
よかった！