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 for MapboxMaps framework. #3578

Closed
stardevrk opened this issue Jul 29, 2024 · 4 comments
Closed

Unexpected CFBundleExecutable Key for MapboxMaps framework. #3578

stardevrk opened this issue Jul 29, 2024 · 4 comments

Comments

@stardevrk
Copy link

Environment

  • Dev OS: MacOS Sonoma 14.4
  • @rnmapbox/maps version: 10.0.15
  • React Native version: 0.71.1
  • Xcode version: 15.3

Steps to reproduce

App works fine on the simulator and the physical device. Actually I had to set the Info.plist files manually for Turf and MapboxMaps frameworks in Xcode. Xcode could not run the app because there was no info.plist files for those frameworks. So app works good on both of the simulator and the physical device.
But now when I upload the app to the testflight, I got this error.

Screenshot 2024-07-29 at 3 11 50 PM

Here is the Turf.plist file

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>CFBundleDevelopmentRegion</key>
  <string>${PODS_DEVELOPMENT_LANGUAGE}</string>
  <key>CFBundleIdentifier</key>
  <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
  <key>CFBundleInfoDictionaryVersion</key>
  <string>6.0</string>
  <key>CFBundleName</key>
  <string>${PRODUCT_NAME}</string>
  <key>CFBundlePackageType</key>
  <string>BNDL</string>
  <key>CFBundleShortVersionString</key>
  <string>2.8.0</string>
  <key>CFBundleExecutable</key>
	<string>Turf</string>
  <key>CFBundleSignature</key>
  <string>????</string>
  <key>CFBundleVersion</key>
  <string>1</string>
  <key>NSPrincipalClass</key>
  <string></string>
</dict>
</plist>

And here is the MapboxMaps plist file.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>CFBundleDevelopmentRegion</key>
  <string>${PODS_DEVELOPMENT_LANGUAGE}</string>
  <key>CFBundleIdentifier</key>
  <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
  <key>CFBundleInfoDictionaryVersion</key>
  <string>6.0</string>
  <key>CFBundleName</key>
  <string>${PRODUCT_NAME}</string>
  <key>CFBundlePackageType</key>
  <string>BNDL</string>
  <key>CFBundleShortVersionString</key>
  <string>10.18.2</string>
  <key>CFBundleExecutable</key>
  <string>MapboxMaps</string>
  <key>CFBundleSignature</key>
  <string>????</string>
  <key>CFBundleVersion</key>
  <string>1</string>
  <key>NSPrincipalClass</key>
  <string></string>
</dict>
</plist>

Please give me the hint, if you can see this issue.

@mfazekas
Copy link
Contributor

mfazekas commented Aug 2, 2024

What is your cocoa pods version?

See also #2690

@stardevrk
Copy link
Author

stardevrk commented Aug 5, 2024

What is your cocoa pods version?

See also #2690

My pod version is 1.15.2. And my xcode version is 15.3.

I have tried:

  • Pod cache clean
  • Pod deintegrate
  • Pod install again

But this solution didn't fix my issue.

@stardevrk
Copy link
Author

What is your cocoa pods version?
See also #2690

My pod version is 1.15.2. And my xcode version is 15.3.

I have tried:

  • Pod cache clean
  • Pod deintegrate
  • Pod install again

But this solution didn't fix my issue.

I also tried to set up the manual info.plist file for Turf & MapboxMaps. But this solution didn't work for Testflight too.

@mfazekas
Copy link
Contributor

Closing as this is most likely a cocoapods issue, not @rnmapbox/maps related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants