Skip to content

☂️ Remove bitcode support on iOS #107887

Description

@jmagman

Apple is dropping support for bitcode submissions in Xcode 14/iOS 16. Remove it from Flutter.

Starting with Xcode 14, bitcode is no longer required for watchOS and tvOS applications, and the App Store no longer accepts bitcode submissions from Xcode 14.

Xcode no longer builds bitcode by default and generates a warning message if a project explicitly enables bitcode: “Building with bitcode is deprecated. Please update your project and/or target settings to disable bitcode.” The capability to build with bitcode will be removed in a future Xcode release. IPAs that contain bitcode will have the bitcode stripped before being submitted to the App Store. Debug symbols for past bitcode submissions remain available for download. (86118779)

https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes

Note Apple never used bitcode on macOS so this only impacts iOS.
See #15288 for breadcrumbs of what needs to be removed.

Activity

  1. added
    platform-iosiOS applications specifically
    toolAffects the "flutter" command-line tool. See also t: labels.
    engineflutter/engine related. See also e: labels.
    t: xcode"xcodebuild" on iOS and general Xcode project management
    on Jul 19, 2022
  2. jmagman commented on Jul 19, 2022

    @jmagman
    MemberAuthor

    @dnfield am I missing anything? Can any LTO logic also be removed?

  3. moved this from 🚧 In Progress to 🗺 Planned in Support iOS 16/macOS Ventura/Xcode 14on Jul 19, 2022
  4. locked as off topic and limited conversation to collaborators on Jul 19, 2022
  5. unlocked this conversation on Jul 19, 2022
  6. jmagman commented on Jul 19, 2022

    @jmagman
    MemberAuthor
  7. dnfield commented on Jul 19, 2022

    @dnfield
    Contributor

    This looks good to me

  8. added
    P2Important issues not at the top of the work list
    c: tech-debtTechnical debt, code quality, testing, etc.
    on Jul 25, 2022
  9. moved this from 🗺 Planned to 🚧 In Progress in Support iOS 16/macOS Ventura/Xcode 14on Oct 6, 2022
  10. jmagman commented on Oct 7, 2022

    @jmagman
    MemberAuthor

    The user-facing parts of this are done. Flutter projects with bitcode on should now be off. Flutter frameworks are no longer built with bitcode. Some documentation has been updated to note that bitcode is no longer supported.

    Goma has been turned on in the iOS framework engine builders and are now significantly faster.

    Still need to move the roll scriptoff the ios-release-nobitcode, and announce this in the next release blog post.

  11. jmagman commented on Oct 18, 2022

    @jmagman
    MemberAuthor

    The code part of this is complete and will be available in the next stable, the rest is housekeeping. Closing.

  12. Repository owner moved this from 🚧 In Progress to ✅ Done in Support iOS 16/macOS Ventura/Xcode 14on Oct 18, 2022
  13. github-actions commented on Nov 1, 2022

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  14. locked as resolved and limited conversation to collaborators on Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.platform-iosiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions