Skip to content
← Back to activity

Public problem

Xcode 14 build on Codemagic exits with status code 65

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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.

Source: https://github.com/codemagic-ci-cd/codemagic-docs/issues/962