yonaskolb / XcodeGen

A Swift command line tool for generating your Xcode project
MIT License
7.01k stars 818 forks source link

Issue navigator shows "Update to recommended settings" after updating Xcode to version 14.3 #1349

Closed Adobels closed 1 year ago

Adobels commented 1 year ago

After updating Xcode to version 14.3, I noticed that the issue navigator shows an issue with the message "Update to recommended settings". When I click on the details of this issue, I see two sections: "Build settings" and "Project settings".

"Build Settings"

Could you please provide any guidance on how to resolve this issue?

krishsatya commented 1 year ago

Checking the "Parallelize build for command-line builds" checkbox sets BuildIndependentTargetsInParallel to YES in the Xcode project file. That might be helpful to anyone working on a PR.

kaienkira commented 1 year ago

attribute BuildIndependentTargetsInParallel is default to YES, that's not working at all

joristimmerman commented 1 year ago

I was able to suppress the warning by defining the project attributes for both BuildIndependentTargetsInParallel and the Xcode version (LastUpgradeCheck).

attributes:
  LastUpgradeCheck: "1430"
  BuildIndependentTargetsInParallel: true

Edit: And for the Target 'Designable' - Enable Module Verifier-bit, I added the following settings:

settings:
  base:
    ...
    ENABLE_MODULE_VERIFIER: true
    MODULE_VERIFIER_SUPPORTED_LANGUAGES: "objective-c objective-c++"
    MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS: "gnu11 gnu++14"
razor313 commented 1 year ago

In my case, it has been solved by adding the following lines: 🤷🏻‍♂️

attributes:
  LastUpgradeCheck: "1430"
yonaskolb commented 1 year ago

Should be resolved in 2.36.0