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

Request a demo that runs normally #97

Closed 807276991 closed 7 years ago

807276991 commented 7 years ago

After I open the demo, I will report the error, which is the following:

2017-10-21 8 48 12

: command not found MakeHeaders. Sh: line 24: : command not found MakeHeaders. Sh: line 39: syntax error: unexpected end of file Command/bin/sh failed with exit code 2

I have been debugging this demo for N days, whether the simulator or the phone is not working, where is the problem?

807276991 commented 7 years ago

There is a mistake can't be found ContextFilterLogFormatter. m file, but do have ContextFilterLogFormatter project. m file, is this why?

2017-10-21 8 52 32
danielweck commented 7 years ago

You need to initialize all the Git submodules in the https://github.com/readium/SDKLauncher-iOS repository. That's ./readium-sdk and ./Resources/readium-shared-js. You can use the following shell command: git submodule update --init --recursive. Then make sure to be on the correct Git branches. For example, say you want to build the app from the develop branch: git checkout develop && git submodule foreach --recursive "git checkout develop" (or simply cd inside each submodule repository and invoke git checkout develop).