AbdFatah / analytics-issues

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

iOS App Submission Warning due to "Non-Public Selector: productName" inside GA SDK v2 #253

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Name of affected component: private Apple API warning upon App submission

Objective C / iOS SDK v2 (September 26, 2012)

Issue summary:
I integrated the iOS SDK v2 into an App. Submitted the App. Apple issues a 
warning stating that a "non-public selector: productName" is used inside the 
Google Analytics SDK (100% confirmed that this is the culprit, productName is 
not used anywhere in my codebase). Because it's a warning and not an error it 
may not lead to rejection. But it is a major concern for me and especially my 
clients. productName is the name of a property used in the GA classes related 
to in-App purchase tracking. It would be very simple / fast to rename this 
property, release an SDK update, problem solved. I'm sure many others are 
experiencing the same thing, i.e. everyone who submits an App that uses GA SDK 
v2. 

Steps to reproduce issue:
1. Include GA SDK v2 in your codebase
2. Submit the App to Apple via the "Application Loader"

Expected output:
1. App submission accepted, App goes into "waiting for review"

Actual results:
1. Apple will present warning upon upload (not validation)

Notes:
productName is used inside GAITransaction.h and GAITransactionItem.h
The fix should be a simple rename of this property. Please prioritize this as 
it will probably effect every single iOS submission and because review can 
depend so much on the reviewer this could likely lead to App rejection. 

Thank you!

Original issue reported on code.google.com by al...@atavist.net on 3 Jan 2013 at 3:22

GoogleCodeExporter commented 9 years ago
Has anyone got any suggested workarounds for this ? Has anyone successfully had 
an app review passed with this issue in their app ?

Original comment by SirJohn...@googlemail.com on 1 Mar 2013 at 3:16

GoogleCodeExporter commented 9 years ago
I filed this bug report and have successfully had several Apps approved that 
included this warning. Not sure if they'll always be approved but its gone 
through without a hitch so far.

Original comment by al...@atavist.net on 1 Mar 2013 at 3:21

GoogleCodeExporter commented 9 years ago
i have same issue

Original comment by nechaev....@gmail.com on 10 Jun 2013 at 11:42

GoogleCodeExporter commented 9 years ago
Did you know if the warning causes app rejection afterward ?

I wanted to migrate to version 3 but I don't find the libGoogleAnalytics.a file 
in the zip I downloaded, only the libGoogleAnalytics_debug.a which is much 
bigger. 

So if the V2 is accepted by Apple, I'll stay with it.

Original comment by cedric.s...@gmail.com on 11 Sep 2013 at 4:54

GoogleCodeExporter commented 9 years ago
Oddly enough, v3 has similar warnings.

Original comment by tudori...@gmail.com on 1 Nov 2013 at 5:58

GoogleCodeExporter commented 9 years ago
Confirmed today that v3.02 still demonstrates this issue.

Original comment by cr...@grindsoftware.com on 15 Jan 2014 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by pfrise...@google.com on 30 Sep 2014 at 9:29

GoogleCodeExporter commented 9 years ago

Original comment by pfrise...@google.com on 24 Oct 2014 at 7:03