DioxusLabs/dioxus · error · anyhow::Error

iOS .app bundle does not exist at expected path

Error message

iOS .app bundle does not exist at expected path: {}

What it means

bundle_ios_ipa resolved a first .app path but that directory does not exist on disk. The recorded bundle path is stale or the build output was moved/cleaned before packaging, so the bundler bails with the expected path.

Solutions

  1. The .app bundle is not at the expected path. Rebuild the iOS app and verify the build output location.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at packages/cli/src/bundler/ios.rs:47 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/800f90199e687b26. Report an issue: GitHub.

Appendix: source

Thrown at packages/cli/src/bundler/ios.rs:47

        validate_ios_ipa_target(&self.target(), self.binary_arch())?;

        let (app_paths, synthesized_app_paths) = if let Some(app_bundle) = bundles
            .iter()
            .find(|bundle| bundle.package_type == PackageType::IosApp)
        {
            (app_bundle.bundle_paths.clone(), Vec::new())
        } else {
            let paths = self.bundle_ios_app().await?;
            (paths.clone(), paths)
        };

        if app_paths.is_empty() {
            bail!("No iOS .app bundle found to package into an .ipa");
        }

        let app_path = &app_paths[0];
        if !app_path.exists() {
            bail!(
                "iOS .app bundle does not exist at expected path: {}",
                app_path.display()
            );
        }

        verify_codesigned_app(app_path).await?;

        let output_dir = self.project_out_directory().join("ipa");
        std::fs::create_dir_all(&output_dir)?;

        let ipa_name = format!(
            "{}_{}_{}.ipa",
            self.product_name(),
            self.version_string(),
            self.binary_arch()
        );
        let output_path = output_dir.join(ipa_name);

View on GitHub (pinned to 24f6a829df)