Skip to content

Commit 55428e7

Browse files
committed
Update for public API
1 parent 5781f9c commit 55428e7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

SimpleVM.xcodeproj/project.pbxproj

+3-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
isa = PBXProject;
110110
attributes = {
111111
LastSwiftUpdateCheck = 1200;
112-
LastUpgradeCheck = 1200;
112+
LastUpgradeCheck = 1220;
113113
TargetAttributes = {
114114
CC69033C24CE88B500273851 = {
115115
CreatedOnToolsVersion = 12.0;
@@ -285,6 +285,7 @@
285285
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
286286
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
287287
CODE_SIGN_ENTITLEMENTS = SimpleVM/SimpleVM.entitlements;
288+
CODE_SIGN_IDENTITY = "-";
288289
CODE_SIGN_STYLE = Automatic;
289290
COMBINE_HIDPI_IMAGES = YES;
290291
DEVELOPMENT_ASSET_PATHS = "\"SimpleVM/Preview Content\"";
@@ -308,6 +309,7 @@
308309
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
309310
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
310311
CODE_SIGN_ENTITLEMENTS = SimpleVM/SimpleVM.entitlements;
312+
CODE_SIGN_IDENTITY = "-";
311313
CODE_SIGN_STYLE = Automatic;
312314
COMBINE_HIDPI_IMAGES = YES;
313315
DEVELOPMENT_ASSET_PATHS = "\"SimpleVM/Preview Content\"";

SimpleVM/VirtualMachineViewModel.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class VirtualMachineViewModel: NSObject, ObservableObject, VZVirtualMachineDeleg
7676
let bootloader = VZLinuxBootLoader(kernelURL: kernelURL)
7777
bootloader.initialRamdiskURL = initialRamdiskURL
7878

79-
let serial = VZVirtioConsoleDeviceConfiguration()
79+
let serial = VZVirtioConsoleDeviceSerialPortConfiguration()
8080

8181
serial.attachment = VZFileHandleSerialPortAttachment(
8282
fileHandleForReading: writePipe.fileHandleForReading,

0 commit comments

Comments
 (0)