Giter Club home page Giter Club logo

Comments (33)

mirzazeyrek avatar mirzazeyrek commented on June 12, 2024

same here

from ios-deploy.

herrernst avatar herrernst commented on June 12, 2024

same here

from ios-deploy.

sandeepjain avatar sandeepjain commented on June 12, 2024

same here.

from ios-deploy.

jensoleg avatar jensoleg commented on June 12, 2024

same here although:
ios-deploy -c
[....] Waiting up to 5 seconds for iOS device to be connected
[....] Found device (7c4552f6b5dc77471bc94ce5102725deb6e01a14).

from ios-deploy.

shazron avatar shazron commented on June 12, 2024

Probably related to #20

from ios-deploy.

shazron avatar shazron commented on June 12, 2024

Just fixed #20, can you pull the latest and test.

from ios-deploy.

herrernst avatar herrernst commented on June 12, 2024

Didn't fix it for me (app get's installed, but debugger doesn't work), although I might be doing something wrong.

------ Debug phase ------
[  0%] Looking up developer disk image
[ 90%] Mounting developer disk image
[ 95%] Developer disk image already mounted
[100%] Connecting to remote debug server
-------------------------
(lldb) Executing commands in '/tmp/fruitstrap-lldb-prep-cmds-'.
(lldb)      platform select remote-ios --sysroot '/Users/me/Library/Developer/Xcode/iOS DeviceSupport/7.0.4 (11B554a)/Symbols'
  Platform: remote-ios
 Connected: no
  SDK Path: "/Users/me/Library/Developer/Xcode/iOS DeviceSupport/7.0.4 (11B554a)/Symbols"
(lldb)      target create "/Users/me/Downloads/ionic-weather-master/platforms/ios/build/device/IonicWeather.app"
Current executable set to '/Users/me/Downloads/ionic-weather-master/platforms/ios/build/device/IonicWeather.app' (armv7).
(lldb)      script fruitstrap_device_app="/private/var/mobile/Applications/1007E8D1-5A42-4184-A35B-CC795BF7F82D/IonicWeather.app"
(lldb)      script fruitstrap_connect_url="connect://127.0.0.1:12345"
(lldb)      script fruitstrap_handle_command="command script add -s asynchronous -f fruitstrap_.fsrun_command run"
(lldb)      command script import "/tmp/fruitstrap_.py"
run
error: the platform is not currently connected

from ios-deploy.

jkingyens avatar jkingyens commented on June 12, 2024

I no longer see "the platform is not currently connected" but I get this instead:

[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 60%] TakingInstallLock
[ 65%] PreflightingApplication
[ 65%] InstallingEmbeddedProfile
[ 70%] VerifyingApplication
[ 80%] InstallingApplication
[ 85%] PostflightingApplication
[ 90%] SandboxingApplication
[100%] Installed package /Users/jkingyens/sessions/platforms/ios/build/device/Recur.app
------ Debug phase ------
[ 0%] Looking up developer disk image
[ 90%] Mounting developer disk image
[ 95%] Developer disk image already mounted
[100%] Connecting to remote debug server


run

It just hangs on "run" forever (I waited a few minutes)

from ios-deploy.

renatorodrigues avatar renatorodrigues commented on June 12, 2024

