Skip to content

Commit

Permalink
Corrected reference to device details.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Jul 27, 2017
1 parent f6d2040 commit c06b163
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions briefcase/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,14 @@ def start_app(self):
print(' * Launching app on %s %s...' % (self.device_name, self.os_version))
app_identifier = '.'.join([self.bundle, self.formal_name.replace(' ', '-')])

subprocess.Popen(['xcrun', 'instruments', '-w', device['udid']]).wait()
subprocess.Popen(['xcrun', 'instruments', '-w', self.device['udid']]).wait()

subprocess.Popen(['xcrun', 'simctl', 'uninstall', device['udid'], app_identifier], cwd=working_dir).wait()
subprocess.Popen(['xcrun', 'simctl', 'uninstall', self.device['udid'], app_identifier], cwd=working_dir).wait()
subprocess.Popen([
'xcrun', 'simctl', 'install', device['udid'],
'xcrun', 'simctl', 'install', self.device['udid'],
os.path.join('build', 'Debug-iphonesimulator', '%s.app' % self.formal_name)
], cwd=working_dir).wait()

subprocess.Popen([
'xcrun', 'simctl', 'launch', device['udid'], app_identifier
'xcrun', 'simctl', 'launch', self.device['udid'], app_identifier
]).wait()

0 comments on commit c06b163

Please sign in to comment.