Skip to content

Newly created iOS and macOS projects have "Update to recommended settings" warning in Xcode 15.1 #140253

Description

@jmagman

Updated recommended settings:
iOS app:
Screenshot 2023-12-15 at 2 01 26 PM

macOS app:
Screenshot 2023-12-15 at 2 27 42 PM

  1. Asset symbol extensions ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS seems harmless. Not worth a migration, but we could turn it on in the flutter create template.
  2. Flutter runs on iOS 11, so we shouldn't update the target version until the minimum bumps to iOS 12. Ditto macOS
  3. Should not turn on quoted headers Fix all "Double-quoted include in framework header, expected angle-bracketed instead" warnings #60025
  4. Definitely shouldn't turn on ENABLE_USER_SCRIPT_SANDBOXING, Flutter xcode_backend is copying files around in derived data:
error: Sandbox: rsync.samba(24872) deny(1) file-write-create /Users/magder/Library/Developer/Xcode/DerivedData/Runner-gnengnkipgqsumexkvwkdczgvrst/Build/Products/Debug-iphoneos/Flutter.framework (in target 'Runner' from project 'Runner')
error: Sandbox: dart(24844) deny(1) file-write-create /Users/magder/Library/Developer/Xcode/DerivedData/Runner-gnengnkipgqsumexkvwkdczgvrst/Build/Products/Debug-iphoneos/.last_build_id (in target 'Runner' from project 'Runner')
error: Flutter failed to write to a file at "/Users/magder/Library/Developer/Xcode/DerivedData/Runner-gnengnkipgqsumexkvwkdczgvrst/Build/Products/Debug-iphoneos/.last_build_id".
  1. BuildIndependentTargetsInParallel should be on in macOS and was already turned on in iOS. https://github.com/flutter/flutter/pull/125827/files#r1181817619
  2. Dead code stripping seems good?

See #125817 and #90304 for previous cases of updating build settings for new Xcode versions.

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    t: xcode"xcodebuild" on iOS and general Xcode project management
    P2Important issues not at the top of the work list
    team-iosOwned by iOS platform team
    triaged-iosTriaged by iOS platform team
    on Dec 15, 2023
  2. self-assigned this
    on Dec 15, 2023
  3. changed the title [-]Newly created iOS project has "Update to recommended settings" warning in Xcode 15.1[/-] [+]Newly created iOS and macOS projects have "Update to recommended settings" warning in Xcode 15.1[/+] on Dec 15, 2023
  4. added
    fyi-iosFor the attention of iOS platform team
    team-toolOwned by Flutter Tool team
    and removed
    team-iosOwned by iOS platform team
    triaged-iosTriaged by iOS platform team
    on Dec 15, 2023
  5. github-actions commented on Jan 18, 2024

    @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.

  6. locked as resolved and limited conversation to collaborators on Jan 18, 2024
  7. added
    fyi-macosFor the attention of macOS platform team
    and removed on Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listfyi-iosFor the attention of iOS platform teamfyi-macosFor the attention of macOS platform teamt: xcode"xcodebuild" on iOS and general Xcode project managementteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions