pivotal-legacy / PivotalCoreKit

Shared library and test code for iOS and macOS projects
http://pivotallabs.com
Other
168 stars 85 forks source link

CocoaPods 1.0.1 break #191

Closed mgoovaer closed 8 years ago

mgoovaer commented 8 years ago

screen shot 2016-06-03 at 1 34 39 pm screen shot 2016-06-03 at 1 34 56 pm screen shot 2016-06-03 at 1 35 16 pm

Pod installs have worked for us using CocoaPods .39. Lately we tried updating to CocoaPods 1.0.1 and encountered an issue trying to do a pod install. Appears a pivotal core kit reference creates too long of a path causing an "ERRNO:ENAMETOOLONG" error as shown in bottom of picture 'Screen Shot 2016-06-03 at 1.34.56 PM'

briancroom commented 8 years ago

This appears to be a Cocoapods problem, wherein it generates a very long directory name consisting of all the PCK subspecs that are being installed. Do you think you could file an issue with Cocoapods describing this?

lalunamel commented 8 years ago

@tjarratt looks like this can be closed

CocoaPods issue: https://github.com/CocoaPods/CocoaPods/issues/5491 CocoaPods fix: https://github.com/CocoaPods/CocoaPods/pull/5608

The fix was merged into CocoaPods master, but they haven't cut another release with that fix in it (as of the time of writing).

To Fix - As of Aug 11 2016 Install a version of CocoaPods based on a commit made after the fix was merged into master. E.g., for me, using a Gemfile, I replaced

gem 'cocoapods'

with

gem 'cocoapods', :git => 'git@github.com:CocoaPods/CocoaPods.git', :ref => '909f1651b7076fd1459dfa67fec25ebe9a060e21'

tjarratt commented 8 years ago

Thanks for doing this investigation, @lalunamel -- I agree, this can be closed now.

Long live cocoapods!