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

MapboxMobileEvents : Failed to load Info.plist from bundle at path #1415

Closed
ghadeeraqraa1992 opened this issue Jun 21, 2021 · 10 comments
Closed

Comments

@ghadeeraqraa1992
Copy link

ghadeeraqraa1992 commented Jun 21, 2021

VERSIONS :
cocopods version 1.10.1 (Latest one)
@react-native-mapbox-gl/maps 8.2.1
ReactNativeMapboxGLIOSVersion 6.3
xCode version 12.4

RESULT:
the app doesn’t install , missing ifo.plist file :
Could not install at this time.
Failed to load Info.plist from bundle at path /Users/Ghadeer/Library/Developer/CoreSimulator/Devices/77062086-4859-4E6A-A712-B029E9DEF6C7/data/Library/Caches/com.apple.mobile.installd.staging/temp.42EX5r/extracted/x.app/Frameworks/MapboxMobileEvents.framework; Extra info about plist: ACL=

Any help ?

@hexadecy
Copy link
Contributor

Have you followed the installation with the modification to the Podfile?
https://github.com/react-native-mapbox-gl/maps/blob/master/ios/install.md#ios-installation

Than purge ios:
"purge:ios": "rm -rf ios/Pods ios/build ~/Library/Caches/CocoaPods ~/Library/Developer/Xcode/DerivedData && pod cache clean --all",

@ghadeeraqraa1992
Copy link
Author

Have you followed the installation with the modification to the Podfile?
https://github.com/react-native-mapbox-gl/maps/blob/master/ios/install.md#ios-installation

Than purge ios:
"purge:ios": "rm -rf ios/Pods ios/build ~/Library/Caches/CocoaPods ~/Library/Developer/Xcode/DerivedData && pod cache clean --all",

I followed the installation

  1. clean CocoaPods caches
  2. clean DerivedData
  3. remove pods
  4. re install the pods

I got the same issue , seems the info.plist file is missing :
Screen Shot 2021-06-23 at 9 52 10 AM

@ghadeeraqraa1992 ghadeeraqraa1992 changed the title Failed to load Info.plist from bundle at path MapboxMobileEvents : Failed to load Info.plist from bundle at path Jun 27, 2021
@yurii-oliiarnyk
Copy link

@ghadeeraqraa1992 I'm stuck with the same problem. Have you found some solution?

@ghadeeraqraa1992
Copy link
Author

@ghadeeraqraa1992 I'm stuck with the same problem. Have you found some solution?

unfortunately no , still I'm stuck !

@ferdicus
Copy link
Member

please try with the /example app and report back

@ferdicus
Copy link
Member

ferdicus commented Aug 6, 2021

closing due to lack of feedback

@ferdicus ferdicus closed this as completed Aug 6, 2021
@acoulon99
Copy link

acoulon99 commented Nov 27, 2021

@ferdicus I'm running into the same issue in both my personal project and the /example project.

@ghadeeraqraa1992 were you able to resolve this?

I reproduced it within a barebones RN project. It feels related to mapbox/mapbox-gl-native-ios#555

After installing pods, an Info.plist file isn't found within "Pods/MapboxMobileEvents/Support Files" within the Xcode Workspace.
image

Simulator installation error
Details

Unable To Install “RNMapboxGLExample”
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: Failed to load Info.plist from bundle at path /Users/puma/Library/Developer/CoreSimulator/Devices/9A6D3630-7251-415D-B873-B632F4F2B6D6/data/Library/Caches/com.apple.mobile.installd.staging/temp.SwTeDz/extracted/RNMapboxGLExample.app/Frameworks/MapboxMobileEvents.framework; Extra info about "/Users/puma/Library/Developer/CoreSimulator/Devices/9A6D3630-7251-415D-B873-B632F4F2B6D6/data/Library/Caches/com.apple.mobile.installd.staging/temp.SwTeDz/extracted/RNMapboxGLExample.app/Frameworks/MapboxMobileEvents.framework/Info.plist": Couldn't stat /Users/puma/Library/Developer/CoreSimulator/Devices/9A6D3630-7251-415D-B873-B632F4F2B6D6/data/Library/Caches/com.apple.mobile.installd.staging/temp.SwTeDz/extracted/RNMapboxGLExample.app/Frameworks/MapboxMobileEvents.framework/Info.plist: No such file or directory
User Info: {
    IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
}
--
Failed to load Info.plist from bundle at path /Users/puma/Library/Developer/CoreSimulator/Devices/9A6D3630-7251-415D-B873-B632F4F2B6D6/data/Library/Caches/com.apple.mobile.installd.staging/temp.SwTeDz/extracted/RNMapboxGLExample.app/Frameworks/MapboxMobileEvents.framework; Extra info about "/Users/puma/Library/Developer/CoreSimulator/Devices/9A6D3630-7251-415D-B873-B632F4F2B6D6/data/Library/Caches/com.apple.mobile.installd.staging/temp.SwTeDz/extracted/RNMapboxGLExample.app/Frameworks/MapboxMobileEvents.framework/Info.plist": Couldn't stat /Users/puma/Library/Developer/CoreSimulator/Devices/9A6D3630-7251-415D-B873-B632F4F2B6D6/data/Library/Caches/com.apple.mobile.installd.staging/temp.SwTeDz/extracted/RNMapboxGLExample.app/Frameworks/MapboxMobileEvents.framework/Info.plist: No such file or directory
Domain: MIInstallerErrorDomain
Code: 35
User Info: {
    FunctionName = "-[MIBundle _validateWithError:]";
    LegacyErrorString = PackageInspectionFailed;
    SourceFileLine = 47;
}
--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_model" = "iPhone13,2";
    "device_osBuild" = "15.0 (19A339)";
    "device_platform" = "com.apple.platform.iphonesimulator";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = "x86_64";
    "operation_duration_ms" = 63722;
    "operation_errorCode" = 1;
    "operation_errorDomain" = IXUserPresentableErrorDomain;
    "operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_consoleMode" = 0;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.iphonesimulator";
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 1;
    "param_diag_gpu_frameCapture_enable" = 0;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_queueDebugging_enable" = 1;
    "param_diag_runtimeProfile_generate" = 0;
    "param_diag_sanitizer_asan_enable" = 0;
    "param_diag_sanitizer_tsan_enable" = 0;
    "param_diag_sanitizer_tsan_stopOnIssue" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 0;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 0;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 0;
    "param_launcher_substyle" = 0;
    "param_runnable_appExtensionHostRunMode" = 0;
    "param_runnable_productType" = "com.apple.product-type.application";
    "param_runnable_swiftVersion" = "5.5.1";
    "param_runnable_type" = 2;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphonesimulator15.0";
    "sdk_osVersion" = "15.0";
    "sdk_variant" = iphonesimulator;
}
--


System Information

macOS Version 11.6 (Build 20G165)
Xcode 13.1 (19466) (Build 13A1030d)
Timestamp: 2021-11-27T17:43:28-06:00

@tomgreco
Copy link

tomgreco commented Dec 8, 2021

This is still very much a huge issue that happens to me regularly @ferdicus

@codemeall
Copy link

the same issue happens to me every time I install the package

@4sskick
Copy link

4sskick commented Sep 23, 2024

how to solve this issue?
any update?

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

8 participants