I've been using "ios-deploy' for the past two hours without problems (except #21) and suddenly it stops working. Now I have the same problem as stated on previous comments.

(lldb) run
Executing commands in '/tmp/fruitstrap-lldb-prep-cmds-8fc069a26cd95434dfae1852042d2ab0c832ba70'.
(lldb)      platform select remote-ios --sysroot '/Users/renato.miguel/Library/Developer/Xcode/iOS DeviceSupport/7.0.4 (11B554a)/Symbols'
  Platform: remote-ios
 Connected: no
  SDK Path: "/Users/renato.miguel/Library/Developer/Xcode/iOS DeviceSupport/7.0.4 (11B554a)/Symbols"
(lldb)      target create "/Users/renato.miguel/Library/Developer/Xcode/DerivedData/Automator-bwcdpfwxjumsjmffvdiyxjgmeedz/Build/Products/Debug-iphoneos/Automator.app"
Current executable set to '/Users/renato.miguel/Library/Developer/Xcode/DerivedData/Automator-bwcdpfwxjumsjmffvdiyxjgmeedz/Build/Products/Debug-iphoneos/Automator.app' (armv7s).
(lldb)      script fruitstrap_device_app="/private/var/mobile/Applications/65D25680-59A3-4DC5-B2D2-631294DE0F7F/Automator.app"
(lldb)      script fruitstrap_connect_url="connect://127.0.0.1:12345"
(lldb)      script fruitstrap_handle_command="command script add -s asynchronous -f fruitstrap_8fc069a26cd95434dfae1852042d2ab0c832ba70.fsrun_command run"
(lldb)      command script import "/tmp/fruitstrap_8fc069a26cd95434dfae1852042d2ab0c832ba70.py"
error: the platform is not currently connected
(lldb) run
run
error: the platform is not currently connected

from ios-deploy.

shazron avatar shazron commented on June 12, 2024

Check for hanging ios-deploy and/or lldb executable instances in Activity Viewer and kill those, then try running again

from ios-deploy.

jkingyens avatar jkingyens commented on June 12, 2024

i killed these processes with kill -9, but still getting a hang on "run"

from ios-deploy.

shazron avatar shazron commented on June 12, 2024

Just clarifying:
It hangs on run -- does it try to launch the app at all or it launches then hangs?

For me, when running a signed app directly through the command line using ios-deploy, it runs fine and loads immediately, but if I call it through a shell-script, it does indeed hang after the 'run', not sure what is going on yet.

from ios-deploy.

jkingyens avatar jkingyens commented on June 12, 2024

It doesn't run on the phone. No activity there.

from ios-deploy.

shazron avatar shazron commented on June 12, 2024

Shot in the dark: Try modifying the debug server port of 12345 in the code.
connect://127.0.0.1:12345

from ios-deploy.

shazron avatar shazron commented on June 12, 2024
lsof -i:12345

from ios-deploy.

herrernst avatar herrernst commented on June 12, 2024

Okay, after a reboot (to make sure there are no hanging ios-deploy/lldb processes - and there were lots of them) I got it to run, the error message is still there, but after "run" there's a "success":

------ Debug phase ------
[  0%] Looking up developer disk image
[ 90%] Mounting developer disk image
[ 95%] Developer disk image already mounted
[100%] Connecting to remote debug server
-------------------------user
(lldb) Executing commands in '/tmp/fruitstrap-lldb-prep-cmds-'.
(lldb)      platform select remote-ios --sysroot '/Users/user/Library/Developer/Xcode/iOS DeviceSupport/7.0.4 (11B554a)/Symbols'
  Platform: remote-ios
 Connected: no
  SDK Path: "/Users/user/Library/Developer/Xcode/iOS DeviceSupport/7.0.4 (11B554a)/Symbols"
(lldb)      target create "/Users/user/Downloads/ionic-weather-master/platforms/ios/build/device/IonicWeather.app"
Current executable set to '/Users/user/Downloads/ionic-weather-master/platforms/ios/build/device/IonicWeather.app' (armv7).
(lldb)      script fruitstrap_device_app="/private/var/mobile/Applications/1007E8D1-5A42-4184-A35B-CC795BF7F82D/IonicWeather.app"
(lldb)      script fruitstrap_connect_url="connect://127.0.0.1:12345"
(lldb)      script fruitstrap_handle_command="command script add -s asynchronous -f fruitstrap_.fsrun_command run"
(lldb)      command script import "/tmp/fruitstrap_.py"
Process 0 connected
(lldb) run
success
(lldb) 2014-03-24 10:09:09.007 IonicWeather[139:60b] Multi-tasking -> Device: YES, App: YES
2014-03-24 10:09:09.093 IonicWeather[139:60b] Unlimited access to network resources
2014-03-24 10:09:09.806 IonicWeather[139:60b] [CDVTimer][statusbar] 239.919960ms
2014-03-24 10:09:09.809 IonicWeather[139:60b] [CDVTimer][TotalPluginStartup] 243.090034ms
2014-03-24 10:09:11.255 IonicWeather[139:60b] Resetting plugins due to page load.
2014-03-24 10:09:14.691 IonicWeather[139:60b] Finished load of: file:///var/mobile/Applications/1007E8D1-5A42-4184-A35B-CC795BF7F82D/IonicWeather.app/www/index.html

I've tried on a 7.0.4 and on a 7.1 device; on 7.0.4 app starts immediately, on 7.1 it takes around 2 minutes (I'm using 1.0.5 from npm).

from ios-deploy.

shazron avatar shazron commented on June 12, 2024

Try with latest 1.0.6

from ios-deploy.

herrernst avatar herrernst commented on June 12, 2024

Not changed very much, on my 7.1 device it takes (I have measured it now) around 30 seconds before the app runs (before the screen is just black).
BTW, in my system.log I found this:

Apr  9 18:33:30 mymac.domain com.apple.usbmuxd[45]: LOCKDOWN_V2_BONJOUR_SERVICE_NAME is _apple-mobdev2._tcp,94c50832
Apr  9 18:33:30 mymac.domain ios-deploy[34071]: AMDeviceTransferApplication (thread 0x7fff790bd310): ENTRY
Apr  9 18:33:31 mymac.domain ios-deploy[34071]: AMDeviceInstallApplication (thread 0x7fff790bd310): ENTRY
Apr  9 18:33:32 mymac.domain ios-deploy[34071]: stream_image (thread 0x7fff790bd310): received ack: ReceiveBytesAck, proceeding with transfer...
Apr  9 18:33:33 mymac.domain ios-deploy[34071]: stream_image (thread 0x7fff790bd310): transfer complete, status: Complete
Apr  9 18:33:33 mymac.domain ios-deploy[34071]: mount_image (thread 0x7fff790bd310): There was an error mounting the image: kAMDSuccess
Apr  9 18:33:33 mymac.domain com.apple.usbmuxd[45]: MuxTCPInputSCE received RST for 0xf-df5243075476ac721d7e6c0fbd0bcf8980cc9d13@0x14120000:53016->0x1002071a0-ios-deploy/NULL:64005: sendMuxSegment connection was closed
Apr  9 18:33:33 mymac.domain ios-deploy[34071]: AMDeviceMountImage (thread 0x7fff790bd310): Could not mount image: kAMDMobileImageMounterImageMountFailed
Apr  9 18:33:33 mymac.domain ios-deploy[34071]: AMDeviceMountImage (thread 0x7fff790bd310): Could not hangup with service agent: kAMDSendMessageError

It's not there for a 7.0 device (where everything works great).

from ios-deploy.

mlynch avatar mlynch commented on June 12, 2024

Also getting this here from a vanilla cordova project. XCode 5.1, ios-deploy 1.0.6. Any thoughts on what might be causing this? Never had an issue until very recently.

from ios-deploy.

morenoh149 avatar morenoh149 commented on June 12, 2024

got this too :(

from ios-deploy.

zweck avatar zweck commented on June 12, 2024

I get this issues too. It's not the end of the world because the app is still build and does run on my device, it's just that I have to open it manually. And clearly there is an error.

from ios-deploy.

keithdmoore avatar keithdmoore commented on June 12, 2024

when I connect my iPhone 5s running 7.1.1, and run "cordova run ios", I get the following:

[ 49%] Copying /Users/me/projects/myawesomeapp/platforms/ios/build/device/MyViverae.app/www/views/uploads/uploadForms.html to device
[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 60%] TakingInstallLock
[ 65%] PreflightingApplication
[ 65%] InstallingEmbeddedProfile
[ 70%] VerifyingApplication
[ 75%] CreatingContainer
[ 80%] InstallingApplication
[ 85%] PostflightingApplication
[ 90%] SandboxingApplication
[ 95%] GeneratingApplicationMap
[100%] Installed package /Users/me/projects/myawesomeapp/platforms/ios/build/device/MyAwesomeApp.app
------ Debug phase ------
[ 0%] Looking up developer disk image
[ 90%] Mounting developer disk image
[ 95%] Developer disk image already mounted

[100%] Connecting to remote debug server

(lldb)

The app is deployed and runs but obviously, no debug out put. The very first time I ran it, it worked flawlessly. However, every time I run it, I get the about.

from ios-deploy.

liahsheep avatar liahsheep commented on June 12, 2024

I got this error too. I figured out that lldb is not probably killed after the first run, and it dangled in the memory even I quitted it by ^C. So I tried killall lldb each time before running cordova run ios, and it works again.
Note: I ran npm update -g ios-deploy to update to the latest version, but I still have to manually kill lldb every time.

from ios-deploy.

joshbuchea avatar joshbuchea commented on June 12, 2024

Yes, I have to open the app manually and kill the rogue lldb process after each deployment as well.

So for now, I'm either running my app in the simulator or using 'killall lldb' after each deployment to an iOS device.

[EDIT] Specifics: iPhone 5s, iOS 7.1.1, PhoneGap 3.5, executing command 'phonegap run ios'.

from ios-deploy.

jonahgoldsaito avatar jonahgoldsaito commented on June 12, 2024

I'm also having runaway LLDB processes after building to my phone while developing.

Noticed them in the Activity Monitor after my fan wouldn't stop going crazy (there were 20 or so and three of them claimed to be taking up 99% of the CPU).

I'd assumed (clearly wrongly) that quitting the app on my phone and closing the terminal window would clean things up. Should we be using "killall lldb" manually after we run on a device?

from ios-deploy.

mica16 avatar mica16 commented on June 12, 2024

Same here, killing lldb is the unique solution I found.
Otherwise, if I re-run ionic run ios (or cordova run ios), the process "hangs/freezes" at 49% without any error message and nothing happens.

from ios-deploy.

EdL avatar EdL commented on June 12, 2024

Same here - cannot use "cordova run ios" !

My versions

Cordova: 3.6.3-0.2.13
Ionic: 1.2.5
ios-deploy: 1.1.0
Xcode: 6.0.1 (6A317)

Output:

[ 49%] Copying /Users/lunter/Development/projects/ionic/Smit(lldb) command source -s 0 '/tmp/fruitstrap-lldb-prep-cmds-'
Executing commands in '/private/tmp/fruitstrap-lldb-prep-cmds-'.
(lldb) platform select remote-ios --sysroot '/Users/lunter/Library/Developer/Xcode/iOS DeviceSupport/8.0.2 (12A405)/Symbols'
Platform: remote-ios
Connected: no
SDK Path: "/Users/lunter/Library/Developer/Xcode/iOS DeviceSupport/8.0.2 (12A405)/Symbols"
(lldb) target create "/Users/lunter/Development/projects/ionic/SmithFinder/platforms/ios/build/device/SmithFinder.app"
Current executable set to '/Users/lunter/Development/projects/ionic/SmithFinder/platforms/ios/build/device/SmithFinder.app' (armv7).
(lldb) script fruitstrap_device_app="/private/var/mobile/Containers/Bundle/Application/644B1592-8A3D-4C5C-A653-D887B0373177/SmithFinder.app"
(lldb) script fruitstrap_connect_url="connect://127.0.0.1:12345"
(lldb) command script import "/tmp/fruitstrap_.py"
(lldb) command script add -f fruitstrap_.connect_command connect
(lldb) command script add -s asynchronous -f fruitstrap_.run_command run
(lldb) command script add -s asynchronous -f fruitstrap_.autoexit_command autoexit
(lldb) command script add -s asynchronous -f fruitstrap_.safequit_command safequit
(lldb) connect

from ios-deploy.

shazron avatar shazron commented on June 12, 2024

update and try version 1.2.0

from ios-deploy.

cablehead avatar cablehead commented on June 12, 2024

1.2.0 is working for me!

from ios-deploy.

EdL avatar EdL commented on June 12, 2024

1.2.0 works. Thanks!

Note for others - in case you didn't know, to exit cleanly from the lldb prompt - type "exit" then "Y" rather than ctrl-c. Just using ctrl-c leaves lldb processes running.

from ios-deploy.

senthilmanick avatar senthilmanick commented on June 12, 2024

Shazron,
Could you merge/pull from senthilmanick/ios-deploy v1.3?
-Senthil

from ios-deploy.

shazron avatar shazron commented on June 12, 2024

Thanks Senthil, I'll fetch your 1.3 tag and merge it in.

from ios-deploy.

shazron avatar shazron commented on June 12, 2024

@senthilmanick merged.

from ios-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.