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

Xcode 15 Carthage release built with beta Xcode version #8370

Closed
mikhailmulyar opened this issue Sep 20, 2023 · 5 comments · Fixed by #8382
Closed

Xcode 15 Carthage release built with beta Xcode version #8370

mikhailmulyar opened this issue Sep 20, 2023 · 5 comments · Fixed by #8382

Comments

@mikhailmulyar
Copy link

mikhailmulyar commented Sep 20, 2023

How frequently does the bug occur?

Always

Description

Carthage release for 10.42.3 built with Swift 5.9 (5.9.0.128.106) which is swift version from Xcode 15 beta release. Current Swift version is Swift 5.9 (5.9.0.128.108).

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

  1. Run Carthage carthage build --no-skip-current --use-xcframeworks --platform iOS

Output

***  Skipped installing realm-swift binary due to the error:
	"Incompatible Swift version - framework was built with 5.9 (swiftlang-5.9.0.128.106 clang-1500.0.40.1) and the local version is 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)."

    Falling back to building from the source

Version

10.42.3

What Atlas Services are you using?

Local Database only

Are you using encryption?

Yes

Platform OS and version(s)

iOS 17.0

Build environment

No response

@kawacho
Copy link

kawacho commented Sep 28, 2023

The same problem occurs with v10.42.4.

*** Downloading realm-swift binary at "v10.42.4"
***  Skipped installing realm-swift binary due to the error:
	"Incompatible Swift version - framework was built with 5.9 (swiftlang-5.9.0.128.106 clang-1500.0.40.1) and the local version is 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)."

    Falling back to building from the source
  • swiftlang-5.9.0.128.106 clang-1500.0.40.1
  • swiftlang-5.9.0.128.108 clang-1500.0.40.1

@tgoyne
Copy link
Member

tgoyne commented Sep 29, 2023

It looks like Carthage does not approve of our xcframework having slices built with mixed compiler versions, so we'll need to drop the visionOS build until there's a non-beta Xcode version which supports it.

@kawacho
Copy link

kawacho commented Oct 2, 2023

@tgoyne

still occurs with v10.43.0

*** Downloading realm-swift binary at "v10.43.0"
***  Skipped installing realm-swift binary due to the error:
	"Incompatible Swift version - framework was built with 5.9 (swiftlang-5.9.0.128.106 clang-1500.0.40.1) and the local version is 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)."

    Falling back to building from the source

@mikhailmulyar
Copy link
Author

@tgoyne yep, issue is not fixed in latest version

@aehlke
Copy link

aehlke commented Oct 26, 2023

still broken

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants