Skip to content

Commit

Permalink
Update storyboard injection for Xcode 10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
johnno1962 committed Apr 17, 2019
1 parent f05e96c commit e310fbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions InjectionBundle/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/ResidentEval/InjectionBundle/SwiftEval.swift#111 $
// $Id: //depot/ResidentEval/InjectionBundle/SwiftEval.swift#113 $
//
// Basic implementation of a Swift "eval()" including the
// mechanics of recompiling a class and loading the new
Expand Down Expand Up @@ -222,7 +222,7 @@ public class SwiftEval: NSObject {
if ($line =~ /^\\s*cd /) {
$realPath = $line;
}
elsif (my ($product) = $line =~ m@\\.xcent --timestamp=none (.*\\.app)\\r@o) {
elsif (my ($product) = $line =~ m@/usr/bin/ibtool.*? --(timestamp=none|link) (\\S+\\.app)@o) {
print $product;
exit 0;
}
Expand Down

0 comments on commit e310fbf

Please sign in to comment.