Xcode Debugger Does Not Display Variable Information After Installing CocoaPods Podfile

I just installed CocoaPods and added the code to my project in Xcode to use the Google Maps SDK for iOS, and now I cannot get the types or values โ€‹โ€‹for any variables in the debugger console. The only way I can see the variable value is through an expression for printing in code.

I use Swift 2.0 in Xcode 7.0 beta, and I followed these instructions almost exactly to install pod in my project: https://developers.google.com/maps/documentation/ios-sdk/start . The only thing I did differently was to change the second line in Podspec from "platform: ios," 8.1 "to" platform: ios, "9.0".

I looked at the answers to this similar question: Does the Xcode debugger sometimes not display variable values? but I already used the debug build, m pretty sure my problem is with CocoaPods, because everything worked fine before I added this to my project.

+2
debugging ios xcode
Sep 12 '15 at 4:04 on
source share
3 answers

This is a known issue, you can find more information and mark isuue here .

TL-DR - Fast Workaround:

Add the Objective-C bridge header file and add #import <GoogleMaps/GoogleMaps.h>"

Remove all "imported GoogleMaps" from your fast files.

PS: Tricky stuff - you need to remove all imports from your fast files - I forgot to delete it, and this causes this problem.

+1
Oct 27 '15 at 9:59
source share

I had the same problem if you solved it, but for me it happened because googlemaps caused too many errors. So the workaround is to remove all your googlemaps import in projekt and instead add the import to googlemaps in your header.

0
Sep 23 '15 at 8:48
source share

Updating version 1.10.21020.0 of the Google Maps SDK for iOS fixes the problem.

0
Nov 05 '15 at 19:18
source share