Giter Club home page Giter Club logo

Comments (3)

adamklein avatar adamklein commented on June 18, 2024

Just a quick update, I also ran

npm run verify:ios

That leads to

/Users/adamklein/Developer/capacitor-stockfish/ios/Plugin/Plugin.swift:7:28: error: cannot find type 'StockfishBridge' in scope
    private var stockfish: StockfishBridge?
                           ^~~~~~~~~~~~~~~
/Users/adamklein/Developer/capacitor-stockfish/ios/Plugin/Plugin.swift:48:22: error: cannot find 'StockfishBridge' in scope
            "value": StockfishBridge.getCPUType() ?? "unknown"
                     ^~~~~~~~~~~~~~~
/Users/adamklein/Developer/capacitor-stockfish/ios/Plugin/Plugin.swift:62:25: error: cannot find 'StockfishBridge' in scope
            stockfish = StockfishBridge(plugin: self)
                        ^~~~~~~~~~~~~~~

** BUILD FAILED **

but I think this stems from the same error - that the file cannot be imported (lexical/preprocessor error)

EDIT: Is this project perhaps meant only to be built indirectly, via the main lichobile project build process? I'm just trying to work through the moving pieces of it all now. Also, is there a better place where I might ask questions? I don't want to spam on github unnecessarily.

from capacitor-stockfish.

veloce avatar veloce commented on June 18, 2024

Hi!
First of all, I'm by no mean an iOS expert... quite the contrary, even though I've managed to write this plugin :)

That file: CapacitorStockfish/CapacitorStockfish-Swift.h is indeed a generated one.

And for the other problem, the verify:ios (which is only on the capacitor3 branch), I actually don't use it to be honest, as I test the plugin directly in https://github.com/veloce/lichobile, importing it using the podspec.
But that would be nice to make it work, for sure (it's working on android).

from capacitor-stockfish.

adamklein avatar adamklein commented on June 18, 2024

I don’t mind trying to get it to work. is there a better development branch, or should I work from master?

from capacitor-stockfish.

Related Issues (5)

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.