Comments (6)
I should probably make the FBSimulatorSet
constructor 'private' as you should not be using it directly. You should obtain the FBSimulatorSet
from the FBSimulatorControl
principal class.
Call the FBSimulatorControl
class constructor then get the FBSimulatorSet
from the set
property.
from idb.
Well, that was the magic bullet :)
from idb.
So this no longer works for iPadPro
after pulling the latest master:
+ (FBSimulator *)simulatorWithDeviceID:(NSString *)deviceID {
FBSimulatorSet *sims = [self control].set;
if (!sims) { return nil; }
FBiOSTargetQuery *query = [FBiOSTargetQuery udids:@[deviceID]];
NSArray <FBSimulator *> *results = [sims query:query];
if (results.count == 0) {
NSLog(@"No simulators found for ID %@", deviceID);
return nil;
}
FBSimulator *sim = results[0];
return sim;
}
The simulator reports having no deviceConfiguration
and therefore no simulatorArchitecture
and so is unable to do anything. Worked on at least one iPhone 5 sim, still testing others.
from idb.
We need to create a configuration for each kind of device, the reason that we do this is to decouple the available runtimes that are loaded from CoreSimulator
from the API that allows you to specify a query for each of them. Sounds like we have to add a configuration for the iPad Pro in order to get this working.
from idb.
8191e91 should fix the iPad Pro on Xcode 8 issues.
from idb.
Closing as it appears the iPad Pro issue was resolved.
from idb.
Related Issues (20)
- Noobie instalation question.
- Is it necessary to additionally define BASE_IDB_FILE_PATH under Windows?
- IDB Launch command not working HOT 1
- Stream not working
- Your CLT does not support macOS 13.4
- [Question] It is possible to control the device from the browser HOT 1
- video-stream :- help required to dynamically compress or scale down minicap framess
- The --fps option for video-stream doesn't work.
- when use idb and ffmepg to record video, Appium Session lose HOT 1
- Cannot build idb_companion in Xcode 15.0 on the current master (2022-09-19) HOT 4
- [Request] Support app icon PNG data command HOT 4
- [iOS 17] idb screenshot not working HOT 4
- Maps permission pop-up not shown
- iOS 17 support HOT 16
- idb list-targets return "No targets available" HOT 2
- Are there any plans to release a new version?
- Build companion via github actions workflow HOT 6
- Does idb automate the real devices ?
- Does idb's screen recording command support record sound?
- Swift Package manager support for FBSimulatorControl
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 idb.