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

Fix Swift Package Manager support #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Saklad5
Copy link

@Saklad5 Saklad5 commented Mar 15, 2020

Package.swift MUST specify a version according to https://developer.apple.com/documentation/xcode/creating_a_standalone_swift_package_with_xcode.
Failure to do so causes Swift Package Manager to assume the version is 3.1.0, which is no longer supported.

Saklad5 added 2 commits March 15, 2020 12:14
Package.swift MUST specify a version according to https://developer.apple.com/documentation/xcode/creating_a_standalone_swift_package_with_xcode.
Failure to do so causes Swift Package Manager to assume the version is 3.1.0, which is no longer supported.
This is necessary for Swift Package Manager to work.
@Saklad5 Saklad5 changed the title Prepend Swift tools version to Package.swift Fix Swift Package Manager support Mar 15, 2020
Unless a custom path is specified (which seems unnecessary in this instance), files in the target should be in a subfolder of Sources.
Saklad5 added 2 commits March 15, 2020 13:01
This is necessary for actually importing the module.
This is necessary for package testing to work. Similar to the main target, it needs to be in a special subfolder of Tests.
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.

1 participant