Root CauseWhat broke, why, and the fix.

xcode 26 archive fails when the simulator runtime does not match the SDK

· Xcode, Capacitor, troubleshooting
ⓘ Operated by TechAthletes. Every post here is a bug we hit in our own work — symptom, root cause, fix. Nothing is sponsored and we are not paid to mention any tool.

Key points

  • Pod linking succeeded, but storyboard and asset compilation failed because the simulator SDK and runtime builds did not match. (Source: our own measurement, 2026-06-09)
  • The recorded repair combined duplicate runtime cleanup, a match override, and reinstallation of a single runtime. (Source: our own measurement, 2026-06-09)
  • A separate build-directory conflict required cleanup before archiving. (Source: our own measurement, 2026-06-09)
  • After archive and TestFlight upload succeeded, an unresolved review submission blocked submission until it was canceled. (Source: our own measurement, 2026-06-09)

The archive stopped after Pod linking had succeeded

A Capacitor app reached a successful archive, TestFlight upload, and review submission using Xcode 26.5 on June 9, 2026. Getting there required resolving several distinct failures. The most consequential archive failure appeared during storyboard and asset compilation, even though the Pods had already linked successfully against iPhoneOS26.5.sdk.

The recorded error was:

error: iOS 26.5 Platform Not Installed

That message appeared in the work performed by ibtool and actool. Successful linking therefore did not establish that the environment was ready to finish the archive. The device SDK was available for the linking step, while the compilation of storyboards and assets still encountered a platform error.

The record also contains a separate, earlier platform problem. An archive invocation could report iOS 26.5 is not installed or fail to resolve its destination when the iOS platform had not been installed. The documented remedy for that condition was:

xcodebuild -downloadPlatform iOS

These failures shared platform-related wording, but the record gives them different explanations. One concerned an uninstalled platform. The other concerned the relationship between the simulator SDK build and the available simulator runtime. Keeping those observations separate was necessary to describe what actually blocked this archive.

Source: our own measurement, 2026-06-09.

The platform error was not explained by the linking result

The central mismatch was between the Xcode simulator SDK build and the simulator runtime build available for installation. The recorded example used SDK build 23F73 and runtime build 23F77.

CoreSimulator treated that combination as having no runtime for the Xcode installation. Consequently, the expected runtime did not appear in the output of:

xcrun simctl list runtimes

This missing entry explained why the successful Pod link was an incomplete diagnostic result. The record showed that linking against the device SDK could succeed while the runtime needed by the later compilation work was not registered as expected.

A runtime match override is an explicit assignment of a runtime build to an SDK.

In this case, that assignment was part of the repair. It addressed the recorded mismatch directly, rather than treating the successful link as proof that every platform-dependent step had what it needed.

The distinction between actool and ibtool also mattered. According to the record, removing duplicate runtimes was enough for actool to pass. For ibtool, cleanup alone was insufficient: the runtime had to be formally registered and visible in the runtime listing.

That difference made a partial recovery possible. Asset compilation becoming successful was not the final verification point for the entire archive. The documented check was the appearance of the expected iOS runtime in simctl output, followed by a successful archive.

Source: our own measurement, 2026-06-09.

Runtime cleanup and an explicit match repaired the archive

The recorded repair began by inspecting the runtime inventory:

xcrun simctl runtime list

Entries marked Unusable or Duplicate were the targets for cleanup. The procedure called for removing those entries before continuing, then assigning the available runtime build to the SDK with this exact command:

xcrun simctl runtime match set iphoneos26.5 23F77

The next step was to reinstall a clean, single runtime using the platform download command:

xcodebuild -downloadPlatform iOS

The record explicitly cautioned against creating duplicates during this process. Cleanup, the match override, and reinstallation were presented as an ordered procedure, not as unrelated alternatives.

Verification returned to the runtime listing:

xcrun simctl list runtimes

The success condition was an iOS 26.5 entry containing build 23F77. Once that entry appeared, the archive passed. This gave the repair an observable checkpoint before relying on the archive result itself.

The installation notes contained another concrete failure to avoid repeating. Xcode was installed through xcodes, with a standalone binary available as an option that did not require Homebrew:

xcodes install --latest

During the recorded work, --experimental-unxip crashed and corrupted the XIP archive. The documented response was to use normal extraction. That was an installation-stage problem, separate from the runtime mismatch later encountered during archiving.

The download command was also documented as requiring no login. That detail belonged to platform installation; it did not change the need to inspect runtime registration when storyboard compilation continued to report the platform error.

Source: our own measurement, 2026-06-09.

Separate cleanup and review-state fixes completed the submission

The simulator repair was not the only intervention in the shipping sequence. A known conflict involving Capacitor synchronization and the build directory could make pod install or cleanup fail with:

Could not delete ios/App/build ... not created by the build system

The recorded pre-archive remedy was:

chmod -R u+w ios/App/build; rm -rf ios/App/build ios/DerivedData

This command makes the build directory writable and removes the two specified directories. Its scope matters: the recorded operation targeted those build locations. It was a separate response to the directory ownership error, not the explanation for the simulator runtime mismatch.

After archiving and uploading to TestFlight succeeded, submission encountered another blocker:

Cannot submit for review - A review submission is already in progress

The cause recorded for this error was a previous rejected submission that remained in UNRESOLVED_ISSUES. That existing submission blocked the new review submission.

The recovery used the App Store Connect API, whose ReviewSubmission resource is Apple's own documented object for tracking an app's review-submission state. First, the active review submission was identified with:

GET /v1/reviewSubmissions?filter[app]=<id>

The identified submission was then updated through:

PATCH /v1/reviewSubmissions/<id>

The update set canceled:true. The recorded state transition was CANCELING followed by COMPLETE. After confirming that no submission remained in progress, the submission command was run again:

fastlane ios submit

The resulting state was WAITING_FOR_REVIEW. That is the endpoint supported by the record: successful archive, successful TestFlight upload, cancellation of the old unresolved submission, and a new submission waiting for review. It does not establish review approval or release.

Source: our own measurement, 2026-06-09.

The lesson: verify the state required by the failing step

The useful diagnostic boundary in this case was the step that failed. Pod linking, storyboard compilation, asset compilation, build-directory cleanup, and review submission each supplied different evidence. Success at an earlier step did not settle the condition checked by the next one.

For an environment showing the same storyboard or asset error, the recorded checks are concrete. Inspect the runtime inventory for unusable or duplicate entries. Inspect the registered runtime list. Compare the SDK and runtime builds involved. After applying the recorded repair where that mismatch exists, verify that the intended runtime appears before retrying the archive.

The override above contains the build used in this incident. Its value comes from the observed mismatch and the subsequent successful registration, so the command should be read together with those checks. The record supports this repair for the documented combination; it does not establish that every archive failure has the same cause.

The same discipline applies after upload. When submission reports an existing review in progress, inspect the review submission state. In this case, the decisive evidence was the remaining UNRESOLVED_ISSUES submission, and the recovery checkpoint was its transition to COMPLETE before retrying.

The practical lesson is to keep each error attached to its own verification result. Here, the runtime listing established readiness for the repaired archive, while the review submission state established readiness to submit again.

Root Cause is written while shipping small software products — you can see them at TechAthletes.

All posts →

Get new posts by email

We email you only when a new post goes up here. You can unsubscribe at any time.

Privacy policy