theappbusiness / ConfigGenerator

Configuration file code generator for use in Xcode projects
MIT License
157 stars 19 forks source link

1.1.2 regression build failure #51

Open chenrui333 opened 3 months ago

chenrui333 commented 3 months ago

👋 I am trying to build configen for sonoma arm, but ran into some build failure as below:

...
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target x86_64-apple-macos10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Os -L/tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/EagerLinkingTBDs/Release -L/tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/Release -F/tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/EagerLinkingTBDs/Release -F/tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/Release -filelist /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/configen.build/Release/configen.build/Objects-normal/x86_64/configen.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker @executable_path/../Frameworks -Xlinker -rpath -Xlinker @loader_path/../Frameworks -Xlinker -object_path_lto -Xlinker /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/configen.build/Release/configen.build/Objects-normal/x86_64/configen_lto.o -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/configen.build/Release/configen.build/Objects-normal/x86_64/configen.swiftmodule -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/configen.build/Release/configen.build/Objects-normal/x86_64/configen_dependency_info.dat -o /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/Release/configen
  clang: error: SDK does not contain 'libarclite' at the path '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_macosx.a'; try increasing the minimum deployment target

  Copy /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/Release/configen.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/configen.build/Release/configen.build/Objects-normal/x86_64/configen.swiftsourceinfo (in target 'configen' from project 'configen')
      cd /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2
      builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/configen.build/Release/configen.build/Objects-normal/x86_64/configen.swiftsourceinfo /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/Release/configen.swiftmodule/Project/x86_64-apple-macos.swiftsourceinfo

  /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/configen.xcodeproj: warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 10.10, but the range of supported deployment target versions is 10.13 to 14.4.99. (in target 'configen' from project 'configen')
  ** BUILD FAILED **

  The following build commands failed:
    Ld /tmp/configen-20240804-4564-py2xbh/ConfigGenerator-1.1.2/build/Release/configen normal (in target 'configen' from project 'configen')
  (1 failure)

full log in here, https://github.com/Homebrew/homebrew-core/actions/runs/10231498764/job/28319900515

xcode 15.3 (issue reproducible for xcode 15.2 as well)