Xcodegen: Add Podfile generation

Created on 7 Nov 2017  路  3Comments  路  Source: yonaskolb/XcodeGen

I'd like to have an option to add Podfile with some pods to project.

Thanks for your awesome project.

feature

Most helpful comment

why not just generate the project with xcodegen, then generate the workspace with pod install? and just manually handle the project.yaml and Podfile.

All 3 comments

Thanks for the suggestion @ismetanin!
While that would be useful, I think there are too many edge cases around generating a podfile, and it can become quite complex. Generating a very basic podfile that makes a lot of assumptions with no specific versions would be possible, but I don't know how useful that is? We could of course build something smarter with a lot of options, but I'd prefer to keep XcodeGen focused on xcode project generation, instead of package management for now.

I'd like to add some base pods and install it after generating instead configuring Podfile by myself. I mean we don't need something smarter, just like this:

platform :ios, '9.0'

target 'MyProject' do

use_frameworks!

pod 'Crashlytics'
pod 'Fabric'
pod 'Alamofire'
pod 'AlamofireImage'
pod 'AlamofireNetworkActivityIndicator'

end

why not just generate the project with xcodegen, then generate the workspace with pod install? and just manually handle the project.yaml and Podfile.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

djbe picture djbe  路  6Comments

brentleyjones picture brentleyjones  路  6Comments

lukewakeford picture lukewakeford  路  6Comments

rpassis picture rpassis  路  5Comments

JFryer12 picture JFryer12  路  6Comments