Giter Site home page Giter Site logo

The package product 'SBTUITestTunnelServer' cannot be used as a dependency of this target because it uses unsafe build flags. about sbtuitesttunnel HOT 10 CLOSED

ispiryan avatar ispiryan commented on June 15, 2024
The package product 'SBTUITestTunnelServer' cannot be used as a dependency of this target because it uses unsafe build flags.

from sbtuitesttunnel.

Comments (10)

designatednerd avatar designatednerd commented on June 15, 2024 1

You can also pin to a specific version as outlined on StackOverflow and the Swift Forums, and not necessarily force yourself to be on a branch rather than a specific commit.

(And as far as I can tell, this is indeed an SPM limitation)

from sbtuitesttunnel.

ispiryan avatar ispiryan commented on June 15, 2024

Hello,
I fixed this issue by using this key DISABLE_DIAMOND_PROBLEM_DIAGNOSTIC.
But on M1 MacBookPro steel reproduce.

from sbtuitesttunnel.

tcamin avatar tcamin commented on June 15, 2024

Did you select the master branch when adding the library as described in the documentation?

from sbtuitesttunnel.

ispiryan avatar ispiryan commented on June 15, 2024

Yes I did.

from sbtuitesttunnel.

tcamin avatar tcamin commented on June 15, 2024

I just tried on a new project in Xcode 14. I created the project added the tunnel pinned to master. Added the import SBTUITestTunnelServer + SBTUITestTunnelServer.takeOff in the app and import SBTUITestTunnelClient + app.launchTunnel() in a test, and the project compiled and run the test successfully.

Did you try this in an empty project?

from sbtuitesttunnel.

ispiryan avatar ispiryan commented on June 15, 2024

Yes, it works on a new project. I also tested it.
But it doesn't work on my project.

from sbtuitesttunnel.

tcamin avatar tcamin commented on June 15, 2024

Sounds more likely an SPM problem them. Should you find a solution would be nice if you could post back. Thanks!

from sbtuitesttunnel.

kunimei avatar kunimei commented on June 15, 2024

thankyou

from sbtuitesttunnel.

bartzet avatar bartzet commented on June 15, 2024

Pointing to the specific commit hash fixed the issue for me.

from sbtuitesttunnel.

tcamin avatar tcamin commented on June 15, 2024

Didn't pinning to the master branch work? What about the suggestion of @designatednerd to pin to a version?

from sbtuitesttunnel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.