Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cocoa Pods + Xcode Continuous Integration #1492

Closed
andrewtheis opened this issue Oct 18, 2013 · 4 comments
Closed

Cocoa Pods + Xcode Continuous Integration #1492

andrewtheis opened this issue Oct 18, 2013 · 4 comments

Comments

@andrewtheis
Copy link

Currently, cocoa pods does not play well with Xcode's Continuous Integration feature. Simply adding "pod install" build script phase does not work, probably due to the permissions setup by Xcode's CI server on the code it checks out.

I was able to workaround this by doing some stuff to allow it to be run as sudo, but when it gets to the copy Pods resources phase it fails due to permissions again (probably because "pod install" is now being run as sudo).

Any fix for this? Or workaround?

@mtitolo
Copy link
Member

mtitolo commented Oct 18, 2013

@andrewtheis I've been working on this since the first download of Server and Xcode 5. Currently, there's no good way to do it due to some compiler issues with Xcode. Here's some resources and info:

CocoaPods & Pre-Actions: https://gist.github.com/mtitolo/f5283c54e300d88d9418
Cocoapods doesn't play nice with bots: https://groups.google.com/forum/?fromgroups#!topic/cocoapods/eYL8QB3XjyQ
A radar to dupe: https://devforums.apple.com/message/884853#884853

I'm also emailing with a few devs who have it setup and kind of working-ish, expect a blog post & documentation once we get things figured out 😄

@mtitolo mtitolo closed this as completed Oct 18, 2013
@iandundas
Copy link

Any updates on how you got on, @mtitolo?

@mtitolo
Copy link
Member

mtitolo commented Dec 6, 2013

@iandundas you can follow CocoaPods/guides.cocoapods.org#7 and CocoaPods/blog.cocoapods.org#21 for updates.

@iandundas
Copy link

thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants