Skip to content

Instantly share code, notes, and snippets.

@chrislerum
Created February 26, 2015 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrislerum/b42af50c87f88f853f3a to your computer and use it in GitHub Desktop.
Save chrislerum/b42af50c87f88f853f3a to your computer and use it in GitHub Desktop.
simulator for iphone and iwatch both appear, but getting this immediately in console
rake watch
Build ./build/iPhoneSimulator-8.2-Development
Build MyWatchApp/build/iPhoneSimulator-8.2-Development
Compile MyWatchApp/app/glance_controller.rb
Compile ../../../.gem/ruby/2.2.0/gems/ib-0.7.2/lib/ib/outlets.rb
Compile MyWatchApp/app/interface_controller.rb
Compile MyWatchApp/app/notification_controller.rb
Create MyWatchApp/build/iPhoneSimulator-8.2-Development/MyHostApp WatchKit Extension.appex
Link MyWatchApp/build/iPhoneSimulator-8.2-Development/MyHostApp WatchKit Extension.appex/MyHostApp WatchKit Extension
Create MyWatchApp/build/iPhoneSimulator-8.2-Development/MyHostApp WatchKit Extension.appex/Info.plist
Create MyWatchApp/build/iPhoneSimulator-8.2-Development/MyHostApp WatchKit Extension.app.dSYM
Compile watch_app/Images.xcassets
WARNING! /Users/chris/code/rubymotion/MyHostApp/MyWatchApp/watch_app/Images.xcassets:./AppIcon.appiconset/[watch][][companionSettings][][3x][(null)]: warning: The app icon set "AppIcon" has 3 unassigned images.
WARNING! /Users/chris/code/rubymotion/MyHostApp/MyWatchApp/watch_app/Images.xcassets:./LaunchImage.launchimage/[watch][38mm][2x][portrait][full-screen][8.0][(null)]: warning: The launch image set "LaunchImage" has 2 unassigned images.
Create ./build/iPhoneSimulator-8.2-Development/MyHostApp WatchKit Extension.appex/MyHostApp Watch App.app/Info.plist
Compile ./app/app_delegate.rb
Create ./build/iPhoneSimulator-8.2-Development/MyHostApp.app
Link ./build/iPhoneSimulator-8.2-Development/MyHostApp.app/MyHostApp
Create ./build/iPhoneSimulator-8.2-Development/MyHostApp.app/PkgInfo
Copy ./MyWatchApp/build/iPhoneSimulator-8.2-Development/MyHostApp WatchKit Extension.appex
Create ./build/iPhoneSimulator-8.2-Development/MyHostApp.app/Info.plist
Copy ./resources/Default-568h@2x.png
Copy ./resources/Default-667h@2x.png
Copy ./resources/Default-736h@3x.png
Create ./build/iPhoneSimulator-8.2-Development/MyHostApp.app.dSYM
Simulate ./build/iPhoneSimulator-8.2-Development/MyHostApp.app/PlugIns/MyHostApp WatchKit Extension.appex
(lldb) command source -s 0 '/var/folders/s1/gvjk3pbd7nq9s2npxh0mv47h0000gn/T//watch-sim-debugger-commands.rYUr3T'
Executing commands in '/private/var/folders/s1/gvjk3pbd7nq9s2npxh0mv47h0000gn/T/watch-sim-debugger-commands.rYUr3T'.
(lldb) process attach -p 84385
Process 84385 stopped
Executable module set to "/usr/lib/dyld".
Architecture set to: i386-apple-ios.
(lldb) command script import /Library/RubyMotion/lldb/lldb.py
(lldb) breakpoint set --name rb_exc_raise
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) breakpoint set --name malloc_error_break
Breakpoint 2: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) continue
Process 84385 resuming
(lldb) 1 location added to breakpoint 1
(lldb) 1 location added to breakpoint 2
(lldb) 2015-02-26 11:24:02.224 MyHostApp WatchKit Extension[84385:1812125] <InterfaceController: 0xba48600> initWithContext
2015-02-26 11:24:02.225 MyHostApp WatchKit Extension[84385:1812125] <InterfaceController: 0xba48600> will activate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment