ory / sdk

The place where ORY's SDKs are being auto-generated
Apache License 2.0
141 stars 85 forks source link

feat: add swift support #319

Open sashatalalasha opened 8 months ago

sashatalalasha commented 8 months ago

Checklist

jonas-jonas commented 8 months ago
#0 272.6 ==> Pouring lz4--1.9.4.x86_64_linux.bottle.tar.gz
#0 272.7 🍺  /home/linuxbrew/Cellar/lz4/1.9.4: 22 files, 684.9KB
#0 272.7 ==> Installing sourcedocs dependency: xz
#0 274.0 ==> ./configure --disable-silent-rules
#0 282.9 ==> make check
#0 282.9 Last 15 lines from /root/.cache/Homebrew/Logs/xz/02.make:
#0 282.9 2024-01-26 21:39:19 +0000
#0 282.9
#0 282.9 make
#0 282.9 check
#0 282.9
#0 282.9 /home/linuxbrew/Homebrew/Library/Homebrew/shims/linux/super/make: line 30: exec: : not found
#0 283.1
#0 283.1 READ THIS: https://docs.brew.sh/Troubleshooting
#0 283.1
------
Dockerfile:39
--------------------
  37 |
  38 |     # Install SourceDocs to generate swift client documentation
  39 | >>> RUN brew install sourcedocs
  40 |
  41 |
--------------------
ERROR: failed to solve: process "/bin/sh -c brew install sourcedocs" did not complete successfully: exit code: 1

not really sure how to debug..

jonas-jonas commented 8 months ago
962.6 ==> Pouring swift--5.8.1_1.x86_64_linux.bottle.tar.gz
997.2 🍺  /home/linuxbrew/Cellar/swift/5.8.1_1: 899 files, 3.1GB
997.2 ==> Installing sourcedocs
998.3 ==> swift build --disable-sandbox -c release
999.3 Last 15 lines from /root/.cache/Homebrew/Logs/sourcedocs/01.swift:
999.3 2024-02-05 08:04:19 +0000
999.3
999.3 swift
999.3 build
999.3 --disable-sandbox
999.3 -c
999.3 release
999.3
999.3 error: 'sourcedocs-2.0.1': Invalid manifest (compiled with: ["/home/linuxbrew/Cellar/swift/5.8.1_1/libexec/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.WGxIqQ/vfs.yaml", "-L", "/home/linuxbrew/Cellar/swift/5.8.1_1/libexec/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/home/linuxbrew/Cellar/swift/5.8.1_1/libexec/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/home/linuxbrew/Cellar/swift/5.8.1_1/libexec/lib/swift/pm/ManifestAPI", "-package-description-version", "5.3.0", "/tmp/sourcedocs-20240205-10747-o42469/SourceDocs-2.0.1/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/tmp/TemporaryDirectory.GLmUd5/sourcedocs-2.0.1-manifest"])
999.3 error: link command failed with exit code 1 (use -v to see invocation)
999.3 /home/linuxbrew/opt/gcc/lib/gcc/13/libgcc_s.so.1: error: undefined reference to '_dl_find_object', version 'GLIBC_2.35'
999.3 clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
999.5
999.5 READ THIS: https://docs.brew.sh/Troubleshooting
999.5
------
Dockerfile:163
--------------------
 161 |
 162 |     # Install SourceDocs to generate swift client documentation
 163 | >>> RUN brew install sourcedocs
 164 |
 165 |     ADD go.mod go.mod
--------------------
ERROR: failed to solve: process "/bin/sh -c brew install sourcedocs" did not complete successfully: exit code: 1

different error now...

OmarJalilo commented 2 months ago

Is there any ETA for a native swift SDK?