BenjaminPrieur / IOStickyHeader

Parallax and Sticky header done right using UICollectionViewLayout
MIT License
196 stars 24 forks source link

pod install error #4

Closed deter3 closed 9 years ago

deter3 commented 9 years ago

run pod install in example folder ,

[!] Unable to satisfy the following requirements:

xcode 7.0.1 swift 2.0

can you fix it ?

P.S. btw , thanks for pointing out need to implement the custom flow layout , you saved me lots of time .

BenjaminPrieur commented 9 years ago

Did you keep the example project in the IOStickyHeader directory?

Other solution is to replace " pod "IOStickyHeader", :path => "../" " with " pod "IOStickyHeader" " in Podfile

keep me posted if it fixed your problem

deter3 commented 9 years ago
  1. I kept example folder .
  2. I tried " pod "IOStickyHeader" , and pod install in example folder , installed successfully . when build project , the result is "diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation."
  3. my cocoapods is 0.39 , xcode 7 .0.1 .
BenjaminPrieur commented 9 years ago

My bad... :/ Podfile.lock could be in .gitignore You just need to remove Podfile.lock and run pod install.