2

当我第一次部署应用程序时,一切正常,但是在更改代码并尝试使用“再次运行”按钮再次部署相同的应用程序后,应用程序在没有加载 forge 对象的情况下启动,因此我无法使用 forge API。

经过一点测试,我发现只有在部署“再次运行”按钮之前从手机中删除应用程序时,forge 才会加载。基本上是这样。我正在使用最新版本 v1.4.15 。

所以如果你能修复它会在开发过程中节省一些时间。

还有一个,我可以在iOS上从windows安装和运行应用程序,但我不能从我得到的windows调试应用程序

Launching - /private/var/mobile/Applications/C894C75B-DC03-4863-8C3C-09CEF15CC8D9/device- ios.app 
Could not start com.apple.debugserver!    
4

3 回答 3

1

对于这些 iOS 和 Windows 问题,可能是设备尚未启用开发 - 请参阅http://docs.trigger.io/en/v1.4/tools/ios-windows.html

如果您可以借用一台 OS X 机器来完成一次性任务,那么您就可以启动并运行。如果没有,应用程序将安装在设备上,但您需要iPhone 配置实用程序才能查看日志输出。

于 2013-02-28T16:54:53.680 回答
0

不确定它是否相关,但我在从基于 ToolKit 的 UI 运行 iOS 应用程序时看到此消息:[INFO] Launching - /private/var/mobile/Applications/0F328847-939D-4557-B58A-33ACACB3B295/ device-ios.app [INFO] 无法向引导服务器注册 io.trigger.forge1078daf40ad711e2acce12313d1adcbe。错误:未知错误代码。应用程序未完全启动;看起来锻造后端还没有准备好还是什么?

如果我等待几分钟,该应用程序将完美运行。诡异的....

于 2012-10-01T02:42:38.020 回答
0

我收到相同的错误消息。该应用程序安装在手机上,但无法启动。“运行 ios”后工具包 UI 上的最终状态为“失败”。错误行类似于此处报告的错误行:

[ERROR] Failed when running C:\my\projects\forge-workspace\appname\.lib\win-ios-install.exe: Installing c:\users\username\appdata\local\temp\tmppqzab4 to: 8e8023ffaa5ad085966046ca3931c9a09b7661a0
...
Launching - /private/var/mobile/Applications/32F5A9EC-2453-4CD5-9D04-A13D0E14D9AA/device-ios.app
Could not start com.apple.debugserver!

这是打开“显示调试输出”的完整日志:

