Skip to content

Remove iOS 26.0 reference from the GitHub Actions manifest#1643

Closed
TimOliver wants to merge 11 commits intomainfrom
fix-build
Closed

Remove iOS 26.0 reference from the GitHub Actions manifest#1643
TimOliver wants to merge 11 commits intomainfrom
fix-build

Conversation

@TimOliver
Copy link
Copy Markdown
Contributor

@TimOliver TimOliver commented Oct 28, 2025

I noticed that in the latest commit to main, the build had started failing.

Looking into it, it seems GitHub has removed iOS 26.0 as a valid destination, replacing it with both iOS 26.0.1 and iOS 26.1.

To try and make this more resilient, I've removed the direct simulator version now. The main reason why I was explicitly defining versions was to ensure that for the pipelines that reference the simulator in different build steps, the same simulator would be guaranteed to be called. HOPEFULLY this was just being over-the-top and isn't actually needed.

On top of that, when I fixed this issue and tried to do a fresh build, IGSectionMap was throwing a build error in one of the IGAsserts, requiring that the provided NSUInteger needed to be typecast to (unsigned int).

Hopefully with these two issues, the build should be fixed.

@meta-cla meta-cla Bot added the CLA Signed label Oct 28, 2025
@github-actions
Copy link
Copy Markdown

1 Error
🚫 Any source code changes should have an entry in CHANGELOG.md.
1 Warning
⚠️ All pull requests should have a milestone attached, unless marked #trivial.

Generated by 🚫 Danger

@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Oct 28, 2025

@TimOliver has imported this pull request. If you are a Meta employee, you can view this in D85658369.

@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Oct 29, 2025

@TimOliver merged this pull request in c7de5ef.

TimOliver added a commit that referenced this pull request Dec 10, 2025
Summary:
I noticed that in the latest commit to main, [the build had started failing](https://github.com/Instagram/IGListKit/actions/runs/18856759807/job/53806413365).

Looking into it, it seems GitHub has removed `iOS 26.0` as a valid destination, replacing it with both `iOS 26.0.1` and `iOS 26.1` on their `macos-26` runner target.

I tried removing the explicit iOS version define in the CI YAML file, but unfortunately, this ended up breaking the UI test target. It turns out that one requires the 'preboot' step in order to work, and without an OS number, the preboot, and xcodebuild steps both arbitrarily choose different simulator slices to execute. :(

On top of that, when I fixed this issue and tried to do a fresh build, `IGSectionMap` was throwing a build error in one of the IGAsserts, requiring that the provided `NSUInteger` needed to be typecast to `(unsigned int)`.

So, in order to fix this moving forward, I went back to macos-14, since we're pretty safe in that iOS 18's build numbers probably won't be updated in that one for a fair while.

Pull Request resolved: #1643

Test Plan: I confirmed the external tests pass, so as long as the internal ones pass too, we should be good!

Reviewed By: m3rlin45

Differential Revision: D85658369

Pulled By: TimOliver

fbshipit-source-id: 78cc0f9d9e9e095bb99c010d844d2186be0017f6
TimOliver added a commit that referenced this pull request Dec 10, 2025
Summary:
I noticed that in the latest commit to main, [the build had started failing](https://github.com/Instagram/IGListKit/actions/runs/18856759807/job/53806413365).

Looking into it, it seems GitHub has removed `iOS 26.0` as a valid destination, replacing it with both `iOS 26.0.1` and `iOS 26.1` on their `macos-26` runner target.

I tried removing the explicit iOS version define in the CI YAML file, but unfortunately, this ended up breaking the UI test target. It turns out that one requires the 'preboot' step in order to work, and without an OS number, the preboot, and xcodebuild steps both arbitrarily choose different simulator slices to execute. :(

On top of that, when I fixed this issue and tried to do a fresh build, `IGSectionMap` was throwing a build error in one of the IGAsserts, requiring that the provided `NSUInteger` needed to be typecast to `(unsigned int)`.

So, in order to fix this moving forward, I went back to macos-14, since we're pretty safe in that iOS 18's build numbers probably won't be updated in that one for a fair while.

Pull Request resolved: #1643

Test Plan: I confirmed the external tests pass, so as long as the internal ones pass too, we should be good!

Reviewed By: m3rlin45

Differential Revision: D85658369

Pulled By: TimOliver

fbshipit-source-id: 78cc0f9d9e9e095bb99c010d844d2186be0017f6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants