GithubHelp home page GithubHelp logo

Comments (14)

zakdillon avatar zakdillon commented on August 21, 2024

Forgot to add - I am running Xcode 5.0 on Mavericks. (although yesterday, before Mavericks came out, I had the same issue on Mountain Lion.)

from sdklauncher-ios.

bluefirepatrick avatar bluefirepatrick commented on August 21, 2024

Looks to me like you might not have the submodules, particularly readium-sdk.

Patrick

From: zakdillon <[email protected]mailto:[email protected]>
Reply-To: readium/SDKLauncher-iOS <[email protected]mailto:[email protected]>
Date: Wednesday, October 23, 2013 10:26 AM
To: readium/SDKLauncher-iOS <[email protected]mailto:[email protected]>
Subject: [SDKLauncher-iOS] Unable to build project (#10)

I am trying to run this project on my iPad (which is running iOS 7.0.3), but I cannot get it to build. I noticed that the "download zip" feature doesn't seem to work, but cloning it seems to get me closer to a buildable project. It always fails with the same error. I have attached a screenshot of the error I am seeing. I have grabbed a couple different releases of this project, and they all fail with the same error. What am I missing to get this to run? Any help would be greatly appreciated. Thank you.
[error]https://f.cloud.github.com/assets/5739592/1392210/3358f564-3c08-11e3-9989-2247b4046100.png

Reply to this email directly or view it on GitHubhttps://github.com//issues/10.

from sdklauncher-ios.

zakdillon avatar zakdillon commented on August 21, 2024

Patrick,

Thanks for your response. I'm still seeing issues. Any way you could help
me out?

I can reproduce this with the following steps:
git clone [email protected]:readium/SDKLauncher-iOS.git
cd SDKLauncher-iOS
git submodule init
git submodule update
xcodebuild

I can see the readium-sdk in SDKLauncher-iOS in Finder. Am I missing a way
to add the readium-sdk as a dependency?

I got these commands from this issue request on this project: youboox@
d5f12cfhttps://github.com/youboox/SDKLauncher-iOS/commit/d5f12cfb191cfb6daeafe6029a52300ee8c5b29e

Thanks,

Zak

On Wed, Oct 23, 2013 at 12:03 PM, Patrick Keating
[email protected]:

Looks to me like you might not have the submodules, particularly
readium-sdk.

Patrick

From: zakdillon <[email protected]mailto:[email protected]>

Reply-To: readium/SDKLauncher-iOS <[email protected]<mailto:
[email protected]>>
Date: Wednesday, October 23, 2013 10:26 AM
To: readium/SDKLauncher-iOS <[email protected]<mailto:
[email protected]>>
Subject: [SDKLauncher-iOS] Unable to build project (#10)

I am trying to run this project on my iPad (which is running iOS 7.0.3),
but I cannot get it to build. I noticed that the "download zip" feature
doesn't seem to work, but cloning it seems to get me closer to a buildable
project. It always fails with the same error. I have attached a screenshot
of the error I am seeing. I have grabbed a couple different releases of
this project, and they all fail with the same error. What am I missing to
get this to run? Any help would be greatly appreciated. Thank you.
[error]<
https://f.cloud.github.com/assets/5739592/1392210/3358f564-3c08-11e3-9989-2247b4046100.png>

Reply to this email directly or view it on GitHub<
https://github.com/readium/SDKLauncher-iOS/issues/10>.


Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-26928562
.

from sdklauncher-ios.

DDR0 avatar DDR0 commented on August 21, 2024

Try -- perhaps -- git submodule init --recursive and/or git submodule update --recursive.

from sdklauncher-ios.

zakdillon avatar zakdillon commented on August 21, 2024

It wouldn't accept "git submodule init", but it did accept "git submodule update --recursive". Unfortunately, running xcodebuild yielded the same results:

/SDKLauncher-iOS/readium-sdk/Platform/Apple/include/ePub3/property.h:25:10: fatal error:
'ePub3/ePub3.h' file not found
#include <ePub3/ePub3.h>
^
1 error generated.

** BUILD FAILED **

from sdklauncher-ios.

bluefirepatrick avatar bluefirepatrick commented on August 21, 2024

Zak,

Are you pulling the develop branch with clone and using the recursive flag? There was a know issue with starting from the zip archive from Github, so you will want to start with a clone of develop, make sure it is cloned recursive, and then update submodules after that.

To open the project in Xcode you should double click SDKLauncher-iOS.xcodeproj

If you have cloned the repo and updated correctly, you will see SDKLauncher-iOS at the top of the Project Navigator and ePub3.xcodeproj as the last child in the list. Within ePub3.xcodeproj you should be able to find ePub3 > ePub > epub3.h

The xcodeproject is setup to build its dependancies so a Clean and Build should link and compile correctly.

Patrick

From: zakdillon <[email protected]mailto:[email protected]>
Reply-To: readium/SDKLauncher-iOS <[email protected]mailto:[email protected]>
Date: Wednesday, October 23, 2013 2:27 PM
To: readium/SDKLauncher-iOS <[email protected]mailto:[email protected]>
Cc: Patrick Keating <[email protected]mailto:[email protected]>
Subject: Re: [SDKLauncher-iOS] Unable to build project (#10)

It wouldn't accept "git submodule init", but it did accept "git submodule update --recursive". Unfortunately, running xcodebuild yielded the same results:

/SDKLauncher-iOS/readium-sdk/Platform/Apple/include/ePub3/property.h:25:10: fatal error:
'ePub3/ePub3.h' file not found
#include
^
1 error generated.

** BUILD FAILED **

Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-26947155.

from sdklauncher-ios.

zakdillon avatar zakdillon commented on August 21, 2024

I am still seeing the issue by doing the following things.

git clone --branch develop https://github.com/readium/SDKLauncher-iOS.git --recursive
cd SDKLauncher-iOS/
git submodule init
git submodule update --recursive

Launch the Xcode project
clean
build (device or simulator)

Interestingly enough, I noticed that the base SDK for epub3.xcodeproj is "Latest OSX"... that doesn't seem right to me. Also, I see that libePub3-iOS.a is red (rather than black) in SDKLauncher-iOS's Linked Frameworks and Libraries. I attached screenshots for clarity.
launcher_project_file
epub3_project_file

from sdklauncher-ios.

danielweck avatar danielweck commented on August 21, 2024

git branch -avv

=> make sure you are effectively on branch “develop” for [SDKLauncher-iOS] and its submodules Resources/[readium-shared-js] and [readium-sdk].

Alternatively, you can try:

cd SDKLauncher-iOS
git checkout feature/mo_player2

cd readium-sdk
git checkout feature/mo_smil_model

cd ../Resources/readium-shared-js
git checkout feature/mo_player

+clean, build, run

Let us know.
Dan

On 24 Oct 2013, at 15:29, zakdillon [email protected] wrote:

I am still seeing the issue by doing the following things.

git clone --branch develop https://github.com/readium/SDKLauncher-iOS.git --recursive
cd SDKLauncher-iOS/
git submodule init
git submodule update --recursive

Launch the Xcode project
clean
build (device or simulator)

Interestingly enough, I noticed that the base SDK for epub3.xcodeproj is "Latest OSX"... that doesn't seem right to me. Also, I see that libePub3-iOS.a is red (rather than black) in SDKLauncher-iOS's Linked Frameworks and Libraries. I attached screenshots for clarity.


Reply to this email directly or view it on GitHub.

from sdklauncher-ios.

zakdillon avatar zakdillon commented on August 21, 2024

using git branch -avv, I was able to see that I was running the develop branch in all submodules as well. I then deleted my local version, and cloned it again. the i checked out the feature/ branches like you mentioned. I saw the same issue on the feature branch.

from sdklauncher-ios.

bluefirepatrick avatar bluefirepatrick commented on August 21, 2024

Zak, are you able to build and run Launcher OSX?
Did you try and build just the ePub lib by itself? Does that link and compile?
Also I believe that under certain configs you still need to download the command line tools.

Other than that I am not sure what to tell you at this point, a successful recursive clone of 'develop' builds without any further configuration or tweaking for me.

Patrick

Sent from my iPad

On Oct 24, 2013, at 8:16 AM, "zakdillon" <[email protected]mailto:[email protected]> wrote:

using git branch -avv, I was able to see that I was running the develop branch in all submodules as well. I then deleted my local version, and cloned it again. the i checked out the feature/ branches like you mentioned. I saw the same issue on the feature branch.

Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-27001096.

from sdklauncher-ios.

rkwright avatar rkwright commented on August 21, 2024

This is very old and apparently dead. Closing.
@zak, if you are still interested, please send mail to [email protected] and I will re-open and we'll work with you.

from sdklauncher-ios.

danielweck avatar danielweck commented on August 21, 2024

@rkwright I think you forgot to actually close this issue :)
(see message above in the discussion thread)
Closing now (for real).

from sdklauncher-ios.

Sptibo avatar Sptibo commented on August 21, 2024

I've cloned and make the launcher run able on my pc. Then I copied .epub file on my iPhone, my file is listed on Readium SDK Launcher app and is working fine. Now the problem is that I want to integrate this launcher on my existing ios app but could not able to do. Please help me with that.

from sdklauncher-ios.

danielweck avatar danielweck commented on August 21, 2024

@Sptibo cross-posting here: #37 (comment)

from sdklauncher-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.