Repository navigation
ci: compile the iOS native code - #968
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Closes #967.
The
iosjob bundled the JS and ranpod install, but compiled nothing, so a change that brokeios/*.{h,m}passed CI. This adds anxcodebuildstep 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 forBuild, 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):
RNCSegmentedControl.oandRNCSegmentedControlManager.o.RNCSegmentedControl.m: exits 65 witherror: use of undeclared identifier.actionlintpasses. The runner uses a newer Xcode than my machine, so this PR's owniosjob is the check for that.🤖 Generated with Claude Code