Comments (9)
For us it worked using Fastlane 2.219.0
and instead of iPhone 14 Pro Max (17.0.1)
using the same as the Xcode simulator says: iPhone 14 Pro Max (17.0)
It will automatically match to the right simulator when running in CI
from fastlane.
Just tried fastlane 2.219.0
, but unfortunately, I'm still met with the same error. Version 2.217.0
still works.
from fastlane.
Hey! This might be fixed in 2.219.0
which just went out 🤞 Would you be able let me know if the newest version works for you or not? 😇
from fastlane.
2.217.0
not working for me unfortunately... I have an iPad called "My iPad" under iOS 17.0. So I don't know if I have to put My iPad
or My iPad (17.0)
as listed when I do xcrun xctrace list devices
from fastlane.
I finally used destination
and it works on 2.219.0
:
run_tests(
project: "MyProject.xcodeproj",
scheme: "MyScheme",
ensure_devices_found: true,
destination: "platform=iOS,name=My iPad",
)
from fastlane.
could you collect the output of the following commands?
xcrun simctl list runtimes
and
xcrun simctl list runtimes -j
Thanks.
from fastlane.
Running xcrun simctl list runtimes
yields
== Runtimes ==
iOS 15.0 (15.0 - 19A339) - com.apple.CoreSimulator.SimRuntime.iOS-15-0
iOS 16.4 (16.4 - 20E247) - com.apple.CoreSimulator.SimRuntime.iOS-16-4
iOS 17.0 (17.0 - 21A328) - com.apple.CoreSimulator.SimRuntime.iOS-17-0
iOS 17.0 (17.0.1 - 21A342) - com.apple.CoreSimulator.SimRuntime.iOS-17-0
running xcrun simctl list runtimes -j
yields
Long output >>>
{
"runtimes" : [
{
"bundlePath" : "\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 15.0.simruntime",
"buildversion" : "19A339",
"platform" : "iOS",
"runtimeRoot" : "\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 15.0.simruntime\/Contents\/Resources\/RuntimeRoot",
"identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-15-0",
"version" : "15.0",
"isInternal" : false,
"isAvailable" : true,
"name" : "iOS 15.0",
"supportedDeviceTypes" : [
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6s.simdevicetype",
"name" : "iPhone 6s",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s",
"productFamily" : "iPhone"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 6s Plus.simdevicetype",
"name" : "iPhone 6s Plus",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus",
"productFamily" : "iPhone"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone SE (1st generation).simdevicetype",
"name" : "iPhone SE (1st generation)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE",
"productFamily" : "iPhone"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 7.simdevicetype",
"name" : "iPhone 7",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7",
"productFamily" : "iPhone"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 7 Plus.simdevicetype",
"name" : "iPhone 7 Plus",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus",
"productFamily" : "iPhone"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPhone 8.simdevicetype",
"name" : "iPhone 8",
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (9th generation).simdevicetype",
"name" : "iPad (9th generation)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation",
"productFamily" : "iPad"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air (4th generation).simdevicetype",
"name" : "iPad Air (4th generation)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-",
"productFamily" : "iPad"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (3rd generation).simdevicetype",
"name" : "iPad Pro (11-inch) (3rd generation)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation",
"productFamily" : "iPad"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (5th generation).simdevicetype",
"name" : "iPad Pro (12.9-inch) (5th generation)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation",
"productFamily" : "iPad"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Air (5th generation).simdevicetype",
"name" : "iPad Air (5th generation)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-5th-generation",
"productFamily" : "iPad"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad (10th generation).simdevicetype",
"name" : "iPad (10th generation)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-10th-generation",
"productFamily" : "iPad"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad mini (6th generation).simdevicetype",
"name" : "iPad mini (6th generation)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation",
"productFamily" : "iPad"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (4th generation).simdevicetype",
"name" : "iPad Pro (11-inch) (4th generation)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-4th-generation-8GB",
"productFamily" : "iPad"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (11-inch) (4th generation) (16GB).simdevicetype",
"name" : "iPad Pro (11-inch) (4th generation) (16GB)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-4th-generation-16GB",
"productFamily" : "iPad"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (6th generation).simdevicetype",
"name" : "iPad Pro (12.9-inch) (6th generation)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-6th-generation-8GB",
"productFamily" : "iPad"
},
{
"bundlePath" : "\/Applications\/Xcode-15.0.1.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/iPad Pro (12.9-inch) (6th generation) (16GB).simdevicetype",
"name" : "iPad Pro (12.9-inch) (6th generation) (16GB)",
"identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-6th-generation-16GB",
"productFamily" : "iPad"
}
]
}
]
}
from fastlane.
@GHMarcus Thanks, your solution works.
Closing, but it still feels like this is a breaking change. cc @joshdholtz @lacostej
from fastlane.
@michalsrutek
I feel the same, but good my solution helped you too. Furthermore it is a little inconsistant, for run_tests
it helps to use the cut off version. For snapshots
it will not find any simulators. So at the end I updated everything to iOS 17.2
where everything works fine again.
from fastlane.
Related Issues (20)
- 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
- "ar-SA - Invalid request" when uploading metadata to Play Store with a locale it does not support HOT 1
- gym export_options : {method} resolves into empty string HOT 2
- Documentation for iOS screenshots on Xcode is outdated.
- TestFairy Action Fails with NoMethodError for key? Method on String
- Unable to ^C in response to 'Could not find fastlane ... Would you like to set fastlane up?'
- Match CLI Doc wrong? HOT 1
- [Sigh] Creating tvos provisioning profile fails when fetching devices. HOT 1
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.