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)
- would be nice to add python3 as prerequisite as readme
- Error while executed list-targets on macOS updated idb-companion and fb-idb HOT 3
- idb misrecognizes arm64 simulator as x86_64 and refused to install arm64 apps HOT 1
- Info on Install Dylib Command
- idb list-apps doesn't provide bundle version
- How to dynamically scale the H264 encoded stream
- [Error] Getting error when run "idb list-targets" and others HOT 2
- Cannot stream video with mjpeg/minicap format
- idb file tool failed, error msg like this: fileCommandsForApplicationContainers not supported on devices, requires a rooted device HOT 1
- The
- Wrong path being used for idb_companion HOT 2
- idb interact Commands are not working in real devices HOT 2
- 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.
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.