Giter VIP home page Giter VIP logo

Comments (8)

alexeyxo avatar alexeyxo commented on July 17, 2024
  1. Have you added runtime library into the project?
  2. You should update your protobuf-swift compiler and runtime library from repository.

Your example works for me.

from protobuf-swift.

turkenh avatar turkenh commented on July 17, 2024

I have followed all steps in "How To Install Protobuf" section under readme

  1. Do you mean adding ./src/ProtocolBuffers/ProtocolBuffers.xcodeproj in my project? I also added generated .framework file to my project accordingly.
  2. How can I make those updates? Are these something different which is not mentioned in readme?

I cloned latest repo and build and followed all steps in how to install section. But still having problems? I think I am missing something...

from protobuf-swift.

alexeyxo avatar alexeyxo commented on July 17, 2024

For some reason, your project does not see ProtocolBuffers.framework. But I can't reproduce this.

from protobuf-swift.

turkenh avatar turkenh commented on July 17, 2024

But it is very strange because I can compile following with no problem:

message SearchResponse {
    message Result {
      optional string card_name = 1;
      required string no = 2;
    };
    repeated Result result = 1;
};

But receive those errors with a count of 55, with the following:

message SearchResponse {
    message PResult {
      optional string card_name = 1;
      required string no = 2;
    };
    repeated PResult result = 1;
};

Just changed Result-->PResult, since my messages have that prefix.

from protobuf-swift.

alexeyxo avatar alexeyxo commented on July 17, 2024

ooohhh... this is bug...:)
I can fix it by this evening.

from protobuf-swift.

turkenh avatar turkenh commented on July 17, 2024

Happy to hear not being alone with this:)
Thanks a lot...

from protobuf-swift.

alexeyxo avatar alexeyxo commented on July 17, 2024

Try this

from protobuf-swift.

turkenh avatar turkenh commented on July 17, 2024

Yes, thats working.
Thank you very much...

from protobuf-swift.

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.