Swift: How to integrate Google Maps SDK with Cocoapods to Build a Vacation App

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2024

Комментарии • 226

  • @lupticheung2943
    @lupticheung2943 8 лет назад

    Great job in showing us how to use the Google Map SDK and the integration process with CocoaPods.

  • @thinkoreans
    @thinkoreans 8 лет назад

    Another great lesson! I'm picking up a lot from your quiet, 'nonchalant' dropping of insights and always grateful of your sharing. Thanks a lot.

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад

      Excellent stuff, hope I can keeping dropping knowledge for you guys.

  • @Dennisvm82
    @Dennisvm82 8 лет назад

    Working with maps is pretty interesting. Learned a lot of new stuff again. Added an extra if statement to hide the "Next" button when the user is completely zoomed in.

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад +1

      Awesome, I'm thinking of doing a whole series on maps later. Wish Swift 3 would release sooner.

    • @Dennisvm82
      @Dennisvm82 8 лет назад

      Thanks! Can't wait to see what you have in store :-)

    • @jbee1263
      @jbee1263 7 лет назад

      That would be very helpful Brian.... maybe an app series of how to build the iOS Google maps app (or features of it), just a thought.

  • @jacktoddy9783
    @jacktoddy9783 5 лет назад +1

    A terrific tutorial which I found beneficial to my attempt at producing a booze cruise through some of the world’s capital cities.

  • @chrisfrieberg7720
    @chrisfrieberg7720 5 лет назад

    New iOS Student, currently working on a project to show points of interest on a map related to certain types of business. Trying to make it with the location Icons already initialized at startup. I guess similar to google maps - hoping to learn the full stack process during this project. Your videos are great, thanks for all the info.

  • @subashanaanurad3010
    @subashanaanurad3010 7 лет назад +2

    great tutorial. small thing this will give you Index out of range exception when you are in the last destination. to avoid that ins the next action , else part check like below,
    if (index! + 1) < destinations.count {
    currentDestination = destinations[index! + 1]
    } else {
    currentDestination = destinations.first
    }

    • @joek1705
      @joek1705 6 лет назад

      not all heroes wear capes, that was really helpful been struggling for about a year. Thank you so much

  • @LAA00MY
    @LAA00MY 4 года назад

    You're a hero. What is the replacement of ViewController swift file in the SwiftUI new Xcode versions?

  • @rupeshkadam9703
    @rupeshkadam9703 4 года назад

    that calayer thing blew my mind

  • @muhammadsalman4803
    @muhammadsalman4803 6 лет назад

    Great tutorial, Can you tell me how to adjust the size of google map window in our viewcontroller ???

  • @TheFirzoknadeem1
    @TheFirzoknadeem1 5 лет назад

    While creating the GMSMapView.map use this command if you want to preserve your height and width in the new view
    let mapView = GMSMapView.map(withFrame: self.view.bounds, camera: camera)

  • @awasunyin1971
    @awasunyin1971 8 лет назад +8

    Thank you for dedicating your time on making these HQ videos! :)

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад +2

      +Awa Sun Yin Glad to have to as a viewer, nice glasses!

  • @lakerwayne
    @lakerwayne 7 лет назад

    Thank you dude! You rock! Please continue doing these amazing videos

  • @JustHereHappening
    @JustHereHappening 7 лет назад

    great vid! So how would you go about adding this code into another View Controller? For example adding a button on the main View controller where once that button is pressed it will redirect you to this MapView? Any thoughts?

  • @paolopronzo3580
    @paolopronzo3580 6 лет назад

    Hello! Great video!
    Just a question: how to randomize the locations clicking Next?
    Thank you!

  • @goodgameindustries4513
    @goodgameindustries4513 7 лет назад

    You should make a video on Marker Clustering!

  • @dairdr
    @dairdr 7 лет назад

    Hi Brian
    Thank you for this awesome material.
    Otherwise, I'm struggling with Google Maps and the device's memory, my "test app" crashes when I zoom in/out, drag etc, with the map, the memory is increasing. Did you have the same issue? how can I handle that?
    PD. I'm using a iPod touch 4G
    Thanks again

  • @franzsud
    @franzsud 7 лет назад

    Great video! just one question, if I use Google Maps SDK for my IOS projects, will it run in all IOS devices even though some devices might not have installed google maps?

  • @theJeraldo7
    @theJeraldo7 6 лет назад

    Thanks for a quick starter on Google maps. Do you know if the Matrix API can be used for iOS? I do not see any iOS SDK for it?

  • @vanegasa888
    @vanegasa888 7 лет назад

    Thanks for the video and for sharing the information

  • @laka9077
    @laka9077 4 года назад

    THANK YOU SO MUCH for this great video.
    Is there a way to get the coordinates of a new location that is some distance down a street from an initial location? For example, if I want to get the coordinates of a location 20 feet down the same street from some other location. Something like "newLocation = location.translateUpStreet(20)". Some things I've already tried:
    -Adjusting (incrementing/decrementing between markers) the longitude or latitude doesn't guarantee that the marker is visible from the street view.
    -Making a formula to increment/decrement the address number doesn't seem like it will work either, because not all streets have a regular address number pattern.
    Thank you so much, I can't find any info about this!!!

  • @jarrettgoh8920
    @jarrettgoh8920 3 года назад

    Does anyone notice that the scrolling effect such as the way the text transition is different, and in fact looks better when using the IOS sdk as compared to the browser google maps? Anyway great video! 11:01 just a little time stamp to see the effect.

  • @heenaberiya2669
    @heenaberiya2669 6 лет назад

    Hi, can you plz make a video for user's live location tracking in Google maps?

  • @kundanmitra34
    @kundanmitra34 7 лет назад

    firstly, i big Thank you for these video tutorials.. It's awesome.. Can you make a video on how to restrict the map for a particular region/ country.. Thank you

  • @chmziaurrehman
    @chmziaurrehman 8 лет назад

    Superb Bro
    Can we find nearby hospital's at user location in ios by using Google Maps SDK?

  • @praveenkumar9004
    @praveenkumar9004 7 лет назад

    Hi, Can you increase the font size in upcoming videos?

  • @RakshithaMurangaRodrigo
    @RakshithaMurangaRodrigo 7 лет назад

    Thanks Buddy ! and I'm currently working on my University project and needed to connect iOS app to mongodb database which contain coordinates and details of locations, nodeJS is the backend server... need to show locations as placemarkers, according to the data of the database on map in iOS application... please give a help to connect iOS app to the mongoDB database with nodeJS server

  • @cbushack8812
    @cbushack8812 7 лет назад

    Fantastic Video. Thanks.

  • @lixiaolong800
    @lixiaolong800 7 лет назад

    Great video! Thank you.

  • @thaismarques9770
    @thaismarques9770 8 лет назад +2

    That's really nice, thank you for making this video. Could you also make a tutorial on how to get directions from user location to a certain place using google maps?

    • @nashwanalnomany9526
      @nashwanalnomany9526 7 лет назад

      did you get solution for directions?

    • @AlexisGaziello
      @AlexisGaziello 7 лет назад

      Di you get solutions Nashwan?

    • @nashwanalnomany9526
      @nashwanalnomany9526 7 лет назад

      i used alternative solution، It works well for me
      stackoverflow.com/questions/32039816/how-to-open-google-maps-to-show-route-using-swift
      or you can find more options here:
      stackoverflow.com/questions/28784034/swift-ios-google-map-path-to-coordinate
      I hope it works well for you.

    • @AlexisGaziello
      @AlexisGaziello 7 лет назад

      Thanks!

    • @live-mecca
      @live-mecca 6 лет назад

      ruclips.net/video/OT9Ep2Vp7dg/видео.html

  • @vamsikrishnathanikanti7688
    @vamsikrishnathanikanti7688 4 года назад

    thanks for tutorial.
    I am doing it now, with xcode 11.3, iOS 13.
    what are the changes I need to do. pls send any new updated doc is there.
    Thank you

  • @andreykirilov4694
    @andreykirilov4694 7 лет назад

    great! but i don't know how can do it as you, but can I ask some questions later for this video?

  • @maximeraskin4626
    @maximeraskin4626 8 лет назад

    Hey, would you be able to do a tutorial that allows the user to interface and chat with people in a nearby area within an area of 50 km for eg ? this would be great as this is what I am trying to achieve

  • @try_story_of_stories
    @try_story_of_stories 4 года назад

    Thank you! Very helpful!

  • @connectSanjayMali
    @connectSanjayMali 8 лет назад

    Wow. Its really help for me bru. How can we display cluster of map annotations (Array of latitude and longitude)?

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад

      +Sanjay Mali If you iterate through an array of latitude longitude, it should be fairly straightforward to add each annotation no?

  • @alessandro6017
    @alessandro6017 8 лет назад

    hi great video, its possible to resize the map and insert some views near it?

  • @MrTuzzo77
    @MrTuzzo77 8 лет назад

    Really cool tutorial my friend. THANKS! Can you provide a Directions API google maps example?

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад +2

      +Alessandro Mattiuzzi I could do one in the future, I'll start thinking of an interesting app. Thanks for watching!

  • @williamanderson7958
    @williamanderson7958 6 лет назад

    nice video, great directions but kinda outdated. could you make another one using swift 4?

  • @Shulstar
    @Shulstar 5 лет назад

    Thank you for the video! Q: why did you make the setMapCamera function private? Would there have been any problems with it being default?

  • @sokpenh5629
    @sokpenh5629 7 лет назад

    Hi brother. could you show me how to make direction from current location to the lat long that we have set in xcode swift.
    very thank.

  • @saiprasad8042
    @saiprasad8042 8 лет назад

    could you please make a tutorial on c# programming using visual studio. your channel is superb.

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад

      Hey Sai, I haven't done c# programming in more than 5 years. I might not be the best person to do that type of video.

  • @manikanthag1066
    @manikanthag1066 3 года назад

    Hi nice tutorial ..I need when user tap on map get point center of the screen and also get name of location plz share me

  • @supertalkingtech
    @supertalkingtech 8 лет назад

    Hey Brian, great tutorial videos. I was wondering if I could make a request for a future videos. Could you please make a tutorial on how to code and deploy an iPhone backend to Amazon Web Services? I really would like to learn how to make a killer backend; I know Ruby on Rails/REST API creation with it but don't know how to deploy it and save user's data like photos or game data. I can't find a video on how to do it, and it's really bugging me because I'm stuck with Parse and wanna learn server deployment. Another video request would be how to use APIs some more - maybe like Google Search API or something else. Thank you, and keep up the good work.

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад

      Perhaps someday, there are a lot of tutorials out there on backend coding that probably explain this topic better than I can ever hope to do so.

  • @tanidaponputtichai6478
    @tanidaponputtichai6478 8 лет назад +1

    Thanks a lots.
    Why mapView covers up navigation bar?

    • @tanidaponputtichai6478
      @tanidaponputtichai6478 8 лет назад +1

      I have a problem. CATransaction has no member "begin" & "commit".

    • @burakakyalcin
      @burakakyalcin 7 лет назад

      There are two different CATransaction, try the other one

  • @gngmanager
    @gngmanager 8 лет назад

    Hi, Jason I have been learning a lot from your youtube channel, thanks
    could you make a lesson about searching "The Near by Buildings Names" using Google Map Web Service API, many thanks

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад

      +mR.nG Yeah, I'll take a look at this. Thanks!

    • @gngmanager
      @gngmanager 8 лет назад

      +Lets Build That App i found that Google Map Web Service can Reverse Geocoding for a Latitude/Longitude to a formatted_address. developers.google.com/maps/documentation/geocoding/intro?hl=en#reverse-example

  • @hourksavet1602
    @hourksavet1602 7 лет назад

    That's great. Thank you very much!

  • @joek1705
    @joek1705 7 лет назад

    Hi there, thank you again for a great video. I have one small question, how to make loop? cause mine seem to crush every time it reaches the last destination.
    Is there a code to make it loop?

    • @eduardoramirez2228
      @eduardoramirez2228 7 лет назад

      @subashana anurad Wrote it:
      if (index! + 1) < destinations.count {
      currentDestination = destinations[index! + 1]
      } else {
      currentDestination = destinations.first
      }

  • @shaikmahaboob3680
    @shaikmahaboob3680 7 лет назад

    Hi Brian Voong, Please solve one of the problem that was waiting for solution in StackOverFlow. That was when ever customizing info window with native one in google maps(using XIB), we are getting "can't caste uiview with custom view". Please give solution for this, there by you can be helper for several developpers. Thanks.

  • @konceptza2881
    @konceptza2881 8 лет назад

    hey great video i downloaded the complete project but there is no next button when i add a next button and attempt to add your code in there presto ..... nothing happens ..... help

  • @PanagiotisGoutzianas
    @PanagiotisGoutzianas 6 лет назад

    Hi! Very helpfull tutorial.Can you please make one for markerInfoWindow and didTapInfoWindowOf marker ?

  • @DocHavoc0512
    @DocHavoc0512 7 лет назад

    Is there any way to style the map to make it more unique for any particular application?

  • @MusondaKapatamoyo
    @MusondaKapatamoyo 7 лет назад

    Hey man,
    Do you have a method about how to download the user location information (from the markers) into a mysql database?

  • @javierv.5210
    @javierv.5210 7 лет назад

    Could you make a tutorial on how to locate an iPhone with your the user's Iphone?

    • @casfefusan
      @casfefusan 7 лет назад

      shii, no queris otra cosita

  • @edstergadget5120
    @edstergadget5120 8 лет назад

    Great video!

  • @nlsen2814
    @nlsen2814 8 лет назад

    Hi !! First thanks for your help ! also i've a question for you, how can i put my current location in the api ? do you have any tuto on it ?

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад +1

      You have to start up the GPS on your device via CLLocationManager startUpdatingLocation

  • @emiliop5849
    @emiliop5849 7 лет назад

    Hello Brian, is it possible to use a google map, search bar, and make a product search to set pins on the locations of stores near by that sell that product?, the locations of the stores and their available products are store in a Firebase database.

  • @sokpenh5629
    @sokpenh5629 7 лет назад

    Hi brother, Can you show us how to insert data into MySql in xcode, cause I want to know it . Very Thank for your kindly share

  • @juliemakhecha7414
    @juliemakhecha7414 7 лет назад

    Hey I m gonna Fan of yours..You are amazing..!!
    Now, please let me know how to get latitude and longitude from user search result and show navigation and track that also.
    I am new to this you helped me a lot and i hope you will..:)
    Thank You..!!

  • @davidmaimoun527
    @davidmaimoun527 6 лет назад

    Thank you very much

  • @fernandoserrano533
    @fernandoserrano533 8 лет назад

    hi can you teach how to implement the current location? I would greatly appreciate it

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад +2

      +Fernando Serrano Tejada I'll might be able to make a tutorial on this but in the meantime, you can look up CLLocationManager and the function: startMonitoringSignificantLocationChanges

    • @fernandoserrano533
      @fernandoserrano533 8 лет назад

      +Lets Build That App Cool. Thanks

  • @vphothisan
    @vphothisan 7 лет назад

    Can you do a MAPKIT tutorial

  • @nashwanalnomany9526
    @nashwanalnomany9526 7 лет назад

    You have a unique style, in explaining topics..
    Thank you for what you are doing "شكرا" in Arabic :)
    But still I can not get direction from one place to another , and can not find any effective solution.

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 лет назад

      I suggest finding the google docs to see how their maps api works.

  • @brightfrimponganorchie5580
    @brightfrimponganorchie5580 8 лет назад

    can you create a video on how to find a users location in google maps sdk?
    i really need it for my project

    • @pavelstepanov1266
      @pavelstepanov1266 8 лет назад

      I suppose if authentication status of CLLocationManager is .AutherizedWhenInUse then you can juts write sometiing like :
      let userLocation = mapView.myLocation // .coordinate if you need coordinate

  • @sokpenh5629
    @sokpenh5629 7 лет назад

    Hi brother, I want to show how to insert data into MySql in xcode, cause I want to know it. Very Thank for your kindly share

  • @pavelstepanov1266
    @pavelstepanov1266 8 лет назад

    Good tutorial, thank you :)

  • @Swifter_Developer
    @Swifter_Developer 7 лет назад

    Hi there & Thanks man!😊

  • @aman160892
    @aman160892 8 лет назад

    Nice video.
    I am using MapKit in my app. I am trying to implement location search using MKLocalSearch but it doesn't give all the results and also the results are not accurate.
    Any suggestions?

    • @manasemichaelmhando8034
      @manasemichaelmhando8034 7 лет назад

      Better stick with google map api most of the search result on MKLocalSearch that happen to fail to determine the correct address they fail and return probably nearby location which is not accurate.

    • @williamharris6481
      @williamharris6481 6 лет назад

      www.gps-coordinates.net

  • @mhdmoaaz1592
    @mhdmoaaz1592 7 лет назад

    Hi Brian, I Have question, the mapview display language is based on the device selected language, is there any way to set the mapview language different from the system settings, I have multiLang App and i need to let the user choose the preferred lang for the map

  • @silverrsss
    @silverrsss 8 лет назад

    Hi, that's awesome app tutorial!!! Can you make it little more difficult and add side menu that shows the different pins and maybe directions to them? That will be reaaaaly cool!

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад +2

      Hi Poceh, great suggestion. I'll put this in the to-do list. Thanks.

    • @silverrsss
      @silverrsss 8 лет назад +1

      +Lets Build That App You are awesome. You're lessons are easy to understand and implement them!!!

  • @xfabiosoft
    @xfabiosoft 8 лет назад

    Would you raccomend to use google maps instead the native apple maps?

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад

      I have no preference on maps, google seems to be a little more detailed though.

  • @xomedm2099
    @xomedm2099 7 лет назад

    hello , I have array Location and want to add marker . How to do??? thanks pro

  • @srinivasulu7684
    @srinivasulu7684 8 лет назад

    It's good.
    Great job bro.

  • @kimbahintze3059
    @kimbahintze3059 6 лет назад

    Is there a way to show markers for all the destinations from a zoomed out view?

  • @pk0bcs
    @pk0bcs 5 лет назад

    hi can you make demo like user live tracking route direction in swift 4

  • @penchalreddyv3136
    @penchalreddyv3136 5 лет назад

    Hey ! My xcode is saying that CGRectZero is not available? What can I use instead of that ?

  • @jamesnoble8076
    @jamesnoble8076 7 лет назад +1

    I'm having a really frustrating issue at the part where he creates the "Next" UI bar button item. If i try to attach the action to my function, the app crashes with the error message in console saying "libc++abi.dylib: terminating with uncaught exception of type NSException". I have tried playing around with the selector syntax, rearanging the order of the function and many other things. If i replace the action in the bar button item to "nil" the app doesn't crash but the button doesn nothing because it's set to nil. Anyone else having this problem ???

  • @pratikdholariya6516
    @pratikdholariya6516 6 лет назад

    hiiii please make .......app same as google map application and apply all google map functionality and also turn by turn navigation and same as all......please.......for learning porpos....

  • @sudarshanderangula6563
    @sudarshanderangula6563 6 лет назад

    What about search bar and directions?

  • @Generalknowledge_marathi-pb
    @Generalknowledge_marathi-pb 5 лет назад

    I need demo live tracking demo using google api to calculate distance which he travelled in swift 4

  • @jasondhindsa6774
    @jasondhindsa6774 5 лет назад

    Hi Brian, are you planning on creating a MapKit course on your website (letsbuildthatapp.com)? I can't find tutorials on MapKit that are of the same high quality that your courses are. Please advise?

  • @ozanyldr
    @ozanyldr 8 лет назад

    I've seen a similar question below but is it also impossible for partially saving the map for offline usage? Like in google maps app?

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад

      Google doesn't allow you to save the maps.

    • @ozanyaldr352
      @ozanyaldr352 8 лет назад

      okay, thank you

    • @ozanyldr
      @ozanyldr 8 лет назад

      Is there any other sdk to use offline map and directions(navigation)?

  • @thomasbouillot8071
    @thomasbouillot8071 8 лет назад

    Hello, I have a problem at the launch of 'pod install' in the terminal.
    [!] The dependence 'GoogleMaps is not used in any concrete target.
    Thank you for your help

    • @leo-3r
      @leo-3r 8 лет назад

      put this line:
      target "YOURPROJECTNAME"

    • @prbgameplays
      @prbgameplays 8 лет назад

      I have found the sollution..
      1.first create a project
      2.Then open the terminal and go to your project directory using ( cd /your/project/directory ) command
      3.then type "pod init" command
      4.now type "open -a xcode podfile" command
      5. add these two lines
      source 'github.com/CocoaPods/Specs.git'
      pod 'GoogleMaps'
      after ==> ( target 'your project name' do ) this line in your podfile
      6.save your podfile and
      7.type command " pod install " voala..
      happy coding

  • @elhijodegaia
    @elhijodegaia 7 лет назад

    Hi bro. I'm trying to find a solution to follow my route step by step after draw it with polyline but i can't find the way. Is it posible? how do you track a route showing the instructions with google maps? I can do it with market but not with google maps :S

  • @sreekanthm3057
    @sreekanthm3057 7 лет назад +1

    Can we get device current location without using CLLocationManager?

    • @LetsBuildThatApp
      @LetsBuildThatApp  7 лет назад +1

      Yeah, look up where you are in google :)

    • @live-mecca
      @live-mecca 6 лет назад

      ruclips.net/video/OT9Ep2Vp7dg/видео.html

  • @Kim-dd1xl
    @Kim-dd1xl 4 года назад

    How make the reverse pass? I want disable SDK e o MAPS in may project.

  • @javishfri
    @javishfri 6 лет назад

    How to drop marker from top in swift for google maps SDK, please help me out

  • @assoft8559
    @assoft8559 7 лет назад

    in this application have a error when we click many times the next button error pop up array is out of index plz code some handle exception on this example tnx

  • @scarletstark2201
    @scarletstark2201 8 лет назад

    Do you have a tutorial with Xcode 8? I think the documentation on Google is outdated.

    • @prbgameplays
      @prbgameplays 8 лет назад

      Hi, in Swift3 replace this lines:
      let camera = GMSCameraPosition.cameraWithLatitude(-33.86, longitude: 151.20, zoom: 6)
      let mapView = GMSMapView.mapWithFrame(CGRectZero, camera: camera)
      mapView.myLocationEnabled = true
      To this:
      let camera = GMSCameraPosition.camera(withLatitude: -33.86, longitude: 151.20, zoom: 6)
      let mapView = GMSMapView.map(withFrame: CGRect.zero, camera: camera)
      mapView.isMyLocationEnabled = true

  • @shakeeldhada3959
    @shakeeldhada3959 8 лет назад

    How to make search bar so that user can get type and show its location on google map?

  • @ranjanmondal1340
    @ranjanmondal1340 7 лет назад

    can you provide here map implementation in xcode 8.1 with swift

  • @konireddy6282
    @konireddy6282 6 лет назад

    hi good afternoon , can you make to open emoji keyboard when click on button for chat app

  • @amirhosseineskini210
    @amirhosseineskini210 6 лет назад

    nice

  • @stewartmoon2118
    @stewartmoon2118 6 лет назад

    Is it possible for me to develop this 'app' not on an apple computer?

  • @Alkhaldi92
    @Alkhaldi92 5 лет назад

    I got stuck @ 5:09
    I figured how to fix it. You need to add your project's name inside the pod. just replace "YOUR_APPLICATION_TARGET_NAME_HERE" with your project and it should work just fine.

    • @Alkhaldi92
      @Alkhaldi92 5 лет назад

      Noticed the 'mapWithFrame' method is now changed to just 'map'.
      and 'CGRectZero' is now 'CGRect.Zero'

  • @anitkumar6780
    @anitkumar6780 7 лет назад

    Can you please help me to create the map effect like a SnapMap?

  • @anuradhamukkapati9323
    @anuradhamukkapati9323 7 лет назад

    nice tutorial and I want a help that is how to get latitude and longitude app if we give address or location as a input in IOS using Xcode .If you watch this comment please leave a reply regarding this app

  • @Ryan-ck2fl
    @Ryan-ck2fl 8 лет назад +2

    [!] The dependency `GoogleMaps` is not used in any concrete target. getting this error in terminal.

    • @thinkoreans
      @thinkoreans 8 лет назад +4

      I had the same problem and it seems like things changed after Brian posted this video and the Twitter Client tutorial one. You need to explicitly target your project.
      Do 'pod init' in the project directory before 'pod install'. If it complains 'Existing Podfile found in directory', delete the podfile and do 'pod init' then create a podfile again.
      In the new podfile, you need to add one more line at the end. If you project name is MapTest, it should look like,
      source 'github.com/CocoaPods/Specs.git'
      pod 'GoogleMaps'
      target 'MapTest'
      Save it and 'pod install'. Hope this works for you.

    • @ilygoi
      @ilygoi 8 лет назад

      Thanks!! it worked for me

    • @joek1705
      @joek1705 8 лет назад

      can you please help me I'm having the same problem but tried what you suggested but still doesn't work. Im getting this error message "Analyzing dependencies
      [!] Unable to find the Xcode project `/Users/JoeK/Downloads/1-23/3. Interest Table View/complete/interests/path/to/Podfile.xcodeproj` for the target `Pods-Interests`."
      what to do please help: here is the code that use or got from google page
      source 'github.com/CocoaPods/Specs.git'
      target 'Interests' do
      pod 'GoogleMaps'
      pod 'GooglePlaces'
      project 'path/to/Podfile'
      end

  • @gustavjakobsen4516
    @gustavjakobsen4516 7 лет назад

    Do you know if this method works for the latest version af xcode and cocoapods?

  • @7848-n6z
    @7848-n6z 8 лет назад

    Hi, how to create a custom button and text field on top of the GSMAP?

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад +1

      Hello Anthony, you'd use a custom annotation. Don't try to superimpose UIKit elements on top of the map. It is both ugly and against the google agreement.

  • @Probanot
    @Probanot 8 лет назад +1

    nice!

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад

      +Jason Probanot thanks, hope you can now build your own amazing map app!

    • @Probanot
      @Probanot 8 лет назад

      it did well! thanks

  • @ostrados
    @ostrados 8 лет назад

    if I install google maps on an already finished swift app, does it affect the code? in my old app I used iOS maps I want to change it now for google, because somehow ios does not support direction in Dubai!!

    • @LetsBuildThatApp
      @LetsBuildThatApp  8 лет назад

      You need to swap out all the map components for Google ones instead.