mirror of
https://github.com/flutter/samples.git
synced 2026-03-28 07:11:50 +00:00
Adds add2app Flutter module and an iOS project to run it. (#126)
This commit is contained in:
27
experimental/add_to_app/SimpleIOSExample/Podfile
Normal file
27
experimental/add_to_app/SimpleIOSExample/Podfile
Normal file
@@ -0,0 +1,27 @@
|
||||
# Uncomment the next line to define a global platform for your project
|
||||
# platform :ios, '9.0'
|
||||
|
||||
# These three lines add the dependencies for example_module to the workspace
|
||||
# for the project:
|
||||
flutter_application_path = '../example_module'
|
||||
`pushd "#{flutter_application_path}" && flutter create . && popd`
|
||||
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
|
||||
|
||||
target 'SimpleIOSExample' do
|
||||
# Comment the next line if you don't want to use dynamic frameworks
|
||||
use_frameworks!
|
||||
|
||||
# Pods for SimpleIOSExample
|
||||
install_all_flutter_pods(flutter_application_path)
|
||||
|
||||
target 'SimpleIOSExampleTests' do
|
||||
inherit! :search_paths
|
||||
# Pods for testing
|
||||
end
|
||||
|
||||
target 'SimpleIOSExampleUITests' do
|
||||
inherit! :search_paths
|
||||
# Pods for testing
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user