trigger.ioを使用して iPad 用のアプリに取り組んでいます。アプリ ビルドは、エミュレーターで検索および実行されます。また、 testflightを介して iPad にインストールできる ipa にも正常にビルドされます。
試してみるforge run ios
と"device": "device"
、local_config.json
すべてがデバイスにコピーされ、次のエラーが表示されます。
[100%] Installed package /[path]/development/ios/device-ios.app/
------ Debug phase ------
Assertion failed: (AMDeviceStartService(device, CFSTR("com.apple.debugserver"), &gdbfd, NULL) == 0), function start_remote_debug_server, file fruitstrap.c, line 231.
[ ERROR] See /[path]/forge-error.log for more details
[ ERROR] Please contact support@trigger.io
forge-error.log
ファイルが存在しません。
誰がこれを引き起こしているのか考えていますか?
OSX ライオン、XCode 4.1、iPad 2、iOS 5.1.1
アップデート:
XCode 4.4.1 に更新され、もう少し進んでいます。新しいエラーは次のとおりです。
[100%] Installed package /[path]/development/ios/device-ios.app/
------ Debug phase ------
[100%] Connecting to remote debug server
-------------------------
Switching to remote-macosx protocol
[New thread 7171]
[Switching to process 7171 thread 0x1c03]
0x2fe51028 in ?? ()
Reading symbols for shared libraries . done
[ ERROR] See /[path]/forge-error.log for more details
何か案は?
更なるアップデート:
iPadでForgeブートストラップアプリを実行しようとすると同じ問題が発生するため、コードとは関係ないと思います...
そしてまた更新!
コマンドの実行中に 2 回エラーが発生しているように見えることに気付きました。役立つ場合に備えて、より完全な出力を以下に提供します。
$ forge run ios
[ INFO] Forge tools running at version 3.3.11
[ INFO] Checking JavaScript files...
[ INFO] JavaScript check complete
[ INFO] Verifying your configuration settings...
[ INFO] Configuration settings check complete
[ INFO] Running on iOS device: device
[ INFO] Plist OK
[ INFO] Installing app on device: is it connected?
[ INFO] ------ Install phase ------
[ INFO] [....] Waiting up to 10 seconds for iOS device to be connected
[ INFO] [ 0%] Found device (fe29da73fa45e10dfb3ca8cabd215c10de079137), beginning install
[ INFO] [ 5%] Copying /[path]/development/ios/device-ios.app/ to device
<snip>
[ INFO] [ 49%] Copying /[path]/development/ios/device-ios.app//tabs_modalWebViewController.nib to device
[ INFO] [ 50%] TakingInstallLock
[ INFO] [ 52%] CreatingStagingDirectory
[ INFO] [ 57%] ExtractingPackage
[ INFO] [ 60%] InspectingPackage
[ INFO] [ 65%] PreflightingApplication
[ INFO] [ 70%] VerifyingApplication
[ INFO] [ 70%] InstallingEmbeddedProfile
[ INFO] [ 80%] InstallingApplication
[ INFO] [ 85%] PostflightingApplication
[ INFO] [ 90%] SandboxingApplication
[ INFO] [100%] Installed package /[path]/development/ios/device-ios.app/
[ INFO] ------ Debug phase ------
[ INFO] [100%] Connecting to remote debug server
[ INFO] -------------------------
[ INFO] Switching to remote-macosx protocol
[ INFO] [New thread 7171]
[ INFO] [Switching to process 7171 thread 0x1c03]
[ INFO] 0x2fe11028 in ?? ()
[ INFO] Reading symbols for shared libraries . done
[ ERROR] Something went wrong that we didn't expect:
[ ERROR] Failed when running /[path]/.lib/fruitstrap: ------ Install phase ------
[....] Waiting up to 10 seconds for iOS device to be connected
[ 0%] Found device (fe29da73fa45e10dfb3ca8cabd215c10de079137), beginning install
[ 5%] Copying /[path]/development/ios/device-ios.app/ to device
<snip>
[ 49%] Copying /[path]/development/ios/device-ios.app//tabs_modalWebViewController.nib to device
[ 50%] TakingInstallLock
[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 65%] PreflightingApplication
[ 70%] VerifyingApplication
[ 70%] InstallingEmbeddedProfile
[ 80%] InstallingApplication
[ 85%] PostflightingApplication
[ 90%] SandboxingApplication
[100%] Installed package /[path]/development/ios/device-ios.app/
------ Debug phase ------
[100%] Connecting to remote debug server
-------------------------
Switching to remote-macosx protocol
[New thread 7171]
[Switching to process 7171 thread 0x1c03]
0x2fe11028 in ?? ()
Reading symbols for shared libraries . done
[ ERROR] See /[path]/forge-error.log for more details
[ ERROR] Please contact support@trigger.io