phonegap-build / GAPlugin

Google Analytics Plugin
MIT License
170 stars 141 forks source link

Plugin not up to date for arm64 #76

Open christopher5106 opened 9 years ago

christopher5106 commented 9 years ago

When updating Xcode and Cordova, we get :

1) a first error that we can easily solve by adding SystemConfiguration.framework

2) a second error due to the fact the google analytics library has not been updated :

Fixed by the 3.03 release, https://developers.google.com/analytics/devguides/collection/ios/resources 64-bit support is now available in v3.03 of the Google Analytics Services SDK for iOS.

In order to solve it quick on my side, I've compiled the app without arm64, but this is not a long term solution.

Could you please update your plugin this issue ? Thanks

christopher5106 commented 9 years ago

http://www.knowyourmobile.com/os/ios-81/22777/apple-will-soon-require-ios-developers-use-64-bit-code

bmorwood commented 9 years ago

is there any permanent solution to this issue yet?

cemerson commented 9 years ago

+1

clickonchris commented 9 years ago

+1

rgaba commented 9 years ago

+1

mladenp commented 9 years ago

So whats the easiest solution for tracking iOS via GA now ? Is there a fork that works ?

cemerson commented 9 years ago

If you find one please share it here! AFAIK there is nothing that works on latest Cordova/PhoneGap/Xcode (yet) =/

From: Mladen Petrovic [mailto:notifications@github.com] Sent: Thursday, December 04, 2014 5:39 AM To: phonegap-build/GAPlugin Cc: Chris Emerson Subject: Re: [GAPlugin] Plugin not up to date for arm64 (#76)

So whats the easiest solution for tracking iOS via GA now? Is there a fork that works ?

— Reply to this email directly or view it on GitHubhttps://github.com/phonegap-build/GAPlugin/issues/76#issuecomment-65613744.

matiassingers commented 9 years ago

@mladenp @cemerson we are currently using google-analytics-plugin in production(latest Cordova, Xcode and iOS) without any problems.

cemerson commented 9 years ago

Really? Are you able to compile in latest Xcode with latest Cordova/PhoneGap and test/run on device? Last time I tried (w/multiple forks/versions of GAplugin – including that one) I ran into arm64 build errors. I tried quite a bit of fiddling around with Xcode Architecture settings too but couldn’t get anything to build.

From: Matias Singers [mailto:notifications@github.com] Sent: Thursday, December 04, 2014 7:14 AM To: phonegap-build/GAPlugin Cc: Chris Emerson Subject: Re: [GAPlugin] Plugin not up to date for arm64 (#76)

@mladenphttps://github.com/mladenp @cemersonhttps://github.com/cemerson we are currently using google-analytics-pluginhttps://github.com/danwilson/google-analytics-plugin in production(latest Cordova, Xcode and iOS) without any problems.

— Reply to this email directly or view it on GitHubhttps://github.com/phonegap-build/GAPlugin/issues/76#issuecomment-65623459.

matiassingers commented 9 years ago

@cemerson yes, we are currently running google-analytics-plugin on cordova-ios 3.6.3 with newest Xcode and iOS 8 - no issues. I don't believe we did any changes to the arch or anything.

christopher5106 commented 9 years ago

that's what I did also to solve this issue

cemerson commented 9 years ago

Hrmm – guess I’ll give it another try – thanks guys

From: christopher5106 [mailto:notifications@github.com] Sent: Friday, December 05, 2014 2:37 AM To: phonegap-build/GAPlugin Cc: Chris Emerson Subject: Re: [GAPlugin] Plugin not up to date for arm64 (#76)

that's what I did also to solve this issue

— Reply to this email directly or view it on GitHubhttps://github.com/phonegap-build/GAPlugin/issues/76#issuecomment-65756572.

mladenp commented 9 years ago

@matiassingers thanks that one works, even Real-Time tracking is working, but only after first 24h.

mtamony commented 9 years ago

Does someone have this working in 4.0? I have tried countless solutions on here and nothing seems to work. Cordova iOS 3.6.3 is not the latest version as seems to be mentioned here.

brad commented 9 years ago

Normally I would just subscribe to the issue and not troll but... according to the Organizer tool, apps need to include 64-bit support by February 1st! We are running out of time people

sebmartel commented 9 years ago

+1

compiling with -arch arm64 yields linking errors for missing symbols:

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_GAI", referenced from:
      objc-class-ref in GAPlugin.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
sebmartel commented 9 years ago

This plugin is using the analytics sdk v2, which is in legacy. Is it even possible to think of porting this plugin to arm64 considering this fact?

dotNetkow commented 9 years ago

For folks using PhoneGap Build, I think it may be working/supported now. I uploaded a project pointing to version 2.3.1 but got a build failure, stating that it wasn't built for ARM 64. I updated to the latest version:

<gap:plugin name="com.adobe.plugins.gaplugin" version="2.4.0" />

and it successfully built. Initial tests seem positive. Can anyone else confirm?

cemerson commented 9 years ago

This is great news (not the PG build part, but the ARM 64 support). I will report back if no one else does when I revisit this soon.

From: Matt Netkow [mailto:notifications@github.com] Sent: Tuesday, February 10, 2015 10:00 PM To: phonegap-build/GAPlugin Cc: Chris Emerson Subject: Re: [GAPlugin] Plugin not up to date for arm64 (#76)

For folks using PhoneGap Build, I think it may be working/supported now. I uploaded a project pointing to version 2.3.1 but got a build failure, stating that it wasn't built for ARM 64. I updated to the latest version:

and it successfully built. Initial tests seem positive. Can anyone else confirm?

— Reply to this email directly or view it on GitHubhttps://github.com/phonegap-build/GAPlugin/issues/76#issuecomment-73827215.

cemerson commented 9 years ago

Just reporting back that the ARM 64 issue seems to be resolved now. I can build to iOS devices finally! Thanks whoever is responsible for this!