Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,37 @@ jobs:
-destination platform=macOS \
CODE_SIGNING_ALLOWED=NO \
build | xcpretty

build-mobile:
name: xcodebuild build (RxCodeMobile)
runs-on: self-hosted

steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable

- name: Install xcpretty
run: gem install xcpretty

- name: Build mobile app (ad-hoc signing)
run: |
# The iOS app embeds extensions (notification service, widget), so
# CODE_SIGNING_ALLOWED=NO won't link a valid .app. Ad-hoc sign the
# device build instead — no certificate or provisioning profile
# required, just enough to produce a verifiable bundle.
set -o pipefail && xcodebuild \
-project RxCode.xcodeproj \
-scheme RxCodeMobile \
-configuration Debug \
-destination 'generic/platform=iOS' \
CODE_SIGN_IDENTITY="-" \
CODE_SIGN_STYLE=Manual \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=YES \
AD_HOC_CODE_SIGNING_ALLOWED=YES \
build | xcpretty
12 changes: 6 additions & 6 deletions RxCodeMobile/Views/SessionsList.swift
Original file line number Diff line number Diff line change
Expand Up @@ -694,8 +694,8 @@ extension MobileAppState {
#Preview("Sessions List") {
let state = MobileAppState.preview
let projectID = state.projects.first!.id
return NavigationStack {

NavigationStack {
SessionsList(
projectID: projectID,
selected: .constant(nil)
Expand All @@ -708,8 +708,8 @@ extension MobileAppState {
let state = MobileAppState.preview
let projectID = state.projects.first!.id
let selectedID = state.sessions.first?.id
return NavigationStack {

NavigationStack {
SessionsList(
projectID: projectID,
selected: .constant(selectedID),
Expand All @@ -722,8 +722,8 @@ extension MobileAppState {
#Preview("Sessions List - Empty") {
let state = MobileAppState.previewEmpty
let projectID = state.projects.first!.id
return NavigationStack {

NavigationStack {
SessionsList(
projectID: projectID,
selected: .constant(nil)
Expand Down