Comments (2)
It looks like you're encountering an issue with Fastlane's snapshot action due to the unavailability of a specific simulator device. The error message suggests that the device.plist file for an iPhone 8 Plus simulator is not readable.
To address this issue, you can try the following steps:
You mentioned that you accidentally removed the device data from the CoreSimulator directory. It's possible that the simulator state became inconsistent. You can try cleaning up your simulators using the following Fastlane command:
fastlane snapshot reset_simulators
This command will reset your simulators to a clean state, which may resolve the issue.
Specify the Simulator: You can explicitly specify the simulator you want to use in your Fastfile by adding a devices parameter to your snapshot block. For example:
snapshot(
workspace: "ShopCrate.xcworkspace",
devices: [
"iPhone 8 Plus (02CC7B8D-1BD7-41F7-AAE7-C2F19FB2F5BD)"
],
concurrent_simulators: false,
skip_open_summary: is_ci
)
Replace the device identifier with the one that corresponds to an available simulator.
Update Fastlane: Ensure you are using YourTexasBenefits the latest version of Fastlane by running:
fastlane update_fastlane
Upgrading to the latest version may resolve any known issues related to simulator selection.
Check Simulator Configuration: Verify that the unavailable simulator (with the problematic device.plist) is not explicitly specified or referenced elsewhere in your Fastlane configuration.
Check Xcode Configuration: Ensure that your Xcode installation and configuration are up-to-date and consistent with your project requirements.
Recreate Unavailable Simulator: If none of the above steps work, you might consider recreating the unavailable simulator manually through Xcode's simulator manager. Give it a different name or identifier and then try to specify that in your Fastlane configuration.
If none of these steps resolve the issue, you may need to provide additional context or investigate further into your specific setup, as it could be related to project-specific configuration or a potential bug in Fastlane or Xcode. Additionally, checking the Fastlane GitHub repository for similar issues and solutions may be helpful.
from fastlane.
Running fastlane snapshot reset_simulators
solved the issue.
Thank you bot user for helping me fix my issue. Reported for advertisement.
from fastlane.
Related Issues (20)
- [match] visionOS devices are not included in provisioning profiles HOT 1
- Fastlane Precheck Failure - Unexpected Response HOT 4
- Create a DriverKit provisioning profile HOT 1
- Having issues with provisioning profiles HOT 1
- ARCHIVE FAILED The following build commands failed: ...(in target 'React-rncore' from project 'Pods') HOT 10
- Unable to deploy iOS app to apple app store using fastlane HOT 1
- failed to authenticate with fastlane API key with Azure pipeline HOT 2
- Exit status: 65 HOT 1
- Apple changed AppStatus 'Ready for Sales' to 'Ready for Distribution' HOT 2
- `match init` assumes a default branch of `master` when using git storage, which is no longer the Github default HOT 1
- upload_to_app_store does not upload release_notes.txt. No error thrown. All other metadata files are uploaded HOT 1
- Unable to upload to app store " Could not find action, lane or variable 'id'" HOT 1
- No ipa or pkg file given while uploading to app store HOT 7
- [spaceship] incomplete support for tvOS platform HOT 2
- Fastlane could not find action or lane 'get_certificates' HOT 1
- The version number has been previously used.
- `fastlane build_app` is trying to access Development provisioning profiles when run for `appstore` only with Github Actions HOT 5
- Fastlane run_tests fails when attempting to get runtimes
- Generated error ENV HOT 2
- Fastlane `2.219.0` was published without changes. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastlane.