Fixed
Status Update
Comments
br...@google.com <br...@google.com>
wi...@gmail.com <wi...@gmail.com> #2
This sounds like a bug. Can you put together a reproduction sample on github? Once I have a repro case engineering will have a look at it. Thanks!
ro...@gmail.com <ro...@gmail.com> #4
dg@ could you please post a repro case to github, I'm interested to see a full working sample. Thanks!
ay...@gmail.com <ay...@gmail.com> #5
The below git repo contains the code that the issue occurs.
Note that If I reverse the Google Map API version to 1.12.3, the code works fine.
https://github.com/benba5/IssueGoogleMap1.13.0
Thank you very much
^__^
Note that If I reverse the Google Map API version to 1.12.3, the code works fine.
Thank you very much
^__^
[Deleted User] <[Deleted User]> #6
Thanks for the repro benlbenl5!
rp...@gmail.com <rp...@gmail.com> #7
We have a work around for this issue. Add the following code to the custom info window:
override func didMoveToSuperview() {
superview?.autoresizesSubviews = false;
}
override func didMoveToSuperview() {
superview?.autoresizesSubviews = false;
}
ba...@me.com <ba...@me.com> #8
same here, iOS9 needs bitcode enabled.
jo...@memreas.com <jo...@memreas.com> #9
deleted
ak...@gmail.com <ak...@gmail.com> #10
Thank you so much. It works.
However, I found the new problem which is the info window disappear unexpectedly.
The scenario is that
- Click a marker to display an info window
- Click the empty area on the map
- The info window disappear unexpectedly.
Note that the info window is expected to display because I have a code to set the selectedMarker of mapview if user click an empty area.
It seems to me that setting selectedMarker doesn't work sometimes
The git for reproducing the issue
https://github.com/benba5/IssueGoogleMap1.13.0/tree/investigate_infowindow
Thank you very much
However, I found the new problem which is the info window disappear unexpectedly.
The scenario is that
- Click a marker to display an info window
- Click the empty area on the map
- The info window disappear unexpectedly.
Note that the info window is expected to display because I have a code to set the selectedMarker of mapview if user click an empty area.
It seems to me that setting selectedMarker doesn't work sometimes
The git for reproducing the issue
Thank you very much
st...@gmail.com <st...@gmail.com> #11
@benlbenl, please raise a new issue for the new bug. Thanks!
jo...@memreas.com <jo...@memreas.com> #12
My issue is different. The GoogleMaps Cocoa Pod doesn't show up as a Target under the Pods Project so I can't even disable the bitcode parameter. Also, the GoogleMaps folder under Pods has a ? next to it so it seems it's not installing correctly.
Has anyone seen this? See the attached image.
-J
Has anyone seen this? See the attached image.
-J
br...@google.com <br...@google.com> #13
jo...@memreas.com <jo...@memreas.com> #14
This bug has been fixed in version 1.13.1. Thanks for the reports!
br...@google.com <br...@google.com> #15
John,
Can you confirm if the following works as expected for you?
$ pod try GoogleMaps
That should, in theory, pull down the latest Google Maps CocoaPod and Sample app, and run it up inside of Xcode. You should be able to just add an API key and have a working Google Maps SDK for iOS sample app. You'll need to turn off bitcode by changing the value of Enable Bitcode to NO in Build Settings to deploy to a device running iOS 9.
Can you confirm if the following works as expected for you?
$ pod try GoogleMaps
That should, in theory, pull down the latest Google Maps CocoaPod and Sample app, and run it up inside of Xcode. You should be able to just add an API key and have a working Google Maps SDK for iOS sample app. You'll need to turn off bitcode by changing the value of Enable Bitcode to NO in Build Settings to deploy to a device running iOS 9.
jo...@memreas.com <jo...@memreas.com> #16
Just tried it. Same error:
ld: '/var/folders/0m/3dmt1gmd2ld1f9qbdrwpn6zr0000gn/T/CocoaPods/Try/GoogleMaps/GoogleMapsSDKDemos/GoogleMaps.framework/GoogleMaps(GMSCachedTile.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 armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
See sceenshots attached. Tried to build with ios 6 and 9 as deployment targets.
-J
ld: '/var/folders/0m/3dmt1gmd2ld1f9qbdrwpn6zr0000gn/T/CocoaPods/Try/GoogleMaps/GoogleMapsSDKDemos/GoogleMaps.framework/GoogleMaps(GMSCachedTile.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 armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
See sceenshots attached. Tried to build with ios 6 and 9 as deployment targets.
-J
br...@google.com <br...@google.com> #17
John,
You'll need to turn off bitcode by changing the value of Enable Bitcode to NO in
Build Settings to deploy to a device running iOS 9.
brett
You'll need to turn off bitcode by changing the value of Enable Bitcode to NO in
Build Settings to deploy to a device running iOS 9.
brett
jo...@memreas.com <jo...@memreas.com> #18
The pod try GoogleMaps works when I changed the bitcode but that project is using the framework approach vs the Cocoa Pod. I've migrated back to the old framework I had and that's working. I submitted the Cocoa Pod install as a separate bug.
Thanks for the help.
-J
Thanks for the help.
-J
jo...@memreas.com <jo...@memreas.com> #19
I take it back. Even trying the framework route although the base pod try GoogleMaps can be modified to change bitcode to NO when I integrate it with my project the bitcode is set for the entire target and the build fails so it's not a realistic option.
Has anyone been able to install the Cocoa Pod and change the bitcode in the target settings?
-J
Has anyone been able to install the Cocoa Pod and change the bitcode in the target settings?
-J
ak...@gmail.com <ak...@gmail.com> #20
In my project, I've been able to turn the enable bitcode option in both the project and target's settings. However, this is only to get it so that it builds on my device. As I understand it, Apple will decline any build submitted to the App Store that has these flags set to false.
The only solution here seems to be for Google to push out a bitcode build of the google maps sdk via pods.
The only solution here seems to be for Google to push out a bitcode build of the google maps sdk via pods.
br...@google.com <br...@google.com> #21
My understanding at this point is that Bitcode is optional, except for apps that have a WatchOS component.
Please let us know here if Apple rejects an application for not being Bitcode. Thanks!
Please let us know here if Apple rejects an application for not being Bitcode. Thanks!
ak...@gmail.com <ak...@gmail.com> #22
This could be the case. Will update here once I submit my update and if this issue is not closed.
jo...@memreas.com <jo...@memreas.com> #23
Hi,
I'm not concerned about using bitcode. My issue is that I can't build since upgrading to Xcode 7 and ios9 GoogleMaps as a Cocoa Pod or as a framework since I can't disable the bitcode properly in either.
See my screenshot above. It reflects that the Cocoa Pod instal doesn't show up as a Target so I can't disable the bitcode.
I've uninstalled and re-installed the Pod multiple times, cleaned project and dervied data, restarted but the Pod doesn't show up.
If there is a manual workaround to correct the Cocoa Pod I'm willing to try that.
If you need more environment details to reproduce I can provide.
-J
I'm not concerned about using bitcode. My issue is that I can't build since upgrading to Xcode 7 and ios9 GoogleMaps as a Cocoa Pod or as a framework since I can't disable the bitcode properly in either.
See my screenshot above. It reflects that the Cocoa Pod instal doesn't show up as a Target so I can't disable the bitcode.
I've uninstalled and re-installed the Pod multiple times, cleaned project and dervied data, restarted but the Pod doesn't show up.
If there is a manual workaround to correct the Cocoa Pod I'm willing to try that.
If you need more environment details to reproduce I can provide.
-J
ak...@gmail.com <ak...@gmail.com> #24
I did not disable bit code for the google maps framework to get mine to build, I disabled the Enable Bitcode flag in the project's Build Settings and the project target's Build Settings
jo...@memreas.com <jo...@memreas.com> #26
Ok, I tried going back to the framework. I set enable bitcode = no at the project level which gave me the bitcode error. I then set enable bitcode = no at the target level (my project) but that gave me a long list of c errors.
Is there a way to set the bitcode setting for the framework just for GoogleMaps? If not how can I get the Cocoa Pod to show up as a Target?
-J
Is there a way to set the bitcode setting for the framework just for GoogleMaps? If not how can I get the Cocoa Pod to show up as a Target?
-J
[Deleted User] <[Deleted User]> #27
Hi Brett,
You are correct: Bitcode is optional, even if you have a watch target. The advantage of using Bitcode with your app is that you can take advantage of App Slicing and it will greatly reduce your bundle size. I have several third party libraries in my app and all of them have been able to turn around a bitcode compiled library. Is Google any closer to releasing a version of Google Maps with bitcode enabled?
You are correct: Bitcode is optional, even if you have a watch target. The advantage of using Bitcode with your app is that you can take advantage of App Slicing and it will greatly reduce your bundle size. I have several third party libraries in my app and all of them have been able to turn around a bitcode compiled library. Is Google any closer to releasing a version of Google Maps with bitcode enabled?
ha...@gmail.com <ha...@gmail.com> #28
After disabling Bitcode for the sack of gmaps the app is always stuck in processing phase.
I have update cocoapods also to a branch where the problem of the "Invalid Swift Support" is resolved. With no luck. I'm thinking to drop gmaps from the app and go with Bitcode just to release :/
I have update cocoapods also to a branch where the problem of the "Invalid Swift Support" is resolved. With no luck. I'm thinking to drop gmaps from the app and go with Bitcode just to release :/
jo...@memreas.com <jo...@memreas.com> #29
Is there an ETA on when the Cocoa Pod Install issue will be fixed? If there is a workaround I can use in the meantime so I can build and continue development please let me know.
-J
-J
ad...@gmail.com <ad...@gmail.com> #30
If your build is stuck in the processing state after disabling bitcode, make sure you ALSO uncheck "Include Bitcode" after you click "Upload to App Store" for your archive.
ak...@gmail.com <ak...@gmail.com> #31
Unchecking bitcode was not sufficient for me to get out of the processing state after 2 days; I also had to upgrade CocoaPods (since the SDK is only available as a pod) to a beta version:
http://stackoverflow.com/questions/32526526/invalid-swift-support-files-don-t-match
ev...@gmail.com <ev...@gmail.com> #32
Hello everyone, I am facing the same issue, Whenever when I am using it on Simulator Google Maps working fine, But when I am using it on my device(version 8.4), Its not showing any map. Can anybody please tell me whats wrong with Google Maps.
br...@google.com <br...@google.com> #33
Eva, having bitcode enabled in your configuration will stop the app deploying to your phone, not having an app with a blank map. I'd suggest you are facing a different bug. My first question is, do the apps that require networking (e.g. Safari, Chrome, Google Maps,...) work on your device?
Can you raise a new issue with a sample app that demonstrates the issue?
Can you raise a new issue with a sample app that demonstrates the issue?
ev...@gmail.com <ev...@gmail.com> #34
Thanks for your quick reply, That was the issue on my side I was using the CGRectZero for the allocation of the map cause of this mapView object was always nil, Now its working using the
_mapView = [GMSMapView mapWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height) camera:camera];
Thanks.
_mapView = [GMSMapView mapWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height) camera:camera];
Thanks.
[Deleted User] <[Deleted User]> #35
I have an application that I am working on with a watch extension. I cannot deploy to my phone/watch because of this issue with the Google Maps SDK. Disabling bitcode is not an option for a watch target. What is the status on a fix for this? It's holding up development AND testing.
Is this a "we'll have it fixed in the next couple days" kind of issue, or a "You should invest your time switching to Apple's MapKit because we're not making this an immediate priority" kind of situation?
We need an update Google. We cannot be expected to just halt production and wait around for you. What is the status of this?
Is this a "we'll have it fixed in the next couple days" kind of issue, or a "You should invest your time switching to Apple's MapKit because we're not making this an immediate priority" kind of situation?
We need an update Google. We cannot be expected to just halt production and wait around for you. What is the status of this?
pe...@snugsafety.com <pe...@snugsafety.com> #36
I'm developing for Watch OS 2, which REQUIRES bitcode support. Any news?
pe...@snugsafety.com <pe...@snugsafety.com> #37
I already created an adaptor to hide the map implementation from the app and switched to Apple for now. I cannot sit around and wait for Google without the ability to develop for Watch OS 2. Also, Mapbox said they're ready to release BitCode support. If we don't see a Google release in the following 2 weeks, that's where we're going.
id...@googlemail.com <id...@googlemail.com> #39
I'm also waiting for an official statement. We need to build a Watch Extensions and stuck due to missing Bitcode support. Is this really something time cosuming? You released two version (1.10.4, 1.10.5) since this bugreport, please consider adding bitcode to 1.10.6. We really want to stay with gmaps..
sa...@gmail.com <sa...@gmail.com> #40
I have faced the same issue with other frameworks but they have updated to a newer version which has bit code enabled. Please update the googleMaps sdk with bit code enabled as soon as possible.
[Deleted User] <[Deleted User]> #41
Come on google - just enable bitcode and recompile with Xcode 7
di...@gmail.com <di...@gmail.com> #42
Oh google, not you again.
id...@googlemail.com <id...@googlemail.com> #43
This is just hilarious... every single lib I know already support bitcode... Facebook SDK took 2-3 days. But the biggest company of all just can't provide bitcode..
mo...@snugsafety.com <mo...@snugsafety.com> #44
I think Google is working on alpha-bitcode support due to recent corporate restructuring.
br...@google.com <br...@google.com> #45
Thank you all for your solid feedback on this issue!
We are currently working through the technical issues of supporting Bitcode in the Google Maps SDK for iOS and hope to have an update within the next couple of weeks.
We are currently working through the technical issues of supporting Bitcode in the Google Maps SDK for iOS and hope to have an update within the next couple of weeks.
rp...@gmail.com <rp...@gmail.com> #46
A couple of weeks?? Come on guys. We have known about Bitcode for a while now. Just one more reason to use Apple Maps instead.
co...@canadianmortgageapp.com <co...@canadianmortgageapp.com> #47
We are only using the GMSPlacesClient autocompleteQuery from the Google Maps API (//https://developers.google.com/places/ios-api/autocomplete ) is there another POD that would allows us to enable bitcode other than the one below?
source 'https://github.com/CocoaPods/Specs.git '
pod 'GoogleMaps'
source '
pod 'GoogleMaps'
di...@gmail.com <di...@gmail.com> #48
And a couple of weeks passed.
li...@gmail.com <li...@gmail.com> #49
[Comment deleted]
li...@gmail.com <li...@gmail.com> #50
Any Update guys ???
br...@google.com <br...@google.com> #51
And the update is we've just released version Google Maps for iOS version 1.11.0 with *drumroll* bitcode support! Try it out and report any bugs with bitcode support as new issues.
Thanks for all the support on getting this up and running guys!
Thanks for all the support on getting this up and running guys!
[Deleted User] <[Deleted User]> #52
Thanks for getting that out!
na...@gmail.com <na...@gmail.com> #53
Yiiiiiha! Finally. Thanks!
ma...@lyft.com <ma...@lyft.com> #54
[Comment deleted]
Description
Under Xcode 7, I get about 200 warnings like this one:
"ld: warning: URGENT: all bitcode will be dropped because '/Users/John/Projects/EasyRoute/Pods/GoogleMaps/Frameworks/GoogleMaps.framework/GoogleMaps(GMSCachedTile.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."