• 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
..
Flutter Loading commit data...
Pods Loading commit data...
Runner Loading commit data...
Runner.xcodeproj Loading commit data...
Runner.xcworkspace Loading commit data...
.gitignore Loading commit data...
Podfile Loading commit data...
Podfile.lock Loading commit data...