anchor.diff:      return false;
     }
   
  -  Future<bool> buildPrecompiledApplication(ApplicationPackage app) async {
  -    int result = await runCommandAndStreamOutput([
  -      '/usr/bin/env', 'xcrun', 'xcodebuild', '-target', 'Runner', '-configuration', 'Release'
  -    ], workingDirectory: app.localPath);
  -
  -    return result == 0;
  -  }
  -
     @override
     Future<bool> startApp(ApplicationPackage app) async {
       logging.fine("Attempting to build and install ${app.name} on $id");
   
       // Step 1: Install the precompiled application if necessary
  -    bool buildResult = await buildPrecompiledApplication(app);
  +    bool buildResult = await _buildIOSXcodeProject(app, true);
   
       if (!buildResult) {
         logging.severe('Could not build the precompiled application for the device');
  
positive.code:       ]);
        return true;
      } else {
        // TODO(iansf): It may be possible to make this work on Linux. Since this
        //              functionality appears to be the only that prevents us from
        //              supporting iOS on Linux, it may be worth putting some time
        //              into investigating this.
        //              See https://bbs.archlinux.org/viewtopic.php?id=192655
        return false;
      }
      return false;
  
negative.code:     return new DeviceStore(android: android, iOS: iOS, iOSSimulator: iOSSimulator);
    }
  }
  
  Future<bool> _buildIOSXcodeProject(ApplicationPackage app, bool isDevice) async {
    List<String> command = [
      '/usr/bin/env', 'xcrun', 'xcodebuild', '-target', 'Runner', '-configuration', 'Release'
    ];
  
    if (!isDevice) {
      command.addAll(['-sdk', 'iphonesimulator']);
    }
  
    int result = await runCommandAndStreamOutput(command,
        workingDirectory: app.localPath);
    return result == 0;
  }
  