Commit b7e388c5 authored by Chinmay Garde's avatar Chinmay Garde

Allow preconfigured packages for iOS simulator and devices

parent 9fd1711b
...@@ -47,11 +47,11 @@ class AndroidApk extends ApplicationPackage { ...@@ -47,11 +47,11 @@ class AndroidApk extends ApplicationPackage {
} }
class IOSApp extends ApplicationPackage { class IOSApp extends ApplicationPackage {
static const String _defaultName = 'SkyShell.app'; static const String _defaultId = 'io.flutter.runner.Runner';
static const String _defaultId = 'com.google.SkyShell'; static const String _defaultPath = 'ios';
IOSApp({ IOSApp({
String localPath, String localPath: _defaultPath,
String id: _defaultId String id: _defaultId
}) : super(localPath: localPath, id: id); }) : super(localPath: localPath, id: id);
} }
...@@ -98,12 +98,12 @@ class ApplicationPackageStore { ...@@ -98,12 +98,12 @@ class ApplicationPackageStore {
case TargetPlatform.iOS: case TargetPlatform.iOS:
assert(iOS == null); assert(iOS == null);
iOS = new IOSApp(localPath: path.join(config.buildDir, IOSApp._defaultName)); iOS = new IOSApp();
break; break;
case TargetPlatform.iOSSimulator: case TargetPlatform.iOSSimulator:
assert(iOSSimulator == null); assert(iOSSimulator == null);
iOSSimulator = new IOSApp(localPath: path.join(config.buildDir, IOSApp._defaultName)); iOSSimulator = new IOSApp();
break; break;
case TargetPlatform.mac: case TargetPlatform.mac:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment