Skip to content

Conversation

venkatareddyboya-highspot
Copy link

@venkatareddyboya-highspot venkatareddyboya-highspot commented Apr 19, 2025

📝 Description:
This PR resolves a macOS App Store Connect validation issue caused by improper usage of s.resource_bundles in the podspec, which led to the error:

Bad CFBundleExecutable. Cannot find executable file that matches the value of CFBundleExecutable...

🔧 Changes Made:
Replaced s.resource_bundles with s.resources in flutter_secure_storage_darwin.podspec to include PrivacyInfo.xcprivacy directly into the framework bundle instead of a nested .bundle.

This ensures that the privacy manifest file is placed correctly without creating a nested resource bundle, which is unnecessary and triggers validation errors during App Store/TestFlight submission.

📌 Why This Fix:
Starting from Xcode 15 and iOS 17/macOS 14, Apple requires a valid Privacy Manifest (PrivacyInfo.xcprivacy) in frameworks.

Using s.resource_bundles creates a separate bundle (flutter_secure_storage.bundle) without an executable, leading to CFBundleExecutable issues.

Switching to s.resources embeds the privacy file directly inside the framework's Resources folder, complying with App Store expectations.

🧪 Validation:
App submission now passes without CFBundleExecutable error.

Verified privacy manifest appears correctly under the framework's Resources.

Let me know if you'd like me to reword or add anything else!

… the value of CFBundleExecutable in the nested bundle flutter_secure_storage
@venkatareddyboya-highspot venkatareddyboya-highspot changed the title fix: Bad CFBundleExecutable. Cannot find executable file that matches… Fix macOS Privacy Manifest Integration to Prevent CFBundleExecutable Validation Error Apr 19, 2025
@venkatareddyboya-highspot venkatareddyboya-highspot marked this pull request as ready for review April 19, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant