Bug 28964 - While Migrating a Binding to the Unified API, app is working only on iOS simulator.
Summary: While Migrating a Binding to the Unified API, app is working only on iOS simu...
Status: CLOSED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 8.7.x (iOS 8.2 previews)
Hardware: PC Mac OS
: Normal normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-04-10 01:46 UTC by mdprasad
Modified: 2015-04-15 05:45 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
CLOSED ANSWERED

Description mdprasad 2015-04-10 01:46:32 UTC
Hi,

After doing "Migrating a Binding to the Unified API", app is working only on iOS simulator but on devices, 

we are getting this error message:
Error MT2002: Failed to resolve "System.Void UIKit.UITableView::set_DataSource(UIKit.IUITableViewDataSource)" reference from "Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065" 

under the reference of the following urls we have modified our code according to Unified API.
1. http://developer.xamarin.com/guides/cross-platform/macios/updating_ios_apps/
2. http://developer.xamarin.com/guides/cross-platform/macios/unified/
3. http://developer.xamarin.com/guides/cross-platform/macios/update_binding_unified/

our Xamarin details:
Xamarin.iOS
Version: 8.4.0.43 (Business Edition)
Hash: 840a925
Branch: 
Build date: 2014-11-16 21:03:22-0500

Thanks In Advance.

Regards
M.D.Prasad
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-04-10 05:31:23 UTC
This looks like you have a component built from an earlier version of Xamarin.iOS (8.6 probably). Make sure you update all the referenced components and/or third-party assemblies.

If that doesn't work, please add "-v -v -v -v" to the additional mtouch arguments and attach the complete build log.
Comment 2 mdprasad 2015-04-15 03:13:38 UTC
Hi,

We have tested on device and simulator, it is working fine.

Thank you.

Regards
M.D.Prasad
Comment 3 Rolf Bjarne Kvinge [MSFT] 2015-04-15 04:54:38 UTC
OK, I'll close this then. Thanks.
Comment 4 Udham Singh 2015-04-15 05:45:24 UTC
As per comment 2 and comment 3, I am closing this issue. Thanks!