• 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
Name
Last commit
Last update
..
.idea Loading commit data...
android Loading commit data...
ios.tmpl Loading commit data...
lib Loading commit data...
.gitignore.tmpl Loading commit data...
README.md.tmpl Loading commit data...
pubspec.yaml.tmpl Loading commit data...