Skip to content

Conversation

@collinjackson
Copy link
Contributor

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these Debug.xcconfig and Release.xcconfig files be in the Flutter directory? Where are they in a normal cocoapods project?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These files are normally in the Pods directory, which I need to check in anyway since we don't want to require people to install CocoaPods to use flutter create. I've added it to this pull request.

@abarth
Copy link
Contributor

abarth commented Jul 12, 2016

LGTM but @chinmaygarde or @tvolkert should review as well.

@collinjackson collinjackson force-pushed the ios_enable_cocoapods branch from 16f9f9d to dd2f933 Compare July 12, 2016 16:59
@collinjackson
Copy link
Contributor Author

@abarth, I figured out how to make flutter run deal with workspaces, will land that as a separate PR (and also remove the dependency on FlutterAppDelegate)

@abarth
Copy link
Contributor

abarth commented Jul 12, 2016

Great!

@collinjackson
Copy link
Contributor Author

@chinmaygarde can you take a look?


target 'Runner' do
# Uncomment this line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure I understand what exactly this does but the Flutter engine is itself a framework.

Copy link
Contributor Author

@collinjackson collinjackson Jul 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is in the default Podfile you get if you say "pod init" so I've left it. If we ever turn Flutter into a Pod we'll want to revisit

@chinmaygarde
Copy link
Member

lgtm. Though I am not too familiar with CocoaPods myself.

@collinjackson collinjackson force-pushed the ios_enable_cocoapods branch from f6f3860 to 613ad60 Compare July 15, 2016 18:26
@eseidelGoogle
Copy link
Contributor

Not sure if you plan to land this? We can also re-do this once we're more able to focus on external development.

@collinjackson
Copy link
Contributor Author

Let's land it. I am happy to maintain a few external CocoaPod plugins and I'm interested in feedback from external developers on whether this is useful.

@devoncarew
Copy link
Contributor

@collinjackson, do end users need to have cocoapods installed now? Or is this change to the template self-contained?

@collinjackson
Copy link
Contributor Author

It should be self-contained. The goal is that users do not need to have cocoapods installed, unless they want to add a cocoapod to their project. If this isn't the case, it's a bug that should be fixed.

@eseidelGoogle
Copy link
Contributor

We've had several reports of pod trouble:
#5543
#5566
Do we believe these are all fixed? Do we need a further fix to our podfiles? Or should we just remove cocoapods all together until we have a larger plan about external plugins?

@collinjackson
Copy link
Contributor Author

I believe they're all the same bug and all are fixed.

I think the lesson here is we need some process that ensures that we push to alpha when critical bugs are fixed, so people don't keep reopening them. Or alternatively, update the setup instructions to point to master.

@collinjackson
Copy link
Contributor Author

See also #5433 would teach Travis to ensures that new projects build successfully

@jmagman jmagman mentioned this pull request Jun 2, 2020
10 tasks
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants