1. 31 Oct, 2018 1 commit
    • Dan Field's avatar
      Re-reland Xcode backend refactor (#23762) · fd6b2e19
      Dan Field authored
      * Use Xcode build configurations to drive Flutter build mode
      
      * Proper check wrt local_engine, print error if profile mode misisng
      
      * Remove unused code, update tests, fix template problem, update warning
      
      * fix up warning
      
      * add explanatory dev comment
      
      * fix whitespace
      
      * missing words, change lambda arrow to function body
      
      * error indentation
      
      * Test early exits for xcode_backend.sh
      
      * only on macOS, use right test
      
      * Update error messages
      
      * case insensitive compare for build config
      
      * Update gallery podfile
      
      * update projects to add profile configuration
      
      * make compatible with flavors
      
      * add missing plist files
      
      * add FLUTTER_FRAMEWORK_DIR back, set swift version for profile, tell Podfile about profile
      fd6b2e19
  2. 30 Oct, 2018 2 commits
    • Dan Field's avatar
      Revert "Reland Xcode backend refactor" (#23737) · 7217999a
      Dan Field authored
      * Revert "Update templates (#23698)"
      
      This reverts commit 5b0de6d6.
      
      * Revert "Verify that date/number translations exist for all supported languages (#23692)"
      
      This reverts commit 3449edf2.
      
      * Revert "Reland Xcode backend refactor (#23574)"
      
      This reverts commit 7270f284.
      7217999a
    • Dan Field's avatar
      Reland Xcode backend refactor (#23574) · 7270f284
      Dan Field authored
      * Use Xcode build configurations to drive Flutter build mode
      
      * Proper check wrt local_engine, print error if profile mode misisng
      
      * Remove unused code, update tests, fix template problem, update warning
      
      * fix up warning
      
      * add explanatory dev comment
      
      * fix whitespace
      
      * missing words, change lambda arrow to function body
      
      * error indentation
      
      * Test early exits for xcode_backend.sh
      
      * only on macOS, use right test
      
      * Update error messages
      
      * case insensitive compare for build config
      
      * Update gallery podfile
      
      * update projects to add profile configuration
      
      * make compatible with flavors
      
      * add missing plist files
      7270f284
  3. 19 Jul, 2018 1 commit
  4. 07 May, 2018 1 commit
  5. 18 Dec, 2017 1 commit
  6. 01 Jun, 2017 1 commit
  7. 04 May, 2017 1 commit
  8. 01 May, 2017 1 commit
  9. 10 Apr, 2017 1 commit
    • Jakob Andersen's avatar
      Inject plugin registration. (#9216) · 7ffa82aa
      Jakob Andersen authored
      Added a PluginRegistry to the new project template. The registry files will be automatically updated at build time to register the native plugins.
      
      Fixes #7814.
      7ffa82aa
  10. 23 Mar, 2017 1 commit
    • Chris Bracken's avatar
      Build Flutter app as a framework on iOS (#8971) · 0ee3f57a
      Chris Bracken authored
      **THIS IS A BREAKING CHANGE.** See below for migration steps for
      existing projects.
      
      Previously, Flutter app code was built as a raw dylib on iOS.  Dynamic
      libraries outside of a framework bundle are not supported on iOS, except
      for the system Swift libraries provided by Xcode.
      
      See:
      https://developer.apple.com/library/content/technotes/tn2435/_index.html#//apple_ref/doc/uid/DTS40017543-CH1-TROUBLESHOOTING_BUNDLE_ERRORS-EMBEDDED__DYLIB_FILES
      
      * Migrates Xcode build from app.dylib to App.framework
      * Migrates flutter create template
      * Migrates example projects
      
      Migration steps for existing projects
      =====================================
      
      The following steps should be taken from the root of your Flutter
      project:
      
      1. Edit `ios/.gitignore`: add `/Flutter/App.framework` on a new line.
      2. In the Xcode project navigator, remove `app.dylib` from the Flutter
         folder. Delete this file from the `ios/Flutter` directory in your project.
      3. Run a build to generate `ios/Flutter/App.framework`. From the command
         line, run `flutter build ios`. If you have not configured app signing
         in Xcode, an alternative method is to open the simulator, then run
         `flutter run -d iP`.
      4. In the Xcode project navigator, select the `Runner` project. In the
         project settings that are displayed in the main view, ensure that the
         `Runner` target is selected. You can verify this by exposing the
         sidebar using the [| ] icon in the upper-left corner of the main
         view.
      5. Select the *General* tab in the project settings. Under the
         *Embedded Binaries* section, click '+' to add `App.framework`. In the
         sheet that drops down, click the *Add Other...* button. Navigate to
         the `ios/Flutter` directory and select `App.framework`. Click *Open*.
         In the sheet that drops down, select *Create folder references*, then
         click *Finish*.
      6. In the project settings, verify that `App.framework` has been added to the
         *Embedded Binaries* and *Linked Frameworks and Libraries* lists.
      7. In the Xcode project navigator, drag `App.framework` under the
         Flutter folder.
      8. In the Xcode project navigator, select `Flutter` then from the
         *File* menu, select *Add Files to "Runner"...*. Navigate to the
         `ios/Flutter` directory, select `AppFrameworkInfo.plist` and click
         the *Add* button.
      9. From the command line, in your project directory, run
         `flutter build clean`, then `flutter run`.
      
      At this point your project should be fully migrated.
      0ee3f57a
  11. 07 Mar, 2017 1 commit
  12. 06 Mar, 2017 1 commit
  13. 09 Feb, 2017 1 commit
  14. 07 Feb, 2017 1 commit
    • Chris Bracken's avatar
      Thin iOS app frameworks to the target architecture (#7913) · 1926d111
      Chris Bracken authored
      * Support thinning iOS frameworks to supported architectures
      
      When building against frameworks that are distributed as
      multi-architecture fat binaries, we want to strip the frameworks we
      distribute down to only the architectures specified in $ARCHS.
      
      This patch adds:
      * The ability to specify commands to xcode_backend.sh (if none is
        specified, run BuildApp for backward compatibility).
      * A 'thin' command that invokes lipo to thin down the distributed as
        described above.
      
      * Add framework thinning step to iOS build
      
      Invokes xcode_backend.sh thin on the build application.
      
      * Limit architectures to arm64 in Xcode template
      
      Flutter does not yet support armv7 iOS devices. Limit the $ARCHS build
      variable to arm64 until then.
      1926d111
  15. 26 Sep, 2016 1 commit
  16. 05 Aug, 2016 3 commits
  17. 15 Jul, 2016 1 commit
  18. 12 Jul, 2016 1 commit
  19. 06 Jul, 2016 1 commit
  20. 12 Jun, 2016 1 commit
  21. 31 May, 2016 1 commit
  22. 29 May, 2016 1 commit