Using the default flow to create new Swift Package, I created one and put it in a bitbucket repo. The files inside have the following structure:
The problem is that, when i try to add it to a project, i get an error that Package.swift is not found.
It seems, that the Package.swift file is not found, if it is not on the root level level of the repo. But if i move the Package.swift file on the same level as "TestSwiftPackage" root folder, the package dependencies all get broken. I tried to add specific paths for target and testTarget, but it still wont work.
How should the Package.swift look like to make this work?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.