Comments (3)
Hi. ziti-sdk-swift
uses https://github.com/openziti/ziti-sdk-c, which is actually pulled in as a transitive dependency through https://github.com/openziti/ziti-tunnel-sdk-c. ziti-tunnel-sdk-c is referenced by this project as a git submodule in the deps/ subdirectory. Most of this info is in the build instructions, but here's a little more detail in case it helps:
- You need to get submodules of the
ziti-sdk-swift
repo. You can do this when cloning with the--recurse-submodules
option. If you've already cloned then you can rungit submodule update --recursive
to get them. - Once your deps/ subdirectory contains ziti-tunnel-sdk-c you can build it using
build_all.sh
in this repo. Be sure to read the requirements section in build instructions. Specifically you'll need to have cmake and ninja installed (I use homebrew for these), and theVCPKG_ROOT
environment variable exported and set to the path of a fetched and bootstrapped (built) clone of https://github.com/microsoft/vcpkg. (If you're running on Apple Silicon then you'll need to export andVCPKG_FORCE_SYSTEM_BINARIES
to any value to satisfy vcpkg.)
from ziti-sdk-swift.
Thank you very much for your help. I have successfully started the project.
I have reviewed the Building section below in detail and listened to your suggestions. I have installed cmake, ninja, vcpkg, and pkg-config respectively, and modified the VCPKG_ROOT in the files under deps.
I'm M1's computer, but I couldn't find VCPKG_ FORCE_ SYSTEM_BINARIES Where is set, it has not been modified.
VCPKG_ROOT have a problem. After installing it, I couldn't modify ENV and couldn't find the corresponding cmake, so I added the information about VCPKG_ROOT in the file uses the absolute path of files under vcpkg, and then goes to/bin/sh build_ all.sh, finally compiled successfully.
/bin/sh build_all.sh Many times during, I encountered Failed to connect to github.com port 443. Just turn off the agent and wait for a long time. Don't worry, I spent the whole morning, and finally succeeded.
from ziti-sdk-swift.
Ok then. Thanks for letting me know! I'll watch this issue for any more questions that might come up. If you're all set then just let me know that it's ok to close this issue. Thanks!
from ziti-sdk-swift.
Related Issues (17)
- Jazzy documentation update needed
- NetFoundry info embedded in project
- [email protected] "hardcoded", I don't think I can "Build Manually" HOT 1
- README Artifactory reference is obsolete
- XCFramework, binary distribution as Swift Package
- Move API docs to github pages HOT 6
- Add sample with acync/await REST calls HOT 1
- Whether socket interception is supported HOT 4
- Deprecate CZiti-iOS.podspec and CZiti-macOS.podspec in favor of CZiti.podspec HOT 1
- some error after import CZiti.xcframework HOT 2
- How to change the TLS handshake signature algorithm? HOT 2
- TLS handshake error on iPhone device HOT 13
- Ziti Mobile Edge crashes HOT 3
- Whether to change hosts HOT 1
- initCallback is not called when first Ziti event is received
- crash uv_now(ts_loop) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ziti-sdk-swift.