Skip to content

Instantly share code, notes, and snippets.

View timrisi's full-sized avatar

Timothy Risi timrisi

  • KickBack Reward Systems
  • Anchorage, AK
View GitHub Profile
at Xamarin.Forms.ListProxy.get_Item (System.Int32 index) [0x0000b] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Core\ListProxy.cs:124
at Xamarin.Forms.ListProxy.System.Collections.IList.get_Item (System.Int32 index) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Core\ListProxy.cs:433
at Xamarin.Forms.TemplatedItemsList`2[TView,TItem].get_Item (System.Int32 index) [0x00008] in <69f759fecfb14f439d94319fcaf1d725>:0
at Xamarin.Forms.Platform.iOS.ListViewRenderer+ListViewDataSource.GetCellForPath (Foundation.NSIndexPath indexPath) [0x00030] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\Renderers\ListViewRenderer.cs:940
at Xamarin.Forms.Platform.iOS.ListViewRenderer+UnevenListViewDataSource.GetHeightForRow (UIKit.UITableView tableView, Foundation.NSIndexPath indexPath) [0x00000] in C:\BuildAgent3\work\ca3766cfc22354a1\Xamarin.Forms.Platform.iOS\Renderers\ListViewRenderer.cs:643
at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,s
This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
Stack:(
0 Foundation 0x0000000186ac766c <redacted> + 96
1 Foundation 0x0000000186ac7350 <redacted> + 76
2 Foundation 0x00000001868f7da0 <redacted> + 132
3 Foundation 0x0000000186ac5458 <redacted> + 112
4 UIKit 0x000000018f3d04c4 <redacted> + 280
5 UIKit 0x000000018f3d0000 <redacted> + 1256
6 QuartzCore 0x0000000189fa10b4 <redacted> + 184
7 QuartzCore 0x0000000189fa5194 <redacted> + 332
make[6]: Leaving directory `/Users/Tim/Projects/Xamarin/maccore-master/maccore/builds/llvm/cmake/modules'
make[5]: Leaving directory `/Users/Tim/Projects/Xamarin/maccore-master/maccore/builds/llvm/cmake'
make[5]: Entering directory `/Users/Tim/Projects/Xamarin/maccore-master/maccore/builds/llvm/unittests'
make[6]: Entering directory `/Users/Tim/Projects/Xamarin/maccore-master/maccore/builds/llvm/unittests/CodeGen'
make[6]: Nothing to be done for `install'.
make[6]: Leaving directory `/Users/Tim/Projects/Xamarin/maccore-master/maccore/builds/llvm/unittests/CodeGen'
make[6]: Entering directory `/Users/Tim/Projects/Xamarin/maccore-master/maccore/builds/llvm/unittests/Bitcode'
make[6]: Nothing to be done for `install'.
make[6]: Leaving directory `/Users/Tim/Projects/Xamarin/maccore-master/maccore/builds/llvm/unittests/Bitcode'
make[6]: Entering directory `/Users/Tim/Projects/Xamarin/maccore-master/maccore/builds/llvm/unittests/Analysis'
irb(main):001:0> start_test_server_in_background
{:launch_method=>:instruments, :reset=>false, :bundle_id=>"com.xamarin.monocatalog1", :device=>"com.xamarin.monocatalog1", :no_stop=>false, :no_launch=>false, :sdk_version=>nil, :udid=>"5496777b376c93c67472f6d93759b183636a17a0", :device_target=>"5496777b376c93c67472f6d93759b183636a17a0", :app=>"com.xamarin.monocatalog1", :script=>"/Users/Tim/.rvm/gems/ruby-2.1.0/gems/run_loop-0.1.1/scripts/run_loop_fast_uia.js"}
device_target=5496777b376c93c67472f6d93759b183636a17a0
udid=5496777b376c93c67472f6d93759b183636a17a0
bundle_dir_or_bundle_id=com.xamarin.monocatalog1
script=/var/folders/d5/0m2657ws4b339b0ryh0brkhw0000gn/T/run_loop20140124-17547-fhs8b7/_run_loop.js
log_file=/var/folders/d5/0m2657ws4b339b0ryh0brkhw0000gn/T/run_loop20140124-17547-fhs8b7/run_loop.out
timeout=30
args=[]
Preparation took 0.020451 seconds
### Starting on simulator App: /Users/Tim/Projects/Xamarin/monotouch-samples/MonoCatalog-MonoDevelop/bin/iPhoneSimulator/Debug/monocatalog.app ###
2014-01-21 15:26:21 -0900 instruments -D "/var/folders/d5/0m2657ws4b339b0ryh0brkhw0000gn/T/run_loop20140121-92292-bk4s79/trace" -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate "/Users/Tim/Projects/Xamarin/monotouch-samples/MonoCatalog-MonoDevelop/bin/iPhoneSimulator/Debug/monocatalog.app" -e UIARESULTSPATH /var/folders/d5/0m2657ws4b339b0ryh0brkhw0000gn/T/run_loop20140121-92292-bk4s79 -e UIASCRIPT /var/folders/d5/0m2657ws4b339b0ryh0brkhw0000gn/T/run_loop20140121-92292-bk4s79/_run_loop.js &> /var/folders/d5/0m2657ws4b339b0ryh0brkhw0000gn/T/run_loop20140121-92292-bk4s79/run_loop.out
Launching took 4.434895 seconds
Sending UIA command
uia.tapOffset('{:x 150, :y 129.75}')
Result
{"status"=>"success", "value"=>":nil", "index"=>0}
Given I am on the "Address Book"
### Starting on Simulator App: com.yourcompany.tictactoe ###
Calabash::Cucumber::Launcher::StartError: Time out waiting for UIAutomation run-loop to Start.
Logfile /var/folders/gl/58gw59dn2339b3ncypxv0g3h0000gn/T/run_loop20131115-20624-1myxvcc/run_loop.out
Instruments Usage Error : Unknown hardware device specified.
(Calabash::Cucumber::Launcher::StartError)
/Users/Tim/.rvm/gems/ruby-2.0.0-p247/gems/calabash-cucumber-0.9.158/lib/calabash-cucumber/launcher.rb:226:in `new_run_loop'
/Users/Tim/.rvm/gems/ruby-2.0.0-p247/gems/calabash-cucumber-0.9.158/lib/calabash-cucumber/launcher.rb:155:in `relaunch'
/Users/Tim/Projects/Xamarin/monotouch-samples/TicTacToe/TicTacToe/features/support/01_launch.rb:29:in `Before'
[12-Nov-2013 13:22:54] Command [Info: CommmandUrl=Info] finished (10)
[12-Nov-2013 13:22:54] Handling with command: [Login: CommmandUrl=Login] (11)
[12-Nov-2013 13:22:54] Attempting to acquire command execution lock, timeout set to 00:10:00
[12-Nov-2013 13:22:54] Login process initiated, returning UUID for pairing.
[12-Nov-2013 13:22:54] Command [Login: CommmandUrl=Login] finished (11)
[12-Nov-2013 13:22:54] Handling with command: [Login: CommmandUrl=Login] (11)
[12-Nov-2013 13:22:54] Attempting to acquire command execution lock, timeout set to 00:10:00
[12-Nov-2013 13:22:54] Command [Login: CommmandUrl=Login] finished (11)
[12-Nov-2013 13:22:55] Handling with command: [ListDevices: CommmandUrl=ListDevices] (11)
[12-Nov-2013 13:22:55] Attempting to acquire command execution lock, timeout set to 00:10:00
Mono.IOS.VisualStudio.MonoTouchPackage Error: 0 : [2013-11-08 08:51:55.6] Build server returned an Error.
Mono.IOS.VisualStudio.MonoTouchPackage Error: 0 : [2013-11-08 08:51:55.7] Installation failed: Package Inspection Failed Error (error: 0xe8000051)
error MT1006: Could not install the application '/Users/Tim/Library/Caches/Xamarin/mtbs/builds/MyCompanyVisitorsClientiOS/e473ab4e-2896-4637-b81e-4078483e3885/output/Debug/iPhone/MyCompanyVisitorsClientiOS.app' on the device 'Mark’s iPad': Package Inspection Failed Error (error: 0xe8000051).
Mono.IOS.VisualStudio.MonoTouchPackage Error: 0 : [2013-11-08 08:51:55.7] Xamarin.iOS encountered the following error(s):
System.Exception: Application deployment failed (Generic)
Server command 'Deploy': failed to deploy application to device
Server failure while processing the command. See below for details
Response status: Error
@timrisi
timrisi / gist:6135761
Created August 1, 2013 22:02
AVFoundation
//Xamarin Code
NSUrl url = new NSUrl (NSBundle.MainBundle.PathForResource ("IMG_1254", "MOV"), false);
AVUrlAsset asset = new AVUrlAsset (url, new AVUrlAssetOptions ());
NSError error;
AVAssetReader assetReader = new AVAssetReader (asset, out error);
AVAssetTrack videoTrack = asset.Tracks [0];
NSString key = CVPixelBuffer.PixelFormatTypeKey;
NSString value = new NSString (CVPixelFormatType.CV32BGRA.ToString ());
NSDictionary videoSettings = NSDictionary.FromObjectAndKey (value, key);
@timrisi
timrisi / gist:5978899
Created July 11, 2013 20:23
PCL Build error
Building: NewPCL (Debug)
---------------------- Done ----------------------
Build failed. MSBuild operation failed
Build: 1 error, 0 warnings