Trigger.io Forge Toolkit - 从Windows 7在iPhone设备上运行iOS应用程序时出错

时间:2012-12-05 22:48:36

标签: ios trigger.io

我正在使用Trigger.io Forge Toolkit在Windows上构建一个iOS应用程序(是的,我知道它不应该是!)。

我正在通过USB连接iPhone 4来“运行iOS”。该应用程序构建正常,但转移到设备后失败。该应用程序实际上在设备上,并从主屏幕运行 - 但Trigger Toolkit无法自行启动应用程序。

因此,当我在手机上启动应用程序(手动,从主屏幕)时,我无法看到任何触发调试信息。

[INFO] ERROR: instproxy_browse returned -3
[ERROR] Failed when running C:\Users\Strachan\Mez\wewana\repo\.lib\win-ios-install.exe: Installing c:\users\strachan\appdata\local\temp\tmpc1pvje to: 2f5ffa12b4567865f96821745a2295b4fc5d67e5
Install - CreatingStagingDirectory (5%)
Install - ExtractingPackage (15%)
Install - InspectingPackage (20%)
Install - TakingInstallLock (20%)
Install - PreflightingApplication (30%)
Install - InstallingEmbeddedProfile (30%)
Install - VerifyingApplication (40%)
Install - CreatingContainer (50%)
Install - InstallingApplication (60%)
Install - PostflightingApplication (70%)
Install - SandboxingApplication (80%)
Install - GeneratingApplicationMap (90%)
Install - Complete
ERROR: instproxy_browse returned -3
[DEBUG] Traceback (most recent call last):
  File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\build-tools\forge\async.py", line 96, in run
    result = self._target(*self._args, **self._kwargs)
  File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\trigger\api\app.py", line 286, in run
    forge_main.run(['--general.interactive', 'no'])
  File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\build-tools\forge\main.py", line 437, in run
    build_to_run=build_to_run,
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\customer_goals.py", line 125, in run_app
    build_to_run.run()
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\build.py", line 337, in run
    self._call_with_params(task_method, task_args)
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\build.py", line 296, in _call_with_params
    return method(self, *params)
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\ios_tasks.py", line 626, in run_ios
    certificate_password=certificate_password,
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\ios_tasks.py", line 563, in run_idevice
    run_shell(*win_ios_install, fail_silently=False, command_log_level=logging.INFO, check_for_interrupt=True)
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\utils.py", line 346, in run_shell
    output=state.output.getvalue()
ShellError: Failed when running C:\Users\Strachan\Mez\wewana\repo\.lib\win-ios-install.exe: Installing c:\users\strachan\appdata\local\temp\tmpc1pvje to: 2f5ffa12b4567865f96821745a2295b4fc5d67e5
Install - CreatingStagingDirectory (5%)
Install - ExtractingPackage (15%)
Install - InspectingPackage (20%)
Install - TakingInstallLock (20%)
Install - PreflightingApplication (30%)
Install - InstallingEmbeddedProfile (30%)
Install - VerifyingApplication (40%)
Install - CreatingContainer (50%)
Install - InstallingApplication (60%)
Install - PostflightingApplication (70%)
Install - SandboxingApplication (80%)
Install - GeneratingApplicationMap (90%)
Install - Complete
ERROR: instproxy_browse returned -3

我尝试在iPhone 3GS上运行并获得相同的行为,但错误略有不同:

