Comments (14)
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.
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.
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.
Try -- perhaps -- git submodule init --recursive and/or git submodule update --recursive.
from sdklauncher-ios.
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.
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.
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.
from sdklauncher-ios.
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 --recursiveLaunch 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.
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.
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.
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.
@rkwright I think you forgot to actually close this issue :)
(see message above in the discussion thread)
Closing now (for real).
from sdklauncher-ios.
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.
@Sptibo cross-posting here: #37 (comment)
from sdklauncher-ios.
Related Issues (20)
- Text selection in continuous scroll mode fails on iOS 12
- xcode project missing js and css file HOT 2
- reader not scrolling : IOS 13.x HOT 5
- 您好,如何把sdk导入到自己的项目中,我这边报错C++ requires a type specifier for all declar HOT 2
- This SDK not supported for iOS 13 but working fine in iOS 12.4.2. Please help me
- Please Provide full version HOT 2
- SDK Launcher- ios HOT 2
- Regarding exporting of annotations to our backend server. HOT 3
- ePubLibrary view with cover image HOT 3
- Errors with Book Marks HOT 5
- Swipe Navigation HOT 4
- SDKLauncher-iOS Highlight does not work on IOS HOT 24
- In iOS How to get the click on the location of the information and get the selected text string? HOT 1
- Footnotes with elementCfi containing square brackets do not navigate to correct page HOT 7
- how can we calculate total no of pages in a book in Background HOT 3
- some errors about “Platform” namespace HOT 1
- Reference Cover image From Epub HOT 6
- Request a demo that runs normally HOT 2
- How to detect user pressing on link inside the book HOT 2
- I've imported the dependencies on my project. But didn't get any clue to use those sdks. Can anyone explain how to use Redium sdks with some examples stepwise? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdklauncher-ios.