Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected CFBundleExecutable Key #749

Open
IIxauII opened this issue Oct 7, 2024 · 1 comment
Open

Unexpected CFBundleExecutable Key #749

IIxauII opened this issue Oct 7, 2024 · 1 comment

Comments

@IIxauII
Copy link

IIxauII commented Oct 7, 2024

Environment

Platform: target iOS
xCode: 15.4
sentry/capacitor: 0.19

Did it work on previous version?
0.14

Steps to Reproduce

  1. Updated sentry/capacitor from 0.14 to 0.19
  2. Build iOS Archive
  3. Bundle and Upload iOS Archive (xcodebuild -exportArchive -archivePath 'somePath' -exportOptionsPlist 'somePath' -allowProvisioningUpdates -allowProvisioningDeviceRegistration)

Expected Result

  1. Build succeeds
  2. Bundle & Upload succeeds

Actual Result

  1. Build iOS Archive succeeds
  2. Bundle & Upload fails at Asset validation:
Asset validation failed
Unexpected CFBundleExecutable Key. The bundle at 'Payload/App.app/Frameworks/Sentry.framework/Sentry.bundle' does not
contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable
key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider
contacting the developer of the framework for an update to address this issue.
@lucas-zimerman
Copy link
Collaborator

Hi, and thank you for opening this issue!

Before we dive into troubleshooting, have you tried updating your Pod files after upgrading? This might help resolve the issue if it's related to outdated dependencies. You can do this by navigating to the iOS directory and running the following commands:

cd ios/App
pod install

This ensures that all necessary dependencies, including Sentry, are correctly installed and up-to-date. If you've already done this or if the issue persists after trying it, please let us know, and we'll investigate further.

Thanks!

@lucas-zimerman lucas-zimerman self-assigned this Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs More Information
Development

No branches or pull requests

2 participants