Giter Club home page Giter Club logo

Comments (5)

ostap0207 avatar ostap0207 commented on May 16, 2024 6

Having the same problem. I use BrightFutures + Alamofire. As a workaround added import Result, which solved the problem. But would be good to have proper solution.

from brightfutures.

athensholloway avatar athensholloway commented on May 16, 2024 2

I was having the same issue when chaining promises in my view controller. I solved the problem by adding import Result as well.

from brightfutures.

Thomvis avatar Thomvis commented on May 16, 2024

Hi and sorry to hear you're having problems using BrightFutures.

Can you try rewriting the implementation of getToken, e.g. splitting up parts of the expression and adding more type info? It sounds like a limitation of the compiler to me, which you can try to work around by rewriting expressions and/or adding more type info.

from brightfutures.

nRewik avatar nRewik commented on May 16, 2024

Thank you @Thomvis . I've tried to split up the code and add more type info. Xcode still shows me the same message.

However, I write the same code in the new project with same Podfile, then it works.

I really have no Idea what's happened.

from brightfutures.

levous avatar levous commented on May 16, 2024

I am getting the same compiler error.

Undefined symbols for architecture x86_64:
  "direct generic type metadata pattern for Result.Result", referenced from:
      type metadata accessor for Result.Result<Swift.Bool, After.LovableError> in VibeDetailViewController.o
      type metadata accessor for Result.Result<(loved : Swift.Bool, lovedByCount : Swift.Int), After.LovableError> in VibeDetailViewController.o

I have no clue what that means :-/

from brightfutures.

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.