[INFO] Forge tools running at version 3.3.34
[DEBUG] Forge build tools version: 3.3.34
[DEBUG] main: {"server": "{link}https://trigger.io/api/{/link}"}
[DEBUG] port: 38394
[DEBUG] GET {link}https://trigger.io/api/app/93ec7c70811411e2b05e12313d00dc45/should_rebuild{/link}
[DEBUG] Checking API response for success or error
[DEBUG] configuration is identical to last run
[DEBUG] POST {link}https://trigger.io/api/reload/buildevents/93ec7c70811411e2b05e12313d00dc45{/link}
[DEBUG] Checking API response for success or error
[DEBUG] Enabled platforms: [u'ios']
[DEBUG] Forge build tools version: 3.3.34
[DEBUG] main: {"server": "{link}https://trigger.io/api/{/link}"}
[DEBUG] port: 38394
[DEBUG] POST {link}https://trigger.io/api/track/{/link}
[DEBUG] <ForgeTask (ios)> running...
[DEBUG] <ForgeTask (ios)> script:
[{'do': {'lint_javascript': ()}},
 {'do': {'check_local_config_schema': ()}},
 {'do': {'resolve_urls': ('modules.activations.[].scripts.[]',
                          'modules.activations.[].styles.[]',
                          'modules.icons.*',
                          'modules.launchimage.iphone',
                          'modules.launchimage.iphone-retina',
                          'modules.launchimage.iphone-retina4',
                          'modules.launchimage.ipad',
                          'modules.launchimage.ipad-landscape',
                          'modules.launchimage.ipad-retina',
                          'modules.launchimage.ipad-landscape-retina',
                          'modules.launchimage.android',
                          'modules.launchimage.android-landscape',
                          'modules.button.default_icon',
                          'modules.button.default_popup',
                          'modules.button.default_icons.*')}},
 {'do': {'check_index_html': ('src',)}},
 {'do': {'copy_files': {'from': 'src',
                        'ignore_patterns': [u'.svn/',
                                            u'.cvs/',
                                            u'.hg/',
                                            u'./identity.json',
                                            u'.git/',
                                            u'.bzr/',
                                            u'.forgeignore',
                                            u'./config.json',
                                            u'.darcs/'],
                        'to': 'development/ios/*/assets/src'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'copy_files': {'from': 'src',
                        'ignore_patterns': [u'.svn/',
                                            u'.cvs/',
                                            u'.hg/',
                                            u'./identity.json',
                                            u'.git/',
                                            u'.bzr/',
                                            u'.forgeignore',
                                            u'./config.json',
                                            u'.darcs/'],
                        'to': 'development/reload/src'}}},
 {'do': {'find_and_replace_in_dir': {'find': '<head>',
                                     'replace': "<head><script src='%{back_to_parent}%forge/all.js'></script>",
                                     'root_dir': 'development/ios/*/assets/src'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'find_and_replace_in_dir': {'find': '<head>',
                                     'replace': "<head><script src='%{back_to_parent}%forge/all.js'></script>",
                                     'root_dir': 'development/reload/src'}}},
 {'do': {'find_and_replace_in_dir': {'find': '<head>',
                                     'replace': '<head>\n\t\t\t\t<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">\n\t\t\t\t<script>\n\t\t\t\tfunction window$forge$_receive(result) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\twindow.forge._receive(JSON.parse(result));\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tforge.logging.error("window$forge$_receive -> " + e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t</script>',
                                     'root_dir': 'development/reload/src'}}},
 {'do': {'populate_xml_safe_name': ()}},
 {'do': {'populate_json_safe_name': ()}},
 {'do': {'set_in_biplist': {'filename': 'development/ios/*/Info.plist',
                            'key': 'CFBundleName',
                            'value': '${name}'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'set_in_biplist': {'filename': 'development/ios/*/Info.plist',
                            'key': 'CFBundleDisplayName',
                            'value': '${name}'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'populate_package_names': ()}},
 {'do': {'set_in_biplist': {'filename': 'development/ios/*/Info.plist',
                            'key': 'CFBundleIdentifier',
                            'value': '${modules.package_names.ios}'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'find_and_replace': {'find': 'UUID_HERE',
                              'in': ('development/ios/device-ios.app/assets/app_config.json',),
                              'replace': '${uuid}'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'find_and_replace': {'find': 'UUID_HERE',
                              'in': ('development/ios/simulator-ios.app/assets/app_config.json',),
                              'replace': '${uuid}'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'set_in_biplist': {'filename': 'development/ios/*/Info.plist',
                            'key': 'CFBundleVersion',
                            'value': '1362063560'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'set_in_biplist': {'filename': 'development/ios/*/Info.plist',
                            'key': 'CFBundleShortVersionString',
                            'value': '${version}'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'populate_trigger_domain': ()}},
 {'do': {'find_and_replace': {'find': 'CONFIG_HASH_HERE',
                              'in': ('development/ios/device-ios.app/assets/app_config.json',),
                              'replace': '${config_hash}'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'find_and_replace': {'find': 'CONFIG_HASH_HERE',
                              'in': ('development/ios/simulator-ios.app/assets/app_config.json',),
                              'replace': '${config_hash}'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'find_and_replace': {'find': 'TRIGGER_DOMAIN_HERE',
                              'in': ('development/ios/device-ios.app/assets/app_config.json',),
                              'replace': '${trigger_domain}'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'find_and_replace': {'find': 'TRIGGER_DOMAIN_HERE',
                              'in': ('development/ios/simulator-ios.app/assets/app_config.json',),
                              'replace': '${trigger_domain}'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'populate_icons': ('ios', [57, 72, 114, 144])},
  'when': {'platform_is': 'ios'}},
 {'do': {'generate_sha1_manifest': {'input_folder': 'development/ios/device-ios.app/assets/src',
                                    'output_file': 'development/ios/device-ios.app/assets/hash_to_file.json'}},
  'when': {'platform_is': 'ios'}},
 {'do': {'generate_sha1_manifest': {'input_folder': 'development/ios/simulator-ios.app/assets/src',
                                    'output_file': 'development/ios/simulator-ios.app/assets/hash_to_file.json'}},
  'when': {'platform_is': 'ios'}}]
[INFO] Checking JavaScript files...
[DEBUG] Running: "C:\Users\username\AppData\Local\Trigger Toolkit\build-tools\bin\jsl.exe" -conf "C:\Users\username\AppData\Local\Trigger Toolkit\build-tools\jsl.conf" -process c:\projects\forge-workspace\appname\src\*.js -nologo -nofilelisting -nosummary
[WARNING] c:\projects\forge-workspace\appname\src\knockout.curly.js(29): SyntaxError: invalid quantifier {
[WARNING]             var ReplacementInfo = ReplaceMatches(node, /{{(.*?)}}/, function (Matches) {
[WARNING] .......................................................^
[WARNING] 
[WARNING] c:\projects\forge-workspace\appname\src\Scripts\jquery.validate.unobtrusive.js(27): SyntaxError: unterminated character class !
[WARNING]         return value.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^`{|}~])/g, "\\$1");
[WARNING] .............................^
[WARNING] 
[WARNING] c:\projects\forge-workspace\appname\src\Scripts\jquery.validate.unobtrusive.min.js(5): SyntaxError: unterminated character class !
[WARNING] (function(a){var d=a.validator,b,e="unobtrusiveValidation";function c(a,b,c){a.rules[b]=c;if(a.message)a.messages[b]=a.message}function j(a){return a.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function f(a){return a.replace(/([!"#$%&'()*+,./:;<=>?@\[\\\]^
[WARNING] ................................................................................................................................................................................................................................^
[WARNING] 
[INFO] JavaScript check complete
[INFO] Verifying your configuration settings...
[INFO] Configuration settings check complete
[DEBUG] copying src to development/ios\device-ios.app\assets\src
[DEBUG] copying src to development/ios\simulator-ios.app\assets\src
[DEBUG] copying src to development/reload/src
[DEBUG] replacing <head> with <head><script src='%{back_to_parent}%forge/all.js'></script> in development/ios/*/assets/src/**/*.('html',)
[DEBUG] replacing <head> with <head><script src='../forge/all.js'></script> in development/ios\device-ios.app\assets\src\index - original.html
[DEBUG] replacing <head> with <head><script src='../forge/all.js'></script> in development/ios\device-ios.app\assets\src\index.html
[DEBUG] replacing <head> with <head><script src='../forge/all.js'></script> in development/ios\simulator-ios.app\assets\src\index - original.html
[DEBUG] replacing <head> with <head><script src='../forge/all.js'></script> in development/ios\simulator-ios.app\assets\src\index.html
[DEBUG] replacing <head> with <head><script src='%{back_to_parent}%forge/all.js'></script> in development/reload/src/**/*.('html',)
[DEBUG] replacing <head> with <head><script src='../forge/all.js'></script> in development/reload/src\index - original.html
[DEBUG] replacing <head> with <head><script src='../forge/all.js'></script> in development/reload/src\index.html
[DEBUG] replacing <head> with <head>
                <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
                <script>
                function window$forge$_receive(result) {
                    try {
                        window.forge._receive(JSON.parse(result));
                    } catch (e) {
                        forge.logging.error("window$forge$_receive -> " + e);
                    }
                }
            </script> in development/reload/src/**/*.('html',)
[DEBUG] replacing <head> with <head>
                <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
                <script>
                function window$forge$_receive(result) {
                    try {
                        window.forge._receive(JSON.parse(result));
                    } catch (e) {
                        forge.logging.error("window$forge$_receive -> " + e);
                    }
                }
            </script> in development/reload/src\index - original.html
[DEBUG] replacing <head> with <head>
                <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
                <script>
                function window$forge$_receive(result) {
                    try {
                        window.forge._receive(JSON.parse(result));
                    } catch (e) {
                        forge.logging.error("window$forge$_receive -> " + e);
                    }
                }
            </script> in development/reload/src\index.html
[DEBUG] setting CFBundleName to appname in development/ios/*/Info.plist
[DEBUG] setting CFBundleDisplayName to appname in development/ios/*/Info.plist
[DEBUG] setting CFBundleIdentifier to U9XC4Z6EP5.* in development/ios/*/Info.plist
[DEBUG] replacing UUID_HERE with u'93ec7c70811411e2b05e12313d00dc45'
[DEBUG] replacing UUID_HERE with 93ec7c70811411e2b05e12313d00dc45 in development/ios/device-ios.app/assets/app_config.json
[DEBUG] replacing UUID_HERE with u'93ec7c70811411e2b05e12313d00dc45'
[DEBUG] replacing UUID_HERE with 93ec7c70811411e2b05e12313d00dc45 in development/ios/simulator-ios.app/assets/app_config.json
[DEBUG] setting CFBundleVersion to 1362063560 in development/ios/*/Info.plist
[DEBUG] setting CFBundleShortVersionString to 0.1 in development/ios/*/Info.plist
[DEBUG] Forge build tools version: 3.3.34
[DEBUG] main: {"server": "{link}https://trigger.io/api/{/link}"}
[DEBUG] port: 38394
[DEBUG] replacing CONFIG_HASH_HERE with u'436f5ffbc0886a450ff560d4a18acd10b24e78ca'
[DEBUG] replacing CONFIG_HASH_HERE with 436f5ffbc0886a450ff560d4a18acd10b24e78ca in development/ios/device-ios.app/assets/app_config.json
[DEBUG] replacing CONFIG_HASH_HERE with u'436f5ffbc0886a450ff560d4a18acd10b24e78ca'
[DEBUG] replacing CONFIG_HASH_HERE with 436f5ffbc0886a450ff560d4a18acd10b24e78ca in development/ios/simulator-ios.app/assets/app_config.json
[DEBUG] replacing TRIGGER_DOMAIN_HERE with u'{link}https://trigger.io'{/link}
[DEBUG] replacing TRIGGER_DOMAIN_HERE with {link}https://trigger.io{/link} in development/ios/device-ios.app/assets/app_config.json
[DEBUG] replacing TRIGGER_DOMAIN_HERE with u'{link}https://trigger.io'{/link}
[DEBUG] replacing TRIGGER_DOMAIN_HERE with {link}https://trigger.io{/link} in development/ios/simulator-ios.app/assets/app_config.json
[DEBUG] <ForgeTask (ios)> has finished
[INFO] Development build created. Use forge run to run your app.
[INFO] Forge tools running at version 3.3.34
[DEBUG] ignoring non-target directory reload
[DEBUG] Enabled platforms: [u'ios']
[DEBUG] Using configuration file value u'device' for ios.device
[DEBUG] Forge build tools version: 3.3.34
[DEBUG] main: {"server": "{link}https://trigger.io/api/{/link}"}
[DEBUG] port: 38394
[DEBUG] POST {link}https://trigger.io/api/track/{/link}
[DEBUG] <ForgeTask (ios)> running...
[DEBUG] <ForgeTask (ios)> script:
[{'do': {'run_ios': (u'device',)}, 'when': {'platform_is': 'ios'}}]
[INFO] Running on iOS device: device
[DEBUG] Using configuration file value u'C:\\iPhone Development Files\\Development_Provisioning_Profile.mobileprovision' for ios.profile.provisioning_profile
[DEBUG] Using configuration file value u'C:\\iPhone Development Files\\Developer Certificate.p12' for ios.profile.developer_certificate_path
[DEBUG] Using configuration file value u'appname2' for ios.profile.developer_certificate_password
[DEBUG] Looking for apps at c:\projects\forge-workspace\appname\development/ios/device-*/
[DEBUG] Signing c:\projects\forge-workspace\appname\development/ios\device-ios.app\
[DEBUG] Provisioning profile has valid wildcard application ID
[INFO] Plist OK
[INFO] 1 Provisioned Device(s):
[INFO] ['8e8023ffaa5ad085966046ca3931c9a09b7661a0']
[INFO] Starting package process for iOS
[INFO] Going to package: c:\projects\forge-workspace\appname\development\ios\device-ios.app
[DEBUG] Provisioning profile has valid wildcard application ID
[INFO] Plist OK
[INFO] 1 Provisioned Device(s):
[INFO] ['8e8023ffaa5ad085966046ca3931c9a09b7661a0']
[DEBUG] Extracted seed ID: U9XC4Z6EP5
[DEBUG] Making Payload directory
[DEBUG] Running: attrib +h c:\projects\forge-workspace\appname\.lib
[DEBUG] File: p12name.jar, already downloaded and correct.
[INFO] Sending app to remote server for codesigning. Uploading may take some time.
[INFO] 100 percent uploaded: c:\users\username\appdata\local\temp\tmp5e1zca
[INFO] 10 percent uploaded: c:\users\username\appdata\local\temp\tmp63qzfp
[INFO] 20 percent uploaded: c:\users\username\appdata\local\temp\tmp63qzfp
[INFO] 30 percent uploaded: c:\users\username\appdata\local\temp\tmp63qzfp
[INFO] 40 percent uploaded: c:\users\username\appdata\local\temp\tmp63qzfp
[INFO] 50 percent uploaded: c:\users\username\appdata\local\temp\tmp63qzfp
[INFO] 60 percent uploaded: c:\users\username\appdata\local\temp\tmp63qzfp
[INFO] 70 percent uploaded: c:\users\username\appdata\local\temp\tmp63qzfp
[INFO] 80 percent uploaded: c:\users\username\appdata\local\temp\tmp63qzfp
[INFO] 90 percent uploaded: c:\users\username\appdata\local\temp\tmp63qzfp
[INFO] 100 percent uploaded: c:\users\username\appdata\local\temp\tmp63qzfp
[INFO] 100 percent uploaded: C:\my\iPhone Development Files\Developer Certificate.p12
[INFO] Extracting app.zip
[INFO] Running: security create-keychain -p f1af2791b0756cb759e962ecebe61c271f8d2d39 9c863e0e28174ffba943a84ce722660088758729
[INFO] Returned success
[INFO] Running: security import certificate.p12 -k 9c863e0e28174ffba943a84ce722660088758729 -t agg -A -P appname2
[INFO] 1 identity imported.
[INFO] 
[INFO] Returned success
[INFO] Running: security unlock-keychain -p f1af2791b0756cb759e962ecebe61c271f8d2d39 9c863e0e28174ffba943a84ce722660088758729
[INFO] Returned success
[INFO] Running: codesign --keychain 9c863e0e28174ffba943a84ce722660088758729 --force --preserve-metadata --entitlements entitlements.plist --sign iPhone --resource-rules=app/ResourceRules.plist app
[INFO] Returned success
[INFO] Running: /usr/bin/zip --symlinks --verbose --recurse-paths ../out.zip .
[INFO]   adding: _CodeSignature/    (in=0) (out=0) (stored 0%)
[INFO]   adding: _CodeSignature/CodeResources   (in=513) (out=248) (deflated 52%)
[INFO]   adding: embedded.mobileprovision   (in=7428) (out=5034) (deflated 32%)
[INFO]   adding: Forge  (in=1608288) (out=564104) (deflated 65%)
[INFO]   adding: Info.plist (in=1316) (out=857) (deflated 35%)
[INFO]   adding: ResourceRules.plist    (in=161) (out=120) (deflated 25%)
[INFO] total bytes=1617706, compressed=570363 -> 65% savings
[INFO] 
[INFO] Returned success
[INFO] Running: security delete-keychain 9c863e0e28174ffba943a84ce722660088758729
[INFO] Returned success
[INFO] Signed app received, continuing with packaging.
[DEBUG] adding to IPA: c:\users\username\appdata\local\temp\tmpyirv0z\Payload\device-ios.app\ForgeCore.bundle\ForgeViewController.nib
[DEBUG] adding to IPA: c:\users\username\appdata\local\temp\tmpyirv0z\Payload\device-ios.app\_CodeSignature\CodeResources
[INFO] created IPA: c:\users\username\appdata\local\temp\tmppqzab4
[DEBUG] Running: attrib +h c:\projects\forge-workspace\appname\.lib
[DEBUG] File: win-ios-install.exe, already downloaded and correct.
[INFO] Installing app on device: is it connected?
[DEBUG] Running: c:\projects\forge-workspace\appname\.lib\win-ios-install.exe c:\users\username\appdata\local\temp\tmppqzab4 U9XC4Z6EP5.*
[INFO] Installing c:\users\username\appdata\local\temp\tmppqzab4 to: 8e8023ffaa5ad085966046ca3931c9a09b7661a0
[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/32F5A9EC-2453-4CD5-9D04-A13D0E14D9AA/device-ios.app
[INFO] Could not start com.apple.debugserver!
[ERROR] Failed when running c:\projects\forge-workspace\appname\.lib\win-ios-install.exe: Installing c:\users\username\appdata\local\temp\tmppqzab4 to: 8e8023ffaa5ad085966046ca3931c9a09b7661a0
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/32F5A9EC-2453-4CD5-9D04-A13D0E14D9AA/device-ios.app
Could not start com.apple.debugserver!
[DEBUG] Traceback (most recent call last):
  File "C:\Users\username\AppData\Local\Trigger Toolkit\build-tools\forge\async.py", line 96, in run
    result = self._target(*self._args, **self._kwargs)
  File "C:\Users\username\AppData\Local\Trigger Toolkit\trigger\api\app.py", line 459, in run
    forge_main.run(['--general.interactive', 'no'])
  File "C:\Users\username\AppData\Local\Trigger Toolkit\build-tools\forge\main.py", line 414, in run
    build_to_run=build_to_run,
  File "c:\projects\forge-workspace\appname\.template\generate_dynamic\customer_goals.py", line 125, in run_app
    build_to_run.run()
  File "c:\projects\forge-workspace\appname\.template\generate_dynamic\build.py", line 337, in run
    self._call_with_params(task_method, task_args)
  File "c:\projects\forge-workspace\appname\.template\generate_dynamic\build.py", line 296, in _call_with_params
    return method(self, *params)
  File "c:\projects\forge-workspace\appname\.template\generate_dynamic\ios_tasks.py", line 695, in run_ios
    certificate_password=certificate_password,
  File "c:\projects\forge-workspace\appname\.template\generate_dynamic\ios_tasks.py", line 628, in run_idevice
    run_shell(*win_ios_install, fail_silently=False, command_log_level=logging.INFO, check_for_interrupt=True)
  File "c:\projects\forge-workspace\appname\.template\generate_dynamic\utils.py", line 346, in run_shell
    output=state.output.getvalue()
ShellError: Failed when running c:\projects\forge-workspace\appname\.lib\win-ios-install.exe: Installing c:\users\username\appdata\local\temp\tmppqzab4 to: 8e8023ffaa5ad085966046ca3931c9a09b7661a0
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/32F5A9EC-2453-4CD5-9D04-A13D0E14D9AA/device-ios.app
Could not start com.apple.debugserver!
于 2013-02-28T15:19:17.977 回答