Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this compile for anyone, using XCode 16.1 and MacOS 15.1? #521

Open
dclive opened this issue Nov 1, 2024 · 5 comments
Open

Does this compile for anyone, using XCode 16.1 and MacOS 15.1? #521

dclive opened this issue Nov 1, 2024 · 5 comments

Comments

@dclive
Copy link

dclive commented Nov 1, 2024

M2 Ultra user here, using xcode 16.1 and MacOS 15.1.

The script runs for a bit, then I get:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /Users/USERNAME/Downloads/XcodeBenchmark-master/DerivedData/SDKStatCaches.noindex/iphoneos18.1-22B74-456b5073a84ca8a40bffd5133c40ea2b.sdkstatcache -fmessage-length=127 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fcolor-diagnostics -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/USERNAME/Downloads/XcodeBenchmark-master/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/USERNAME/Downloads/XcodeBenchmark-master/DerivedData/Index.noindex/DataStore @/Users/USERNAME/Downloads/XcodeBenchmark-master/DerivedData/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/BoringSSL-GRPC.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -DOPENSSL_NO_ASM -GCC_WARN_INHIBIT_ALL_WARNINGS -w -DBORINGSSL_PREFIX=GRPC -fno-objc-arc -w -Xanalyzer -analyzer-disable-all-checks -include /Users/USERNAME/Downloads/XcodeBenchmark-master/Pods/Target\ Support\ Files/BoringSSL-GRPC/BoringSSL-GRPC-prefix.pch -MMD -MT dependencies -MF /Users/USERNAME/Downloads/XcodeBenchmark-master/DerivedData/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/BoringSSL-GRPC.build/Objects-normal/arm64/tls_record.d --serialize-diagnostics /Users/USERNAME/Downloads/XcodeBenchmark-master/DerivedData/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/BoringSSL-GRPC.build/Objects-normal/arm64/tls_record.dia -c /Users/USERNAME/Downloads/XcodeBenchmark-master/Pods/BoringSSL-GRPC/src/ssl/tls_record.cc -o /Users/USERNAME/Downloads/XcodeBenchmark-master/DerivedData/Build/Intermediates.noindex/Pods.build/Debug-iphoneos/BoringSSL-GRPC.build/Objects-normal/arm64/tls_record.o -index-unit-output-path /Pods.build/Debug-iphoneos/BoringSSL-GRPC.build/Objects-normal/arm64/tls_record.o

clang: error: unsupported option '-G' for target 'arm64-apple-ios14.5'

@dclive
Copy link
Author

dclive commented Nov 1, 2024

Going into xcode / settings / components, the oldest ios simulator I can add is 15.0. Not sure if that matters / if iOS 14.5 was there on a previous version....

@spencekl99
Copy link
Contributor

spencekl99 commented Nov 1, 2024

Yes, you need to have the iOS 18.1 simulator installed to run this benchmark on Xcode 16.1. Try deleting the current simulators you have and install the latest in Xcode.

@dclive
Copy link
Author

dclive commented Nov 1, 2024

Right, and I do, and I get the above error. To be completely clear: I have 18.1 on there. I have no other iOS sims on there now, having removed the 17.x series. I get the above error still.

My point in mentioning 14.5 was because of that 14.5 error - I thought perhaps it required some ancient version of the iOS sim on there.

Any other ideas on what's wrong?

@spencekl99
Copy link
Contributor

Something must be wrong with Xcode's install. Have you tried uninstalling it? And reinstalling it.

@dclive
Copy link
Author

dclive commented Nov 5, 2024

Yup; no change. Not sure what's wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants