Skip to content

Commit

Permalink
Fix “Invalid platform MacOSX” warning (johnno1962#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbalbert authored and johnno1962 committed Aug 12, 2022
1 parent 37f9f38 commit 428e719
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Sources/HotReloading/SwiftEval.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by John Holdsworth on 02/11/2017.
// Copyright © 2017 John Holdsworth. All rights reserved.
//
// $Id: //depot/HotReloading/Sources/HotReloading/SwiftEval.swift#69 $
// $Id: //depot/HotReloading/Sources/HotReloading/SwiftEval.swift#70 $
//
// Basic implementation of a Swift "eval()" including the
// mechanics of recompiling a class and loading the new
Expand Down Expand Up @@ -536,7 +536,7 @@ public class SwiftEval: NSObject {
osSpecific = "-mtvos-simulator-version-min=9.0"
case "AppleTVOS":
osSpecific = "-mtvos-version-min=9.0"
case "MacOS":
case "MacOSX":
let target = compileCommand
.replacingOccurrences(of: #"^.*( -target \S+).*$"#,
with: "$1", options: .regularExpression)
Expand Down
2 changes: 1 addition & 1 deletion Sources/HotReloadingGuts/ClientBoot.mm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by John Holdsworth on 02/24/2021.
// Copyright © 2021 John Holdsworth. All rights reserved.
//
// $Id: //depot/HotReloading/Sources/HotReloadingGuts/ClientBoot.mm#64 $
// $Id: //depot/HotReloading/Sources/HotReloadingGuts/ClientBoot.mm#67 $
//
// Initiate connection to server side of InjectionIII/HotReloading.
//
Expand Down
2 changes: 1 addition & 1 deletion Sources/HotReloadingGuts/SimpleSocket.mm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Created by John Holdsworth on 06/11/2017.
// Copyright © 2017 John Holdsworth. All rights reserved.
//
// $Id: //depot/HotReloading/Sources/HotReloadingGuts/SimpleSocket.mm#25 $
// $Id: //depot/HotReloading/Sources/HotReloadingGuts/SimpleSocket.mm#28 $
//
// Server and client primitives for networking through sockets
// more esailly written in Objective-C than Swift. Subclass to
Expand Down

0 comments on commit 428e719

Please sign in to comment.