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

Failed to load Info.plist from bundle at path #954

Closed
nezaidu opened this issue Sep 27, 2018 · 3 comments · Fixed by #953
Closed

Failed to load Info.plist from bundle at path #954

nezaidu opened this issue Sep 27, 2018 · 3 comments · Fixed by #953

Comments

@nezaidu
Copy link

nezaidu commented Sep 27, 2018

When detox uninstalls the application, and then tries to install it again, xcrun throws an error:

An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Failed to load Info.plist from bundle at path /Users/name/Library/Developer/CoreSimulator/Devices/ID/data/Library/Caches/com.apple.mobile.installd.staging/temp.gkqkoQ/extracted/Payload/name.app
Failed to load Info.plist from bundle at path /Users/name/Library/Developer/CoreSimulator/Devices/ID/data/Library/Caches/com.apple.mobile.installd.staging/temp.gkqkoQ/extracted/Payload/name.app
Underlying error (domain=MIInstallerErrorDomain, code=35):
	Failed to load Info.plist from bundle at path /Users/name/Library/Developer/CoreSimulator/Devices/ID/data/Library/Caches/com.apple.mobile.installd.staging/temp.gkqkoQ/extracted/Payload/name.app

Description

Steps to Reproduce

/usr/bin/xcrun simctl install ID BLA.app
/usr/bin/xcrun simctl uninstall ID BLA.app
/usr/bin/xcrun simctl install ID BLA.app

Running uninstall twice before installing again fixes problem

Detox, Node, Device, Xcode and macOS Versions

  • Detox:
  • React Native: 56.0
  • Node: v8.3.0
  • Device: iphone 6s 12(tested on others, same thing)
  • Xcode: 10
  • macOS: mojave

These guys have the same problem appium/appium#11350

@LeoNatan
Copy link
Contributor

I reproduced this once, and it indeed failed installation right after uninstall. But @noomorph has been running into this issue regardless of uninstall. Or am I wrong @noomorph ?

@noomorph
Copy link
Collaborator

@nezaidu, Andrey, could you patch your local detox code according to the pull request and see whether it alleviates the issue?

@nezaidu
Copy link
Author

nezaidu commented Sep 27, 2018

@noomorph fix works, thank you very much!

@lock lock bot locked as resolved and limited conversation to collaborators Oct 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants