문제

I would like to avoid dealing with frustration of importing other projects into my iOS project, so I'm considering using CocoaPods. One of the requirements of using this dependency manager is that I can no longer open .xcodeproj directly, and instead am required to open .xcworkspace.

While I could simply zip the project and send it over to a colleague, can I somehow send a workspace managed by cocoapods, or will the recepient have to have cocoapods installed?

Are there additional complications of using version-control tools, like Git for xcode workspaces managed by CocoaPods?

Thank you !

도움이 되었습니까?

해결책 2

Check your Podfile and Podfile.lock in to source control. Add *.xcworkspace to your .gitignore and ask any collaborators to run pod install when they download it. This is the same process as anything with dependency management such as bundler for Ruby.

다른 팁

You need cocoaPods only to install pods, but not to build/run the project so you can continue to zip the folder containing your project and send it to a colleague that does not have pod installed.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top