diff --git a/ChatClient/.github/workflows/ios-build.yml b/.github/workflows/ios-build.yml similarity index 57% rename from ChatClient/.github/workflows/ios-build.yml rename to .github/workflows/ios-build.yml index 41ddaf4..2306c3a 100644 --- a/ChatClient/.github/workflows/ios-build.yml +++ b/.github/workflows/ios-build.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: macos-14 + runs-on: macos-15 steps: - name: Checkout @@ -22,5 +22,16 @@ jobs: - name: Install gems run: bundle install + - name: Install Tuist + run: | + brew install tuist + + - name: Generate Xcode project + run: + cd ChatClient + tuist generate + - name: Build app - run: bundle exec fastlane ios build + run: + cd ChatClient + bundle exec fastlane ios build diff --git a/ChatClient/.package.resolved b/.package.resolved similarity index 100% rename from ChatClient/.package.resolved rename to .package.resolved diff --git a/ChatClient/Applications/ChatClient/Project.swift b/ChatClient/Applications/ChatClient/Project.swift index f830a1d..cb6d222 100644 --- a/ChatClient/Applications/ChatClient/Project.swift +++ b/ChatClient/Applications/ChatClient/Project.swift @@ -1,6 +1,7 @@ import ProjectDescription import ProjectDescriptionHelpers + let project = Project( name: "ChatClient", packages: [ diff --git a/ChatClient/Core/HeedAssembly/Sources/RootComponent.swift b/ChatClient/Core/HeedAssembly/Sources/RootComponent.swift index 4320278..8140cc6 100644 --- a/ChatClient/Core/HeedAssembly/Sources/RootComponent.swift +++ b/ChatClient/Core/HeedAssembly/Sources/RootComponent.swift @@ -4,6 +4,7 @@ import API import Services public func setupNeedle() { + registerProviderFactories() } diff --git a/ChatClient/Fastlane/Fastfile b/Fastlane/Fastfile similarity index 100% rename from ChatClient/Fastlane/Fastfile rename to Fastlane/Fastfile diff --git a/Fastlane/README.md b/Fastlane/README.md new file mode 100644 index 0000000..6c13dbd --- /dev/null +++ b/Fastlane/README.md @@ -0,0 +1,32 @@ +fastlane documentation +---- + +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +```sh +xcode-select --install +``` + +For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) + +# Available Actions + +## iOS + +### ios build + +```sh +[bundle exec] fastlane ios build +``` + +Build iOS app + +---- + +This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. + +More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). + +The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). diff --git a/ChatClient/Gemfile b/Gemfile similarity index 100% rename from ChatClient/Gemfile rename to Gemfile diff --git a/ChatClient/Gemfile.lock b/Gemfile.lock similarity index 100% rename from ChatClient/Gemfile.lock rename to Gemfile.lock