You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The configuration of this package is such that an executable target is a dependency of a test target. SwiftPM will allow you to set up this relationship to ensure that the executable target gets built before the test suite, but you cannot consume the resulting executable as a library. Please convert the `swiftNumber` target into a library (by removing or renaming `main.swift`) to link with it.
I'm resolving this because it is behaving as intended. I wish we could provide some better ergonomics here for the end user to eliminate this source - I've linked a separate ticket that does just that.
Additional Detail from JIRA
md5: f8dac577e81da680c48fd00de4a149a0
relates to:
Issue Description:
There seems to be a bug while linking a unit test case.
You can easily reproduce the issue by cloning this repo.
This issue has been discussed in the swift forum.
Here is the unit test case for the same
Here is the linker error
You can also find the detailed logs here.
The text was updated successfully, but these errors were encountered: