readium / SDKLauncher-iOS

A small iOS application to serve as a launcher/testbed for the Readium SDK.
BSD 3-Clause "New" or "Revised" License
71 stars 47 forks source link

Cannot build on Yosemite with Xcode 7.2 #69

Closed kjantzer closed 8 years ago

kjantzer commented 8 years ago

Has anyone been able to build lately?

I get the following error:

screen shot 2015-12-29 at 11 51 31 am

jdempcy commented 8 years ago

I'm on El Capitan and Xcode 7.1.1.

I'll upgrade to Xcode 7.2 and see if I can repro (understanding, of course, I'm on a different operating system revision.)

Any special repro steps or just grab latest master of SDKLauncher-iOS and follow the readme?

kjantzer commented 8 years ago

I just cloned the master repo then tried to build.

jdempcy commented 8 years ago

Okay, I'll try that also. Upgrading to Xcode 7.2 now.

One thing to try: when I clone I make sure to add the --recursive flag so it gets all submodules. If this flag wasn't present then I don't think it would pull down the readium-sdk submodule that it needs:

https://github.com/readium/readium-sdk

Maybe you could try "git submodule update --init --recursive" from the root of where you cloned the SDKLauncher-iOS project? I'm not sure if this would pull in the submodule if it wasn't cloned recursively to begin with, however.

Or, if you already have the submodule, ignore this comment!

rkwright commented 8 years ago

I just cloned master and built with XCode7.2 on El Capitan. No errors and it launched fine on my iPad.

kjantzer commented 8 years ago

Ok, thanks @rkwright . Maybe I'm missing something in my development environment. I'm thinking of using FolioReader instead though.

danielweck commented 8 years ago

Hello, is zsh installed on your machine, and accessible from your terminal / shell command line? See the script's first line: https://github.com/readium/readium-sdk/blob/develop/Platform/Apple/MakeHeaders.sh

Can you build from the develop branch?

kjantzer commented 8 years ago

@danielweck zsh is installed and yes, I was able to access it from the CLI, which is one of the reasons I was surprised it didn't build.

I have not tried the develop branch.

rkwright commented 8 years ago

Closing as not reproducible