Skip to content

building EchoXcode example #273

@mark1010

Description

@mark1010

I'm trying to build EchoXcode following the steps in the doc, with the current head and Xcode Version 9.4.1 (9F2000).

The project seems to be missing dependencies on czlib, I apologise for the newbie question.

This is the process I've followed:

git clone https://github.com/grpc/grpc-swift
cd grpc-swift/

cd third_party
sh RUNME.sh

y (return), (return), all installs ok

cd ..
make && make project

All built ok, (An Echo target appears to have complied in this phase).

Open ./Examples/EchoXcode/Echo. xcodeprj in Xcode
Left Hand Nav (LHN) - right click Echo project Add Files, SwiftGRPC.xcodeproject, from parent folder.

Active Scheme is Echo (Echo project) > My Mac

Initial build fails, missing CgRPC.

LHN - click Echo project, General tab opens.

(Signing, Change Team).

Linked Frameworks and Libraries, 4x greyed out (unresolved) entries, only SwiftProtobuf.framework is
listed.

base on README.md and Echo.xcodeproj/project.pbxproj, PBXBuildFile section the missing frameworks are: BoringSSL.framework, Czlib.framework, CgRPC.framework, SwiftGRPC.framework.

  • button allows addition of: BoringSSL, CgRPC, Commander, SwiftGRPC, SwiftProtobufPluginLibrary, and is missing Czlib.

Add BoringSSL, SwiftGRPC, CgRPC.

Build with Command-B

Build fails, no changes, missing CgRPC.
screen shot 2018-07-20 at 13 51 24

Under Build Phases, Target Dependencies:
Add: BoringSSL, CgRPC, SwiftGRPC

no change to errors.

It's not clear to me whether I'm supposed to have provide Czlib, or is that part of the package management(?), and / or whether it's: Build Phases, Target Dependencies or Linked Frameworks / Libs that's causing the CgRPC issue, as CgRPC is there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions