GoogleAds-IMA-iOS-SDK 3.4.1 crashes armv7s devices

289 views
Skip to first unread message

ch...@surfline.com

unread,
Feb 26, 2017, 6:31:18 PM2/26/17
to Interactive Media Ads SDK
We recently upgraded from GoogleAds-IMA-iOS-SDK-For-AdMob 3.3.1 but had to roll back because GoogleAds-IMA-iOS-SDK 3.4.1 causes our app to crash at launch on iPhone 5.

ch...@surfline.com

unread,
Feb 26, 2017, 6:32:14 PM2/26/17
to Interactive Media Ads SDK
Of note is that we are only seeing the crash in TestFlight builds. Any other variant seems to run fine.

Veer Arjun Busani

unread,
Feb 27, 2017, 10:49:51 AM2/27/17
to Interactive Media Ads SDK
Hi Chris,

The latest v3.4.1 is a dynamic lib and you do not have to use a bundled version to integrate both the IMA and Mobile Ads SDK. Here is a sample app that I would suggest you run and build on your armv7s device and let us know if it still crashes.

Thanks,
Arjun Busani
IMA SDK Team

ch...@surfline.com

unread,
Feb 27, 2017, 1:43:06 PM2/27/17
to Interactive Media Ads SDK
Thanks Arjun, that Podfile setup is exactly what ours was when we were crashing. Please note again... we only saw crashes AFTER deploying to TestFlight. If we do a local release build that's signed... no problem. But once we submit to Apple's TestFlight distribution, the app crashes at launch for iPhone 5 devices. 100%. By a process of elimination we deduced that the offending framework was :

    pod 'GoogleAds-IMA-iOS-SDK', '~> 3.4.1'

By rolling back to:

    pod 'GoogleAds-IMA-iOS-SDK-For-AdMob', '~> 3.3.1'


The TestFlight distributed version of the app was able to launch on iPhone 5's. If we A/B tested this multiple times to confirm.

Veer Arjun Busani

unread,
Feb 27, 2017, 5:08:39 PM2/27/17
to Interactive Media Ads SDK
Hi Chris,

This is now a known issue and we are looking into it. For now, I would suggest that you use the v3.3.1 to integrate both Mobile Ads SDK and IMA framework.


Thanks,
Arjun Busani
IMA SDK Team

Sachin Ahuja

unread,
Mar 16, 2017, 6:08:12 AM3/16/17
to Interactive Media Ads SDK
Hi Arjun,

Is this issue fixed in the latest IMA framework v3.4.2 ?

Regards,
Sachin

Veer Arjun Busani

unread,
Mar 16, 2017, 9:53:30 AM3/16/17
to Interactive Media Ads SDK
Hi Sachin,

We are still looking into this issue and the latest v3.4.2 does not contain the fix.


Thanks,
Arjun Busani
IMA SDK Team

Ricky D'Amelio

unread,
Mar 22, 2017, 7:11:32 PM3/22/17
to Interactive Media Ads SDK
Hi.

I have actually recently been in contact with Apple Developer Support in the last 48 hours as this ended up impacting us significantly.

Here is what you're doing wrong (excerpt from my correspondence with an Apple engineer).

"The error is with the way GoogleInteractiveAds.framework describes it’s requirements. It has the architectures for all of the different arm CPU architectures to support every iOS device, but the framework also describes itself as requiring arm64 CPUs, in the framework’s Info.plist:
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>

When your app is run through the App Thinning process, where apps are packaged for each target device by removing unnecessary executable architectures, this Info.plist is interpreted as the framework not supporting armv7 or armv7s, and is removed from the app bundle for those 32-bit devices."

Ricky.

Veer Arjun Busani

unread,
Mar 23, 2017, 10:23:38 AM3/23/17
to Interactive Media Ads SDK
Hi Ricky,

Thank you for the information. I have relayed this to the team and we are still actively looking into this issue.

Thanks,
Arjun Busani
IMA SDK Team

rmodi

unread,
Mar 23, 2017, 6:21:22 PM3/23/17
to Interactive Media Ads SDK
Hi Veer,
We are experiencing crashes with 3.4.2 
We do not use Cocoa Pods, and we use Google Mobile ads.
We are not able to run apps installed thru TestFlight on devices like ipad, ipad mini and ipod(5th generation). Crash log below.
No problems on simulators for these devices and no problems in ipad air2, iphone 6
What Ricky reported above seems logical since all of these devices that have crashes are not arm64 and the plist has the arm64 entry
We are ready to ship the app next week, but cannot until we get an update and solution from you.

Our options are
1) Can we fix this by maybe by deleting the entry arm64 in the plist in the framework ourselves?
2) If no fix is available from you ASAP we have to roll back this update - What update should we be going to and how can we download that version since I only see the latest version in the downloads page.

Here are the crash logs.
Path:                /private/var/containers/Bundle/Application/63E4A074-EAF6-4A9D-8E37-6DEF4418F805/MyApp.app/MyApp
OS Version:          iOS 9.3.5 (13G36)
Mar 22 15:37:17 iPod ReportCrash[298] <Error>: Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000000e7ffdefe
Triggered by Thread:  0
Mar 22 15:37:17 iPod ReportCrash[298] <Error>: Dyld Error Message:
Dyld Message: Library not loaded: @rpath/GoogleInteractiveMediaAds.framework/GoogleInteractiveMediaAds
  Referenced from: /var/containers/Bundle/Application/63E4A074-EAF6-4A9D-8E37-6DEF4418F805/MyApp.app/MyApp
  Reason: image not found
  Dyld Version: 390.7
Mar 22 15:37:17 iPod ReportCrash[298] <Error>: Error Formulating Crash Report:
Failed while requesting activity/breadcrumb diagnostics

Thanks
Rahat Modi

Veer Arjun Busani

unread,
Mar 24, 2017, 10:36:08 AM3/24/17
to Interactive Media Ads SDK
Hi Modi,

The short term fix would be to remove this plist entry from our framework. We are in the process of removing this from our SDK in the next release. 


Thanks,
Arjun Busani
IMA SDK Team

Veer Arjun Busani

unread,
Mar 24, 2017, 1:44:13 PM3/24/17
to Interactive Media Ads SDK
Hi guys,

You can get the latest version 3.5 for this fix. Let us know if you are still facing this issue.

Thanks,
Arjun Busani
IMA SDK Team

Erick Gonzales

unread,
Mar 24, 2017, 3:55:43 PM3/24/17
to Interactive Media Ads SDK
Thanks Arjun, i'm going to test this ASAP, we are lucky here because we are going to report the same problem with the version 3.4.2

Thanks

Erick Gonzales
Grupo OPSA iOS Dev Team

sacsm...@gmail.com

unread,
Apr 6, 2017, 4:36:08 AM4/6/17
to Interactive Media Ads SDK
Hi Erick,

Is this issue fixed in latest version v3.5 ? 

Please confirm.

Regards,
Sachin

Chris Feldman (IMA SDK Team)

unread,
Apr 6, 2017, 3:10:03 PM4/6/17
to Interactive Media Ads SDK
Hi Sachin,

This issue is fixed in the latest version v3.5.

Regards,
Chris Feldman
Mobile Ads SDK Team
Reply all
Reply to author
Forward
0 new messages