Skip to content

Commit

Permalink
Removed unsed ios-sim references from code.
Browse files Browse the repository at this point in the history
  • Loading branch information
florianf committed Dec 11, 2016
1 parent 26f4e44 commit 4b6e53e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

/**
* Simulator device types, consisting of the device type id and SDK version as
* listed by ios-sim.
* listed by xcrun simctl devices -j list.
*/
public class DeviceType implements Comparable<DeviceType> {
public static final String PREFIX = "com.apple.CoreSimulator.SimDeviceType.";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,20 +110,6 @@ public static boolean isDeviceArch(Arch arch) {
return arch == Arch.thumbv7 || arch == Arch.arm64;
}

public static synchronized File getIosSimPath() {
if (iosSimPath == null) {
try {
File path = File.createTempFile("ios-sim", "");
FileUtils.copyURLToFile(IOSTarget.class.getResource("/ios-sim"), path);
path.setExecutable(true);
path.deleteOnExit();
iosSimPath = path;
} catch (IOException e) {
throw new Error(e);
}
}
return iosSimPath;
}

public List<SDK> getSDKs() {
if (isSimulatorArch(arch)) {
Expand Down

0 comments on commit 4b6e53e

Please sign in to comment.