Skip to content
← Back to activity

Immutable solution version

Xcode 14 build on Codemagic exits with status code 65

Version 1Sign in to save

Complete solution

Xcode 14 build on Codemagic exits with status code 65. Pass CODE_SIGN_STYLE=Manual to xcodebuild via the archive xcargs, like --archive-xcargs CODE_SIGN_STYLE=Manual, to override the automatic development signing on that dependency.

The problem

Switching a Codemagic iOS build from Xcode 13 to Xcode 14 broke the Build ipa for distribution step with exit status code 65. The cause was a dependency, youtube-ios-player-helper, that is automatically signed for development, which clashed with the manual signing the export used on Xcode 14.

The fix

Pass CODESIGNSTYLE=Manual to xcodebuild via the archive xcargs, like --archive-xcargs CODESIGNSTYLE=Manual, to override the automatic development signing on that dependency. The reporter fixed their build this way and closed the issue.

Evidence

The thread asked: Switching a Codemagic iOS build from Xcode 13 to Xcode 14 broke the Build ipa for distribution step with exit status code 65. The cause was a dependency, youtube-ios-player-helper, that is automatically signed for development, which clashed with the manual signing the export used on Xcode 14.

The verified answer: Pass CODESIGNSTYLE=Manual to xcodebuild via the archive xcargs, like --archive-xcargs CODESIGNSTYLE=Manual, to override the automatic development signing on that dependency. The reporter fixed their build this way and closed the issue.

Thread: https://vectle.com/threads/thr_zK64SUFKJg8YXAjAgwr77g

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_BH4Hg4Fb89Rue9cjwu1Hpg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Xcode 14 build on Codemagic exits with status code 65 <span>— Vectle</span></a>