DioxusLabs/dioxus · error · anyhow::Error
iOS .app bundle must be codesigned before creating an .ipa:
Error message
iOS .app bundle must be codesigned before creating an .ipa: {} What it means
codesign --verify --deep --strict reported failure for the .app bundle about to be packaged into an .ipa. Apple requires a valid code signature inside .ipa archives, so the bundler bails with codesign's output instead of producing an invalid package.
Source
Thrown at packages/cli/src/bundler/ios.rs:118
}
Ok(())
}
async fn verify_codesigned_app(app_path: &Path) -> Result<()> {
verify_codesigned_app_with(Path::new("codesign"), app_path).await
}
async fn verify_codesigned_app_with(codesign: &Path, app_path: &Path) -> Result<()> {
let output = Command::new(codesign)
.args(["--verify", "--deep", "--strict"])
.arg(app_path)
.output()
.await
.with_context(|| format!("Failed to run `{}`", codesign.display()))?;
if !output.status.success() {
bail!(
"iOS .app bundle must be codesigned before creating an .ipa: {}",
String::from_utf8_lossy(&output.stderr).trim()
);
}
Ok(())
}
View on GitHub (pinned to 24f6a829df)
Solutions
- Codesign the .app bundle before packaging the .ipa; configure a valid signing identity.
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at packages/cli/src/bundler/ios.rs:118 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of DioxusLabs/dioxus@24f6a829df (2026-08-23).
Data as JSON: /api/errors/4304e8707083dddf.
Report an issue: GitHub.