-
Notifications
You must be signed in to change notification settings - Fork 40
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
Is there a way to ignore existing Podfile? #33
Comments
|
Unfortunately it doesn't.
|
Btw, the workaround that I ended up using is creating (empty) Podfile in the same directory as the podspec. |
In that example, it doesn’t look like you’re actually passing the flag? |
@segiddins Uh, sorry, it was my error during "copy-pasting", it had This is the script of the invocations:
|
I need |
I'm currently in progress of working on a module inside a big project. The module is kept in a subfolder of the root where the project Podfile is located. I'm not interested at the moment in integration with the project. However when I do
pod gen
in the subfolder, it detects the Podfile at the upper level and tries to interpret it, producing some warnings (irrelevant to the module I work on/potentially triggered due to loading Podfile multiple times) and actually misbehaving e.g. by outputtingOpen subfolder/gen/Module/Module.xcworkspace to work on Module
(i.e. path is relative to Podfile not to the current directory).The workaround for me is to rename Podfile to e.g. Podfile.ignored. But it would be great to have a way to ignore the Podfile by specifying e.g.
--no-use-podfile
or something like that. Probably I miss something (I'm not experienced with Ruby gems/command line option parsers).The text was updated successfully, but these errors were encountered: