rishuk51 / analytics-issues

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

Bitcode will be dropped with Xcode 7 #671

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Mobile Tracking

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

Issue summary:
Provide a brief summary of the issue you're experiencing.

Steps to reproduce issue:
1.  Use Xcode 7.  In your project ENABLE_BITCODE is on by default.
2.  Build an app using the Google Analytics iOS library.
3.

Expected output:
What do you expect to see after performing the above steps?
No warnings

Actual results:
What do you actually see after performing the above steps?
These warnings (This will be an error in the future.):

ld: warning: -weak_framework is treated as -framework when used with 
-bitcode_bundle (Xcode setting ENABLE_BITCODE=YES). Weak linking may still 
happen based on availability mark-up in headers
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAI.o)' was built without bitcode. You must 
rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an 
updated library from the vendor, or disable bitcode for this target. Note: This 
will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIDictionaryBuilder.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIFields.o)' was built without bitcode. You 
must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an 
updated library from the vendor, or disable bitcode for this target. Note: This 
will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIUncaughtExceptionHandler.o)' was built 
without bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIBatchingDispatcher.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIDataStore.o)' was built without bitcode. 
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain 
an updated library from the vendor, or disable bitcode for this target. Note: 
This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIDefaultLogger.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIEcommerceFields.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIStringUtil.o)' was built without bitcode. 
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain 
an updated library from the vendor, or disable bitcode for this target. Note: 
This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAITrackerImpl.o)' was built without bitcode. 
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain 
an updated library from the vendor, or disable bitcode for this target. Note: 
This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIURLConnection.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIUsageTracker.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAICampaign.o)' was built without bitcode. 
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain 
an updated library from the vendor, or disable bitcode for this target. Note: 
This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAICoreDataUtil.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIExceptionParser.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIHitUtil.o)' was built without bitcode. You 
must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an 
updated library from the vendor, or disable bitcode for this target. Note: This 
will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIReachabilityChecker.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIRequestBuilder.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAITrackerModel.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIUtil.o)' was built without bitcode. You 
must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an 
updated library from the vendor, or disable bitcode for this target. Note: This 
will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAIHitFormat.o)' was built without bitcode. 
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain 
an updated library from the vendor, or disable bitcode for this target. Note: 
This will be an error in the future.
ld: warning: URGENT: all bitcode will be dropped because 
'.../libGoogleAnalyticsServices.a(GAICompressionUtil.o)' was built without 
bitcode. You must rebuild it with bitcode enabled (Xcode setting 
ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode 
for this target. Note: This will be an error in the future.

Notes:
Provide any additional information which might be useful here. Feel free to
attach screenshots or sample code which demonstrates the issue being
described.

Original issue reported on code.google.com by ellucian...@gmail.com on 18 Jun 2015 at 3:12

GoogleCodeExporter commented 8 years ago
I also needed the BITCODE support in my iOS App.

Original comment by BestC...@gmail.com on 26 Aug 2015 at 2:27

GoogleCodeExporter commented 8 years ago
In XCode 7 Beta 5 I get the following compile error with ENABLE_BITCODE=YES in 
build settings.

libGoogleAnalyticsServices.a(TAGDataProvider.o)' does not contain bitcode. You 
must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an 
updated library from the vendor, or disable bitcode for this target. for 
architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Original comment by onche...@gmail.com on 28 Aug 2015 at 8:20

GoogleCodeExporter commented 8 years ago
Ditto

Original comment by neil.s.j...@gmail.com on 31 Aug 2015 at 6:36

GoogleCodeExporter commented 8 years ago
Same error as described by #2 

Original comment by vbergae on 2 Sep 2015 at 6:39

GoogleCodeExporter commented 8 years ago
Same issue here with Xcode Version 7.0 beta 6 (7A192o).

Original comment by silentas on 4 Sep 2015 at 8:48

GoogleCodeExporter commented 8 years ago
Gold master is out... 

Original comment by RRomanc...@gmail.com on 10 Sep 2015 at 5:17

GoogleCodeExporter commented 8 years ago
Come on, the Xcode 7 GM is out! We need the BITCODE support!

Original comment by valeriolg on 10 Sep 2015 at 11:52

GoogleCodeExporter commented 8 years ago
This is the same as with 64bit support. Somehow it takes ages to rebuild the 
library. This is my last project with GA.

Original comment by ed...@cybionic-systems.com on 10 Sep 2015 at 11:55

GoogleCodeExporter commented 8 years ago
Looks like only Google Analytics still doesn't support. Other used analytics 
tools like Flurry, Heap, Amazon, Yandex, Fabric are fully support bitcode.

Original comment by kirill.k...@gmail.com on 10 Sep 2015 at 11:56

GoogleCodeExporter commented 8 years ago
Would be nice to have BITCODE support! 
Thanks

Original comment by miroslav...@rohlik.cz on 10 Sep 2015 at 2:16

GoogleCodeExporter commented 8 years ago
yep - we need this lib updated!

Original comment by jose.go...@saplinglearning.com on 10 Sep 2015 at 5:05

GoogleCodeExporter commented 8 years ago
Met the same issue. Need bitcode support.

Original comment by derjo...@gmail.com on 11 Sep 2015 at 1:38

GoogleCodeExporter commented 8 years ago
When do you release new version Dev team???

Original comment by ltg...@gmail.com on 11 Sep 2015 at 3:10

GoogleCodeExporter commented 8 years ago
It's both amusing and sad how similar this case is to the 64-bit support. I 
believe It took Google months to even respond to the issue, and the support was 
eventually added almost a year later. It is abundantly clear that iOS is not a 
priority to the Analytics team.

Please note that bitcode support is optional unless you are building watchOS 
apps. If you are, I recommend you switch to another analytics platform.

Original comment by mar...@essentia.fi on 11 Sep 2015 at 6:31

GoogleCodeExporter commented 8 years ago
Right, Google is too slow to release new features supported by Apple and give 
users better expirience in apps.

Original comment by kirill.k...@gmail.com on 11 Sep 2015 at 6:35

GoogleCodeExporter commented 8 years ago
What is this Google company you speak of... Alphabet Inc right?  Yeah this is 
the only thing holding us up from doing iOS9 releases.

Original comment by michael....@healthpartners.com on 11 Sep 2015 at 2:38

GoogleCodeExporter commented 8 years ago
Need it too!

Original comment by obr...@gmail.com on 14 Sep 2015 at 1:34

GoogleCodeExporter commented 8 years ago
.... how do i get around this?

Original comment by takombor...@gmail.com on 14 Sep 2015 at 3:29

GoogleCodeExporter commented 8 years ago
workaround...in project settings, build settings, under build options, select 
NO for Enable Bitcode. NOTE: this wont work if your app has uses watchOS

Original comment by jose.go...@saplinglearning.com on 14 Sep 2015 at 3:30

GoogleCodeExporter commented 8 years ago
FYI, with the Xcode 7 GM Seed you can turn off bitcode on the phone and enable 
it on the watch. This allows the use of Google Analytics API on the phone.

Would be nice to add it to the watch too!

Original comment by ellucian...@gmail.com on 14 Sep 2015 at 10:51

GoogleCodeExporter commented 8 years ago
If bitcode support is added, it will not work with Xcode 6. I'm pretty sure 
that's the reason Google is not coming up with bitcode supported lib. 

Original comment by gau...@moengage.com on 15 Sep 2015 at 9:41

GoogleCodeExporter commented 8 years ago
Maybe it's a good idea if google made a iOS 8 dynamic framework and switch 
bitcode on for the framework. How hard would it be for them add this extra 
build target to their project.

Original comment by ed...@cybionic-systems.com on 15 Sep 2015 at 9:47

GoogleCodeExporter commented 8 years ago
Xcode 7.0 now released, please add bitcode support...

Original comment by rock88a@gmail.com on 17 Sep 2015 at 6:55

GoogleCodeExporter commented 8 years ago
I've just update to Xcode 7.0 and getting the same issue. Please update the 
Google Analytics Library.

Original comment by lephukha...@gmail.com on 17 Sep 2015 at 7:45

GoogleCodeExporter commented 8 years ago
We need support of bitcode in this lib. It's urgent thing.

Original comment by Yanke...@gmail.com on 17 Sep 2015 at 8:56