olivierboucher / StreamCenter

tvOS project that aims at providing various video feeds to the AppleTV.
http://streamcenterapp.com/
MIT License
115 stars 29 forks source link

Do you have any interest in using Cocoapods for this project? #1

Closed mkral closed 9 years ago

mkral commented 9 years ago

I think Cocoapods is pretty universal and it allows better dependency management than using submodules.

Ideally the Pods/ directory would be .git-ignore 'd so it's only the Podfile and Podfile.lock being tracked in git.

Alamofire has a tvOS branch too, in case you didn't know.

olivierboucher commented 9 years ago

Yes, I am using the tvOS branch, unless it just wouldn't compile. I sure have an interest in using Cocoapods. I initially wanted to use as few third party libraries as possible but Alamofire does the job so well. Let's go this way in case we add any other dependencies down the road

mkral commented 9 years ago

I think you should create at least develop branch that we merge pull requests into also.

olivierboucher commented 9 years ago

Doing it right now !

mkral commented 9 years ago

I need to migrate to Alamofire 3.0. Almost done.

olivierboucher commented 9 years ago

I am having issues with cocoapods right now.

[!] ERROR: Parsing unable to continue due to parsing error: contained in the file located at /Users/olivier/Workspace/Rivus/RivusPrototypes/TestTVApp/Podfile.lock

Looking for a solution online

mkral commented 9 years ago

@OlivierBoucher did you do pod setup in the terminal after installing?

mkral commented 9 years ago

@OlivierBoucher I'll add that to the read-me if that's the issue

olivierboucher commented 9 years ago

@mkral I updated all gems by mistake earlier on. I seemed to have broke the yaml parser. I had to delete the Psych gem that was causing conflict.

mkral commented 9 years ago

@OlivierBoucher so is it working for you now?

olivierboucher commented 9 years ago

It is ! I had some warnings but I think you fixed that, I'm a few commits behind

TheGamingStreamsTVApp [Debug]target overrides theEMBEDDED_CONTENT_CONTAINS_SWIFTbuild setting defined inPods/Target Support Files/Pods-GamingStreamsTVApp/Pods-GamingStreamsTVApp.debug.xcconfig'. This can lead to problems with the CocoaPods installation`

Fixed with 4a8c882758fc6ccdbfea3f685ba902d9be9590ff

mkral commented 9 years ago

Yea cocoa pods sets all the build settings up required by the dependency so when in doubt either delete the overwritten value or set it to $(inherited)