Bug 28315 - Native linking failed Google Admob component
Summary: Native linking failed Google Admob component
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: Production (addons.xamarin.com)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Israel Soto [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2015-03-23 03:01 UTC by Bruno VT
Modified: 2015-03-25 17:54 UTC (History)
2 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:
RESOLVED NOT_REPRODUCIBLE

Description Bruno VT 2015-03-23 03:01:53 UTC
Sins I updated to Xamarin Forms 1.4 I get the below errors on the Google Admob component when I try to run it on a real iOS device. It works in the simulator. I am using Xamarin forms 1.4 on a windows 8.1 in visual studio 2013.

Error	24	Native linking failed, undefined Objective-C class: _OBJC_CLASS_$_GADSearchRequest. If '_OBJC_CLASS_$_GADSearchRequest' is a protocol from a third-party binding, please check that it has the [Protocol] attribute in its api definition file, otherwise verify that all the necessary frameworks have been referenced and native libraries are properly linked in.	Sport_App.iOS
Error	23	Native linking failed, undefined Objective-C class: _OBJC_CLASS_$_GADSearchBannerView. If '_OBJC_CLASS_$_GADSearchBannerView' is a protocol from a third-party binding, please check that it has the [Protocol] attribute in its api definition file, otherwise verify that all the necessary frameworks have been referenced and native libraries are properly linked in.	Sport_App.iOS
Error	22	Native linking failed, undefined Objective-C class: _OBJC_CLASS_$_GADRequestError. If '_OBJC_CLASS_$_GADRequestError' is a protocol from a third-party binding, please check that it has the [Protocol] attribute in its api definition file, otherwise verify that all the necessary frameworks have been referenced and native libraries are properly linked in.	Sport_App.iOS

...
Comment 1 Israel Soto [MSFT] 2015-03-24 10:46:50 UTC
Hi Bruno, can you provide a simple test case where I can reproduce the error, please?
Thanks in advance.
Comment 2 Israel Soto [MSFT] 2015-03-25 17:54:03 UTC
When I try to run the test case with Debug configuration on iOS device, it throws me an error that said that armv7s arch is not supported. Armv7s arch is now supported in the most recent version of Google AdMob in Components store.

I changed the iOS build configuration so just builds in Armv7 and Arm64 and everything went ok. Also, I run the project in Release configuration on iOS device and everything went ok.

I couldn't reproduce the error.

Am I missing something?