我正在使用 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!