1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <CoreSimulator/SimDevice.h>
/**
Methods that have been removed or had their signatures changed in newer
CoreSimulator versions. Kept here for reference and backward compatibility
with older Xcode versions if needed.
*/
@interface SimDevice (Removed)
/**
Removed in Xcode 8 Betas. Replaced by lookup:error: which returns a mach_port_t.
*/
- (id)portForServiceNamed:(id)arg1 error:(NSError **)arg2;
/**
Old 6-arg factory. Replaced by 9-arg version adding runtimePolicy:, runtimeSpecifier:, lastBootedAt:.
Changed around Xcode 14.
*/
+ (instancetype)simDevice:(NSString *)arg1 UDID:(NSUUID *)arg2 deviceTypeIdentifier:(NSString *)arg3 runtimeIdentifier:(NSString *)arg4 state:(unsigned long long)arg5 deviceSet:(SimDeviceSet *)arg6;
/**
Old 5-arg factory without error: parameter. Now includes error: as 6th arg.
Changed around Xcode 14.
*/
+ (instancetype)createDeviceWithName:(NSString *)arg1 deviceSet:(SimDeviceSet *)arg2 deviceType:(SimDeviceType *)arg3 runtime:(SimRuntime *)arg4 initialDataPath:(NSString *)arg5;
/**
Old 7-arg init. Replaced by 12-arg version adding runtimePolicy:, runtimeSpecifier:,
preparingForDeletion:, isEphemeral:, lastBootedAt:.
Changed around Xcode 14.
*/
- (instancetype)initDevice:(NSString *)arg1 UDID:(NSUUID *)arg2 deviceTypeIdentifier:(NSString *)arg3 runtimeIdentifier:(NSString *)arg4 state:(unsigned long long)arg5 initialDataPath:(NSString *)arg6 deviceSet:(SimDeviceSet *)arg7;
/**
Old 3-arg createLaunchdJob. Replaced by 5-arg version adding binpref:, enableCheckedAllocations:,
and moving error: to the end.
Changed around Xcode 15.
*/
- (BOOL)createLaunchdJobWithError:(NSError **)arg1 extraEnvironment:(NSDictionary *)arg2 disabledJobs:(NSDictionary *)arg3;
/**
Removed in Xcode 27 (CoreSimulator 1155.4). These are internal XPC request
plumbing, bridge/launchd lifecycle, and lookup helpers that are no longer
present on SimDevice. None are called by idb/FBSimulatorControl; kept here as
a record of the Xcode 26.x -> 27 delta.
*/
- (NSMutableDictionary *)createXPCNotification:(NSDictionary *)arg1;
- (NSMutableDictionary *)createXPCRequest:(NSDictionary *)arg1;
- (void)handleXPCRequestDeviceIOPortDetachConsumer:(NSDictionary *)arg1;
- (void)handleXPCRequestDeviceIOPortAttachConsumer:(NSDictionary *)arg1;
- (void)handleXPCRequestSpawn:(NSDictionary *)arg1;
- (unsigned int)_lookup:(NSString *)arg1 error:(NSError **)arg2;
- (BOOL)_sendBridgeRequest:(CDUnknownBlockType)arg1 error:(NSError **)arg2;
- (BOOL)_onBootstrapQueue_bootWithOptions:(NSDictionary *)arg1 deathMonitorPort:(NSMachPort *)arg2 deathTriggerPort:(NSMachPort *)arg3 error:(NSError **)arg4;
- (void)launchdDeathHandlerWithDeathPort:(NSMachPort *)arg1;
- (BOOL)startLaunchdWithDeathPort:(NSMachPort *)arg1 deathHandler:(CDUnknownBlockType)arg2 error:(NSError **)arg3;
- (void)registerPortsWithLaunchd;
- (BOOL)ensureLogPathsWithError:(NSError **)arg1;
@end