{"record":{"id":"4304e8707083dddf","repo":"DioxusLabs/dioxus","slug":"ios-app-bundle-must-be-codesigned-before-creating","errorCode":null,"errorMessage":"iOS .app bundle must be codesigned before creating an .ipa: {}","messagePattern":"iOS \\.app bundle must be codesigned before creating an \\.ipa: (.+?)","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"packages/cli/src/bundler/ios.rs","lineNumber":118,"sourceCode":"    }\n\n    Ok(())\n}\n\nasync fn verify_codesigned_app(app_path: &Path) -> Result<()> {\n    verify_codesigned_app_with(Path::new(\"codesign\"), app_path).await\n}\n\nasync fn verify_codesigned_app_with(codesign: &Path, app_path: &Path) -> Result<()> {\n    let output = Command::new(codesign)\n        .args([\"--verify\", \"--deep\", \"--strict\"])\n        .arg(app_path)\n        .output()\n        .await\n        .with_context(|| format!(\"Failed to run `{}`\", codesign.display()))?;\n\n    if !output.status.success() {\n        bail!(\n            \"iOS .app bundle must be codesigned before creating an .ipa: {}\",\n            String::from_utf8_lossy(&output.stderr).trim()\n        );\n    }\n\n    Ok(())\n}\n","sourceCodeStart":100,"sourceCodeEnd":126,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/cli/src/bundler/ios.rs#L100-L126","documentation":"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.","triggerScenarios":"Thrown at packages/cli/src/bundler/ios.rs:118 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Codesign the .app bundle before packaging the .ipa; configure a valid signing identity."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24f6a829df0dfa203961a98ea4cae21c2ff27e28","analyzedAt":"2026-08-23T07:10:14.078Z","contentChangedAt":"2026-08-23T07:10:14.078Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}