| Index: testing/iossim/iossim.mm
|
| diff --git a/testing/iossim/iossim.mm b/testing/iossim/iossim.mm
|
| index b0d691632c806ad34a23ca901506e0855a48db55..74651d7016a09233271e29efaae6ccf05cd6c54d 100644
|
| --- a/testing/iossim/iossim.mm
|
| +++ b/testing/iossim/iossim.mm
|
| @@ -2,6 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#import <Appkit/Appkit.h>
|
| #include <asl.h>
|
| #import <Foundation/Foundation.h>
|
| #include <libgen.h>
|
| @@ -24,6 +25,17 @@
|
| @class DVTStackBacktrace;
|
| #import "DVTFoundation.h"
|
|
|
| +// TODO(crbug.com/619982): The latest Xcode beta does not include the proper
|
| +// headers to use or compile iossim. Define them here so iossim can compile for
|
| +// now. Unwind this #ifdef if future betas work, or replace and remove iossim.
|
| +#if defined(__MAC_10_12) && __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_10_12
|
| +@class SimDevice;
|
| +@class SimDevicePasteboardConnection;
|
| +@class SimDeviceNotificationManager;
|
| +@class SimMachPortServer;
|
| +@class SimPasteboardItem;
|
| +#endif
|
| +
|
| @protocol SimBridge;
|
| @class DVTSimulatorApplication;
|
| @class SimDeviceSet;
|
| @@ -56,6 +68,21 @@
|
| didStart:(BOOL)started
|
| withError:(NSError*)error;
|
| @end
|
| +
|
| +// TODO(crbug.com/619982): The latest Xcode beta does not include the proper
|
| +// headers to use or compile iossim. Define them here so iossim can compile for
|
| +// now. Unwind this #ifdef if future betas work, or replace and remove iossim.
|
| +#if defined(__MAC_10_12) && __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_10_12
|
| +@class SimRuntime;
|
| +@interface DTiPhoneSimulatorSystemRoot : NSObject<NSCopying> {
|
| + SimRuntime* _runtime;
|
| +}
|
| ++ (id)rootWithSDKVersion:(id)arg1;
|
| +@property(readonly) SimRuntime* runtime;
|
| +@property(readonly, copy) NSString* sdkVersion;
|
| +@end
|
| +#endif
|
| +
|
| #import "DVTiPhoneSimulatorRemoteClient.h"
|
|
|
| // An undocumented system log key included in messages from launchd. The value
|
|
|