Skip to content

ci: compile the iOS native code - #968

Merged
Naturalclar merged 1 commit into
masterfrom
ci/build-ios-example
Nov 29, 2026
Merged

Naturalclar merged 1 commit into
masterfrom
ci/build-ios-example

Conversation

@Naturalclar

Copy link
Copy Markdown
Member

Overview

Closes #967.

The ios job bundled the JS and ran pod install, but compiled nothing, so a change that broke ios/*.{h,m} passed CI. This adds an xcodebuild step that builds the example app, and with it the library's pod, for the simulator. It builds Debug, arm64 only, without signing. The job also gets a 45-minute timeout.

It stays in Example apps, so releases, which wait only for Build, aren't delayed or blocked by it.

This is compile coverage only: the app isn't launched or tested.

Test Plan

I extracted the step's command from the workflow file and ran it locally (Xcode 16.2):

  • Unmodified: exits 0, and produces RNCSegmentedControl.o and RNCSegmentedControlManager.o.
  • With an undeclared identifier added to RNCSegmentedControl.m: exits 65 with error: use of undeclared identifier.
  • Restored: exits 0.

actionlint passes. The runner uses a newer Xcode than my machine, so this PR's own ios job is the check for that.

🤖 Generated with Claude Code

The ios job stopped after `pod install`, so a change that broke the
library's Objective-C passed CI. Build the example app for the simulator,
and give the job a timeout.

Closes #967

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Naturalclar
Naturalclar merged commit 7761c68 into master Nov 29, 2026
6 checks passed
@Naturalclar
Naturalclar deleted the ci/build-ios-example branch November 29, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: compile the iOS native code

1 participant