-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building EchoXcode example #273
Comments
Hi Mark, thanks for the report! I think |
@mark1010 is this still affecting you? |
This might get fixed by #300. |
@MrMage Echo is now working for me thanks. A few notes: Echo The process I followed was:
Step 4 is an addition to the README, and I didn't need SwiftGRPC.xcodeproj Examples Mark |
Weird, I'd have thought the other libraries would be necessary as well. Clarified the readme in #306 to mention "Linked Frameworks and Libraries " though.
Could you elaborate? |
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:
y (return), (return), all installs ok
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.Add BoringSSL, SwiftGRPC, CgRPC.
Build with Command-B
Build fails, no changes, missing CgRPC.
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.
The text was updated successfully, but these errors were encountered: