Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9068913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T17:18:08+00:00 2026-06-16T17:18:08+00:00

I have an iOS project hosted on Bitbucket which uses MapBox-iOS-sdk which I incorporated

  • 0

I have an iOS project hosted on Bitbucket which uses MapBox-iOS-sdk which I incorporated as a git submodule. The commit I track is on a develop branch, not the release branch. Say, some times later when I tried to clone anew my project off Bitbucket (via git clone –recursive). And I also like my use of the submodule MapBox-iOS-sdk be updated to the latest from MapBox. So I want to pull. But first it’s a “no branch” so I went into the MapBox-iOS-sdk directory of my own project and did a

git checkout -b develop remotes/origin/develop

It gives me output:

M   MapView/Map/SMCalloutView Previous HEAD position was 6c6be52... closes #148: incorporate @tmalloy's RMShape bezier curve enhancements
Branch develop set up to track remote branch develop from origin.
Switched to a new branch 'develop'

Then, I did a git pull and it tells me I’m already up-to-date. At this point, my first question: am I already on the latest commit from the Mapbox develop branch?

At this point, I type git status in the Mapbox-iOS-sdk directory, I got the following:

git status
# On branch develop
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#   modified:   MapView/Map/SMCalloutView (new commits)
#
no changes added to commit (use "git add" and/or "git commit -a")

And here is my second question: what does this mean exactly? I’m not trying to modify mapbox-ios-sdk in anyway, all I want to do is to use an official version, but why is it asking me to commit? If I do commit, it appear to me that I would be modifying a new version of Mapbox sdk, and subsequently on my own project I would be tagging to this particular commit, which isn’t on the official source. Wouldn’t my coworker who tried to pull my project be having problem as the commit cannot be found?

Edit:
SMCalloutView is a git submodule that the Mapbox sdk itself incorporated.

Edit 2:
All commands were issued when pwd was at the Mapbox-ios-sdk base directory (a sub-directory of my project).

Edit 3:
The project is at https://bitbucket.org/t2wu/container-bug

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T17:18:09+00:00Added an answer on June 16, 2026 at 5:18 pm

    The MapView/Map/SMCalloutView is a submodule of your MapBox-iOS-sdk submodule, so you have a nested dependency. And it is that nested dependency that has updated.

    If those corrections and updates are important to your project you will need to recursively update the submodules to make sure you have all the updates.

    You then need to decide if/how you are working on corrections to those dependencies as part of your superproject, as this will create synchronisation issues.

    If you simply use a specific version, and occasionally change to a newer published version than it is no more difficult that the recursive update (which could be easier, see the manual 😉

    If you are also correcting problems you have a really tricky problem of being in two places at once – a) using a published version, and b) using your own corrected version, and trying to join up the two around the back.

    Consider making your own fork and repointing the submodule at your fork to allow you to have both variants in the same public repo, and add back an upstream repo. But you then have to maintain your fork with both variants…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Overview I have an iOS project which contains 2 navigation controllers as shown in
I have a MonoTouch project which builds and runs fine on i386/iOS Simulator. The
Now I have a Xcode project which is built for iOS 5, but now
I have an IOS project which i had set the IOS Deployment Target to
I have an iOS Unity project which has been built and now I have
I have an iOS project which builds and executes as expected under debug yet
Overview I have a iOS project in which the view controller implementation which has
I have an iOS (Obj-C) project that uses ARC (Automatic Reference Counting). According to
I have an iOS project which has static data (around 500 entries) This static
I have a iOS project in which I am using ARC in my own

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.