From a0003d468408e5ec21814b0deb6cabe051dc2c59 Mon Sep 17 00:00:00 2001 From: fabri Date: Wed, 6 Dec 2023 16:04:36 -0300 Subject: [PATCH] init --- .github/workflows/build-docs.yml | 6 +++--- Sources/YourTestTarget/Test.swift | 7 +++++++ .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++++++++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 Sources/YourTestTarget/Test.swift create mode 100644 XMTPiOSExample/XMTPiOSExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 1b339e1d..3f7a4ace 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -34,14 +34,14 @@ jobs: with: xcode-version: latest-stable - name: "Build docs" - run: swift package --allow-writing-to-directory ./docs generate-documentation --target XMTP --disable-indexing --output-path ./docs --hosting-base-path xmtp-ios --transform-for-static-hosting - - name: Setup Pages + run: xcodebuild docbuild -scheme XMTP -destination 'generic/platform=ios' + - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: # Upload entire repository - path: './docs' + path: "./docs" - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v2 diff --git a/Sources/YourTestTarget/Test.swift b/Sources/YourTestTarget/Test.swift new file mode 100644 index 00000000..2a61c801 --- /dev/null +++ b/Sources/YourTestTarget/Test.swift @@ -0,0 +1,7 @@ +/// This is a test class for documentation. +public class TestClass { + /// This method does something. + public func doSomething() { + print("Doing something") + } +} diff --git a/XMTPiOSExample/XMTPiOSExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/XMTPiOSExample/XMTPiOSExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 00000000..18d98100 --- /dev/null +++ b/XMTPiOSExample/XMTPiOSExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + +