Bug 36438 - Native linking error in Google APIs Google Cloud Messaging C# binding library 1.0.3
Summary: Native linking error in Google APIs Google Cloud Messaging C# binding library...
Status: RESOLVED NORESPONSE
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: Production (addons.xamarin.com)
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Israel Soto [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-12-01 18:18 UTC by jeppe.l.andreasen
Modified: 2016-05-13 23:31 UTC (History)
1 user (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:
RESOLVED NORESPONSE

Description jeppe.l.andreasen 2015-12-01 18:18:05 UTC
I have tried to use the 'Xamarin.Google.iOS.GoogleCloudMessaging' NuGet package v.1.0.3, but when I build my project after adding this, it fails on some linking errors:

MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_errmsg. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_bind_int64. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_column_int64. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_bind_double. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_column_double. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_column_bytes. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_open_v2. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_prepare_v2. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_exec. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_column_type. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_close. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
    MTOUCH: error MT5210: Native linking failed, undefined symbol: _sqlite3_column_count. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.

It seems that sqlite3 is missing. 

The dependencies below are added correct, and I have tried to include System.Data and Mono.Data.Sqlite too, but it does not help.
Xamarin.Google.iOS.Core (≥ 1.1.0.0)
Xamarin.Google.iOS.InstanceID (≥ 1.0.0.0)

Also, it seems that I need to build for iOS target 8.3 in order to use the pre-released version.
https://www.nuget.org/packages/Xamarin.Google.iOS.GoogleCloudMessaging/

Any help would be much appreciated.
Comment 1 Israel Soto [MSFT] 2015-12-08 19:34:50 UTC
Hi.

Can you create a test case for this, please? I double checked the binding and the sqlite3 lib is correctly referenced.
Comment 2 Israel Soto [MSFT] 2016-05-13 23:31:53 UTC
Closing this bug due to no response from customer.