sonoramac / Sonora

A minimal, beautifully designed music player for OS X.
http://getsonora.com
Other
932 stars 135 forks source link

Can't build due to INAppStoreWindow pod spec #62

Closed aknuds1 closed 9 years ago

aknuds1 commented 10 years ago

When attempting to install dependencies via CocoaPods, prior to building Sonora itself, it breaks due to an issue in INAppStoreWindow.podspec:

➜  Sonora git:(master) ✗ pod install
Analyzing dependencies
Pre-downloading: `INAppStoreWindow` from `git://github.com/sonoramac/INAppStoreWindow.git`

[!] Invalid `INAppStoreWindow.podspec` file: [!] [INAppStoreWindow (1.2)] Clean paths are deprecated. CocoaPods now cleans unused files by default. Use the `preserve_paths` attribute if needed.. Updating CocoaPods might fix the issue.

 #  from /Users/arve/Projects/Sonora/Pods/Local Podspecs/INAppStoreWindow.podspec:9
 #  -------------------------------------------
 #      s.source        = { :git => 'https://github.com/indragiek/INAppStoreWindow.git', :tag => 'v1.2' }
 >      s.clean_paths   = 'SampleApp'
 #      s.platform      = :osx
 #  -------------------------------------------
ahaghgoo commented 10 years ago

I'm having the same issue. Anyone able to resolve this?

toricls commented 10 years ago

Using forked repository is the most easiest way thanks to @SilverXXX

  1. Remove original podspec definition pod repo remove Sonora-Podspecs
  2. Add new podspec repo pod repo add Sonora-Podspecs git://github.com/SilverXXX/Podspecs.git master
  3. Change Podfile l.6 in the Sonora repos root pod 'INAppStoreWindow', :git => 'git://github.com/SilverXXX/INAppStoreWindow.git'
  4. Remove cached directories Sonora/Pods directory and $HOME/Library/Caches/CocoaPods directory
  5. Done! pod install
keith commented 9 years ago

Fixed in https://github.com/sonoramac/Sonora/pull/63