Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Unable to Compile iOS and OSX Builds on Latest Commit #1722

Closed
hallahan opened this issue Jun 13, 2015 · 6 comments
Closed

Unable to Compile iOS and OSX Builds on Latest Commit #1722

hallahan opened this issue Jun 13, 2015 · 6 comments
Assignees

Comments

@hallahan
Copy link
Contributor

I am attempting to build from source the MapboxGL source and sample iOS project via make iproj.

It looks like, according to the instructions, that I just run:

git submodule init
git submodule update
make iproj

When make iproj finishes, it pops open XCode with a project. I then put in the Mapbox Access Code as per the README.

I then try to build for the iPhone 6 Simulator. I select the iosapp to be run.

When I try and build, I get the a hand full of Parse issues that halts the build:

screenshot 2015-06-13 16 35 01
screenshot 2015-06-12 17 08 06

I have successfully compiled the OSX project via make xproj in the past #512 . So, I went a head and did a make clean and gave that a try. I am getting the same errors for the osxapp.

I am using XCode 6.1.1. Is that the problem? Should I be on a newer XCode?

@hallahan
Copy link
Contributor Author

I updated to XCode 6.3.2 and am having the same error.

@friedbunny
Copy link
Contributor

Updating to Xcode 6.3.x should have fixed this issue, in my estimation.

@1ec5
Copy link
Contributor

1ec5 commented Jun 14, 2015

f463286 requires Xcode 6.3 or later. I guess a425df0 was premature; the compatibility shim is needed for folks still using older Xcodes, even if Travis is on something newer.

@1ec5
Copy link
Contributor

1ec5 commented Jun 14, 2015

This raises an interesting question: independently of iOS SDK version, how far back should our Xcode support go? For instance, should we continue to support 6.0–6.2 after 7 comes out? Between #1723 and #1711, supporting older Xcodes is increasingly going to muck up the code base. Two compiler features are manageable, but more than that starts looking tough to justify. Maybe we can base this decision on the lowest Xcode version that Travis and other popular CIs officially support.

/cc @incanus @jfirebaugh

@hallahan
Copy link
Contributor Author

I cleaned and tried again. Success! Thanks @1ec5 for jumping on this so fast!

BTW, now that it works, its amazing how easy it is to build!

screenshot 2015-06-14 12 40 51

@incanus
Copy link
Contributor

incanus commented Jun 15, 2015

I am picturing Xcode support similar to OS’s — current minus one. So, currently Xcode 6.3 and 6.2, with investigations into 7.0, and soon 6.4 will drop, meaning 6.3 and 6.4; eventually 7.0 and 6.4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants