spotify / XCMetrics

XCMetrics is the easiest way to collect Xcode build metrics and improve developer productivity.
https://xcmetrics.io
Other
1.1k stars 77 forks source link

Increase minimum version to macOS 13.0 #101

Closed Arafo closed 9 months ago

Arafo commented 10 months ago

Increased minimum macOS version to 13.0 to fix issue #100

Arafo commented 9 months ago

Any idea why is the macOS build failing here @BalestraPatrick?

2023-09-13 08:00:29.278 xctest[15873:39142] The bundle “XCMetricsPackageTests.xctest” couldn’t be loaded. Try reinstalling the bundle.
2023-09-13 08:00:29.278 xctest[15873:39142] (dlopen(/Users/runner/work/XCMetrics/XCMetrics/.build/x86_64-apple-macosx/debug/XCMetricsPackageTests.xctest/Contents/MacOS/XCMetricsPackageTests, 0x0109): Symbol not found: (_$s10Foundation10CocoaErrorV19fileWriteFileExistsAC4CodeVvgZ)
  Referenced from: '/Users/runner/work/XCMetrics/XCMetrics/.build/x86_64-apple-macosx/debug/XCMetricsPackageTests.xctest/Contents/MacOS/XCMetricsPackageTests'
  Expected in: '/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation')
Error: Process completed with exit code 1.
BalestraPatrick commented 9 months ago

I can't reproduce that failure locally on macOS 13.0. Can you try bumping the version of macOS from macOS-latest to runs-on: macos-13 explicitly?

Arafo commented 9 months ago

Done!

samuelsainz commented 7 months ago

hey @BalestraPatrick, any chance you guys can release this fix? I'm still getting this error with v0.0.13. Thanks in advance!