Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/flutter_tools/lib/src/template.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class Template {
// Step 4: This file does not end in .tmpl but is in a directory that
// does. Directly copy the file to the destination.

finalDestinationFile.writeAsBytesSync(sourceFile.readAsBytesSync());
sourceFile.copySync(finalDestinationFile.path);
});
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "Generated.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
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.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include "Generated.xcconfig"
#include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
10 changes: 10 additions & 0 deletions packages/flutter_tools/templates/create/ios.tmpl/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'

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

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


# Pods for Runner

end
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PODFILE CHECKSUM: fe68fbd35e5bc75c5acdec41319edc0cdaebd038

COCOAPODS: 1.0.1

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading