AbdFatah / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

The Google Analytics SDK for iOS isn't built for the armv7s architecture #232

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Name of affected component: Mobile Tracking

Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.):

Google Analytics SDK for iOS v1.4

Issue summary:

The Google Analytics SDK for iOS isn't built for the armv7s architecture. This 
architecture just became available in Xcode 4.5 (released 9/12/2012), and is 
required for building for the new iPhone 5. Please release a new version of the 
SDK that includes this architecture.

Steps to reproduce issue:
1. Include the Google Analytics SDK for iOS in a project in the GM of Xcode 4.5 
(released 9/12/2012)
2. Attempt to build the project for the "armv7s" architecture (enabled by 
default)
3. Receive the error "ld: file is universal (3 slices) but does not contain 
a(n) armv7s slice: /Users/<username>/Projects/Google Analytics 
SDK/Library/libGoogleAnalytics.a for architecture armv7s"

Original issue reported on code.google.com by e...@monospacecollective.com on 13 Sep 2012 at 3:48

GoogleCodeExporter commented 9 years ago
Reproduced, will not compile for armv7 (iPhone 5, iOS6). 

Original comment by darinfer...@gmail.com on 13 Sep 2012 at 8:17

GoogleCodeExporter commented 9 years ago
Any ETA on this one?

Original comment by a...@telly.com on 15 Sep 2012 at 6:23

GoogleCodeExporter commented 9 years ago
Yep, get it sorted very soon please!

Original comment by jamesha...@googlemail.com on 15 Sep 2012 at 7:06

GoogleCodeExporter commented 9 years ago
Also is very urgent for me

Original comment by evg.deme...@gmail.com on 15 Sep 2012 at 10:17

GoogleCodeExporter commented 9 years ago
me too as it's a real blocker for all devs using this framework.

Original comment by daniel.m...@gmail.com on 15 Sep 2012 at 10:18

GoogleCodeExporter commented 9 years ago
Please. Release an update!

Original comment by nbon...@gmail.com on 15 Sep 2012 at 10:46

GoogleCodeExporter commented 9 years ago
Really need this fix because it is stopping us from submitting to the AppStore.

Original comment by nio...@gmail.com on 15 Sep 2012 at 1:52

GoogleCodeExporter commented 9 years ago
Alse it would help if the user who submited this, changed the priority of this 
issue to the highest possible or is it controlled by Google ?

Original comment by nio...@gmail.com on 15 Sep 2012 at 1:56

GoogleCodeExporter commented 9 years ago
Please fix ASAP. This inhibits everyone's ability to build for iOS6.

Original comment by et...@roadify.com on 15 Sep 2012 at 3:51

GoogleCodeExporter commented 9 years ago
Actually, you can still build for iOS 6 if you disable armv7s architecture in 
you app's build settings.

Original comment by kolyuc...@gmail.com on 15 Sep 2012 at 4:34

GoogleCodeExporter commented 9 years ago
Yeah but that doesn't make any sense. Everyone would like to have a full and 
valid current build and not only a part from it.

Original comment by daniel.m...@gmail.com on 15 Sep 2012 at 4:44

GoogleCodeExporter commented 9 years ago
Please fix this ASAP. It's really a release blocker.

Original comment by pattrawo...@wongnai.com on 15 Sep 2012 at 5:37

GoogleCodeExporter commented 9 years ago
really need this to be fixed.

Original comment by shengta....@gmail.com on 16 Sep 2012 at 2:24

GoogleCodeExporter commented 9 years ago
Same for me

Original comment by rich...@foxypins.com on 16 Sep 2012 at 2:08

GoogleCodeExporter commented 9 years ago
My customer is counting on me, and I am counting on you, Google!
App is ready, except for the Google Analytics SDK.

Very urgent please!!!

Original comment by c...@yesss.it on 16 Sep 2012 at 8:20

GoogleCodeExporter commented 9 years ago
Same here, still waiting to upload to Apple because of this.

Original comment by simon.sa...@gmail.com on 17 Sep 2012 at 7:14

GoogleCodeExporter commented 9 years ago
Will be forced to give up on the Google Analytics SDK and replace it with 
FLURRY...
Their sdk is already updated....

Original comment by d...@yesss.it on 17 Sep 2012 at 7:33

GoogleCodeExporter commented 9 years ago
I need it too!

Original comment by thib...@lelevier.fr on 17 Sep 2012 at 10:15

GoogleCodeExporter commented 9 years ago
waiting for update, I can't upload to Apple(((

Original comment by Korich.V...@gmail.com on 17 Sep 2012 at 10:57

GoogleCodeExporter commented 9 years ago
Really need this to be fixed soon =/

An update would be very much appreciated =)

Original comment by svartsv...@gmail.com on 17 Sep 2012 at 12:34

GoogleCodeExporter commented 9 years ago
Google: what's lagging? How do we get this issue in front of the right people? 
And can somebody update the Priority to URGENT?

Original comment by et...@roadify.com on 17 Sep 2012 at 2:17

GoogleCodeExporter commented 9 years ago
Please resolve.  

Original comment by mark.sch...@gmail.com on 17 Sep 2012 at 6:55

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
People, this does not prevent you from supporting iOS 6 or the iPhone 5.  You 
simply need to change your Architectures setting to only "armv7".  Your app 
will compile and run great on iOS 6 and the iPhone 5.  Later when this library 
is updated you can recompile and then your app will run even faster on the 
iPhone 5.

Original comment by johnth...@gmail.com on 17 Sep 2012 at 9:51

GoogleCodeExporter commented 9 years ago
Hi everyone -- 

We are aware of this issue and are currently working on a fix. We'll have it 
available as soon as possible.

Original comment by calvin...@google.com on 18 Sep 2012 at 12:11

GoogleCodeExporter commented 9 years ago
This is addressed to Google:

Pardon me, accepting that we appreciate your post on this issue -- but if iOS 
and associated hardware was as important to Google Analytics as it is to us, 
this would have been done already.

Original comment by janngob...@gmail.com on 18 Sep 2012 at 2:56

GoogleCodeExporter commented 9 years ago
https://developers.google.com/analytics/devguides/collection/ios/resources

Original comment by coneybe...@gmail.com on 19 Sep 2012 at 1:49

GoogleCodeExporter commented 9 years ago
I noticed that google has updated library to support armv7s but dropped support 
for armv6. Why? My application deployment target is iOS 4.0, and most of 
devices running that os has armv6 architecture. This means i have to stop 
supporting iOS 4.0? 

Original comment by maris.pl...@gmail.com on 19 Sep 2012 at 5:25

GoogleCodeExporter commented 9 years ago
Dropping support for armv6 is not dropping support for iOS 4.0.

Apple is officially dropped support for Armv6.  You will not be able to compile 
for it in Xcode 4.5.

Original comment by janngob...@gmail.com on 19 Sep 2012 at 5:28

GoogleCodeExporter commented 9 years ago
So with Xcode 4.5 i won't be able to deploy and test my app on iPod Touch 2G 
and iPhone 3G anymore?

Original comment by maris.pl...@gmail.com on 19 Sep 2012 at 5:34

GoogleCodeExporter commented 9 years ago
Correct. Apple expects you to do one final release for those devices (or leave 
them where they are) and continue on with developing for newer platforms. 

Original comment by janngob...@gmail.com on 19 Sep 2012 at 5:36

GoogleCodeExporter commented 9 years ago
@kolyuc...@gmail.com,

Are you sure that you can build for ARMV7 only

I am unable to build
: file is universal (3 slices) but does not contain a(n) armv7s 
slice:GoogleAdMobAdsSdkiOS-6.1.4/libGoogleAdMobAds.a for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Original comment by hussain....@gmail.com on 19 Sep 2012 at 9:59

GoogleCodeExporter commented 9 years ago
Yes, but the point is meaningless now since google has provided an updated 
library that does include armv7s support.

Original comment by johnth...@gmail.com on 19 Sep 2012 at 10:08

GoogleCodeExporter commented 9 years ago
@coneybe...@gmail.com, Thanks a lot!
@hussain....@gmail.com, Is AdMobs not updated as well? If not, you have to go 
into your build settings and remove armv7s from your valid archs.

Original comment by ade...@brit.co on 19 Sep 2012 at 10:25

GoogleCodeExporter commented 9 years ago
I am unable to build my app on device due to Google Analytics SDK. I had latest 
version of it but still getting same issue. What should I do?

Original comment by nishi.2...@gmail.com on 10 Oct 2012 at 9:39

GoogleCodeExporter commented 9 years ago
Both the old (v1) SDK and the new (v2) SDK should have support for armv7s.  You 
can find the v1 SDK at

http://dl.google.com/dl/gaformobileapps/googleanalyticsios_1.5.1.tar.gz

while the v2 SDK can be found at

http://dl.google.com/dl/gaformobileapps/googleanalyticsios.zip

Original comment by j...@google.com on 1 Nov 2012 at 6:33

GoogleCodeExporter commented 9 years ago
I just changed "Build Active Architecture Only" from NO to YES and it helped 
(you can find "Build Active Architecture Only" in Project Settings in "Build 
Settings" tab. See attached screenshot). 

Original comment by eivva...@gmail.com on 2 Nov 2012 at 11:16

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, the above solution worked for me.

Thanks Buddy.

Original comment by ura...@gmail.com on 14 Nov 2012 at 4:02

GoogleCodeExporter commented 9 years ago
Be careful with the option "Build Active Architecture Only" that build 
according to the device that is plugged. Not to use to distribute an app...

Original comment by siebm...@gmail.com on 3 Jan 2013 at 2:08

GoogleCodeExporter commented 9 years ago
Come on google. Its a 10 minute re-compile! Either provide a new lib or post 
the source so we can do your job for you.

Original comment by reaster...@gmail.com on 22 Feb 2013 at 8:03

GoogleCodeExporter commented 9 years ago
Fixed per jjc

Original comment by n...@google.com on 21 Mar 2013 at 5:05

GoogleCodeExporter commented 9 years ago
Just downloaded v3 sdk  
shows this error  
ld: library not found for -lidn
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Base SDK: IOS 7.0
Valid Architectures: armv7

Please help

Original comment by abhishek...@gmail.com on 7 Nov 2013 at 11:12