diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-09-20 03:48:13 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-09-20 03:48:13 +0300 |
commit | af6e4b99a757c58404b5b4b3adc94ffeb784199d (patch) | |
tree | 6e3fe795ee67207f8be284a7a1bbc50cd82a2df1 /ios/Podfile | |
parent | 75774f00f240d228a3958fa002fde29c9a94f877 (diff) |
Initial full migration of the project.
Changes to be committed:
new file: .gitignore
new file: .metadata
new file: README.md
new file: analysis_options.yaml
new file: android/.gitignore
new file: android/app/build.gradle
new file: android/app/src/debug/AndroidManifest.xml
new file: android/app/src/main/AndroidManifest.xml
new file: android/app/src/main/kotlin/com/example/ocr/MainActivity.kt
new file: android/app/src/main/res/drawable-hdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-mdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-v21/launch_background.xml
new file: android/app/src/main/res/drawable-xhdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-xxhdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-xxxhdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable/launch_background.xml
new file: android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file: android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file: android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file: android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file: android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file: android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file: android/app/src/main/res/values-night/styles.xml
new file: android/app/src/main/res/values/colors.xml
new file: android/app/src/main/res/values/styles.xml
new file: android/app/src/profile/AndroidManifest.xml
new file: android/build.gradle
new file: android/gradle.properties
new file: android/gradle/wrapper/gradle-wrapper.properties
new file: android/settings.gradle
new file: assets/MegaViewLogo.png
new file: ios/.gitignore
new file: ios/Flutter/AppFrameworkInfo.plist
new file: ios/Flutter/Debug.xcconfig
new file: ios/Flutter/Release.xcconfig
new file: ios/Podfile
new file: ios/Podfile.lock
new file: ios/Runner.xcodeproj/project.pbxproj
new file: ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file: ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file: ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file: ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file: ios/Runner.xcworkspace/contents.xcworkspacedata
new file: ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file: ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file: ios/Runner/AppDelegate.swift
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file: ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file: ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file: ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file: ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file: ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file: ios/Runner/Base.lproj/LaunchScreen.storyboard
new file: ios/Runner/Base.lproj/Main.storyboard
new file: ios/Runner/Info.plist
new file: ios/Runner/Runner-Bridging-Header.h
new file: ios/RunnerTests/RunnerTests.swift
new file: lib/main.dart
new file: lib/result_screen.dart
new file: pubspec.lock
new file: pubspec.yaml
new file: test/widget_test.dart
Diffstat (limited to 'ios/Podfile')
-rw-r--r-- | ios/Podfile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/ios/Podfile b/ios/Podfile new file mode 100644 index 0000000..09fb929 --- /dev/null +++ b/ios/Podfile @@ -0,0 +1,55 @@ +# Uncomment this line to define a global platform for your project +platform :ios, '11.0' + +# CocoaPods analytics sends network stats synchronously affecting flutter build latency. +ENV['COCOAPODS_DISABLE_STATS'] = 'true' + +project 'Runner', { + 'Debug' => :debug, + 'Profile' => :release, + 'Release' => :release, +} + +def flutter_root + generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) + unless File.exist?(generated_xcode_build_settings_path) + raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" + end + + File.foreach(generated_xcode_build_settings_path) do |line| + matches = line.match(/FLUTTER_ROOT\=(.*)/) + return matches[1].strip if matches + end + raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" +end + +require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) + +flutter_ios_podfile_setup + +target 'Runner' do + use_frameworks! + use_modular_headers! + + flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) +end + +# Modify the last part of this file to look like this: + +post_install do |installer| + installer.pods_project.targets.each do |target| + flutter_additional_ios_build_settings(target) + + target.build_configurations.each do |config| + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion + + config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [ + '$(inherited)', + + ## dart: PermissionGroup.camera + 'PERMISSION_CAMERA=1', + ] + + end + end +end
\ No newline at end of file |