[INFO] Installing c:\users\strachan\appdata\local\temp\tmpyg1vs5 to: d6aa150bf9695ce041b37215adb5d6b70f9d6bf4
[INFO] Install - CreatingStagingDirectory (5%)
[INFO] Install - ExtractingPackage (15%)
[INFO] Install - InspectingPackage (20%)
[INFO] Install - TakingInstallLock (20%)
[INFO] Install - PreflightingApplication (30%)
[INFO] Install - InstallingEmbeddedProfile (30%)
[INFO] Install - VerifyingApplication (40%)
[INFO] Install - CreatingContainer (50%)
[INFO] Install - InstallingApplication (60%)
[INFO] Install - PostflightingApplication (70%)
[INFO] Install - SandboxingApplication (80%)
[INFO] Install - GeneratingApplicationMap (90%)
[INFO] Install - Complete
[INFO] Launching - /private/var/mobile/Applications/5CC01B44-FC0C-474C-8511-57DA33815625/device-ios.app
[INFO] Could not start com.apple.debugserver!
[ERROR] Failed when running C:\Users\Strachan\Mez\wewana\repo\.lib\win-ios-install.exe: Installing c:\users\strachan\appdata\local\temp\tmpyg1vs5 to: d6aa150bf9695ce041b37215adb5d6b70f9d6bf4
Install - CreatingStagingDirectory (5%)
Install - ExtractingPackage (15%)
Install - InspectingPackage (20%)
Install - TakingInstallLock (20%)
Install - PreflightingApplication (30%)
Install - InstallingEmbeddedProfile (30%)
Install - VerifyingApplication (40%)
Install - CreatingContainer (50%)
Install - InstallingApplication (60%)
Install - PostflightingApplication (70%)
Install - SandboxingApplication (80%)
Install - GeneratingApplicationMap (90%)
Install - Complete
Launching - /private/var/mobile/Applications/5CC01B44-FC0C-474C-8511-57DA33815625/device-ios.app
Could not start com.apple.debugserver!
[DEBUG] Traceback (most recent call last):
  File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\build-tools\forge\async.py", line 96, in run
    result = self._target(*self._args, **self._kwargs)
  File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\trigger\api\app.py", line 286, in run
    forge_main.run(['--general.interactive', 'no'])
  File "C:\Users\Strachan\AppData\Local\Trigger Toolkit\build-tools\forge\main.py", line 437, in run
    build_to_run=build_to_run,
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\customer_goals.py", line 125, in run_app
    build_to_run.run()
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\build.py", line 337, in run
    self._call_with_params(task_method, task_args)
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\build.py", line 296, in _call_with_params
    return method(self, *params)
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\ios_tasks.py", line 626, in run_ios
    certificate_password=certificate_password,
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\ios_tasks.py", line 563, in run_idevice
    run_shell(*win_ios_install, fail_silently=False, command_log_level=logging.INFO, check_for_interrupt=True)
  File "C:\Users\Strachan\Mez\wewana\repo\.template\generate_dynamic\utils.py", line 346, in run_shell
    output=state.output.getvalue()
ShellError: Failed when running C:\Users\Strachan\Mez\wewana\repo\.lib\win-ios-install.exe: Installing c:\users\strachan\appdata\local\temp\tmpyg1vs5 to: d6aa150bf9695ce041b37215adb5d6b70f9d6bf4
Install - CreatingStagingDirectory (5%)
Install - ExtractingPackage (15%)
Install - InspectingPackage (20%)
Install - TakingInstallLock (20%)
Install - PreflightingApplication (30%)
Install - InstallingEmbeddedProfile (30%)
Install - VerifyingApplication (40%)
Install - CreatingContainer (50%)
Install - InstallingApplication (60%)
Install - PostflightingApplication (70%)
Install - SandboxingApplication (80%)
Install - GeneratingApplicationMap (90%)
Install - Complete
Launching - /private/var/mobile/Applications/5CC01B44-FC0C-474C-8511-57DA33815625/device-ios.app
Could not start com.apple.debugserver!

1 个答案:

答案 0 :(得分:0)

是否已在OS X计算机上启用设备进行开发?

我们最近发现,当Xcode首次使用该设备时,它会更新设备以启用远程拖尾日志。

如果不这样做,虽然您可以安装应用程序没问题,但您需要像iPhone配置实用程序一样查看日志(http://support.apple.com/downloads/#iphone)。