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 Version 14.2 (14C18) build error #28

Closed
wants to merge 1 commit into from

Conversation

lhoward
Copy link

@lhoward lhoward commented Jun 28, 2023

% xcode-select -p
/Applications/Xcode.app/Contents/Developer
% xcodebuild -version
Xcode 14.2
Build version 14C18
% swift build
error: local binary target 'SDL2-apple' does not contain expected binary artifact named 'SDL2-apple'
[0/1] Planning builderror: 'swiftsdl2': binary target 'SDL2-apple' could not be mapped to an artifact with expected name 'SDL2-apple'

Attached patch seems to fix build.

@ctreffs
Copy link
Owner

ctreffs commented Jun 29, 2023

Apparently for Swift tool versions before 5.8 the binary target name has to be identical with the name/root of the xcframework. Fixed with #29 and tested by CI extension.
Sorry for the inconvenience.

@ctreffs ctreffs closed this Jun 29, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants