{"action":"created","issue":{"url":"https://api.github.com/repos/readium/SDKLauncher-iOS/issues/47","labels_url":"https://api.github.com/repos/readium/SDKLauncher-iOS/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/readium/SDKLauncher-iOS/issues/47/comments","events_url":"https://api.github.com/repos/readium/SDKLauncher-iOS/issues/47/events","html_url":"https://github.com/readium/SDKLauncher-iOS/issues/47","id":58988880,"number":47,"title":"Integrating Readium into Existing iOS Workspace","user":{"login":"jimjeffers","id":9150,"avatar_url":"https://avatars.githubusercontent.com/u/9150?v=3","gravatar_id":"","url":"https://api.github.com/users/jimjeffers","html_url":"https://github.com/jimjeffers","followers_url":"https://api.github.com/users/jimjeffers/followers","following_url":"https://api.github.com/users/jimjeffers/following{/other_user}","gists_url":"https://api.github.com/users/jimjeffers/gists{/gist_id}","starred_url":"https://api.github.com/users/jimjeffers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimjeffers/subscriptions","organizations_url":"https://api.github.com/users/jimjeffers/orgs","repos_url":"https://api.github.com/users/jimjeffers/repos","events_url":"https://api.github.com/users/jimjeffers/events{/privacy}","received_events_url":"https://api.github.com/users/jimjeffers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/readium/SDKLauncher-iOS/labels/iOS","name":"iOS","color":"c7def8"},{"url":"https://api.github.com/repos/readium/SDKLauncher-iOS/labels/question","name":"question","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-25T23:38:41Z","updated_at":"2015-02-26T00:46:03Z","closed_at":null,"body":"Hey guys,\r\n\r\nI was wondering if there is any documentation on incorporating the readium-sdk into an existing iOS project? I have a project using cocoapods so what I've done is setup a git submodule for the Readium-sdk and added the xcode project to the workspace. I'm attempting to drop the source code for the launcher app into my own application for a proof of concept but I'm getting a lot of compiler errors from the LocStr() function used throughout the application.\r\n\r\nAny help is appreciated."},"comment":{"url":"https://api.github.com/repos/readium/SDKLauncher-iOS/issues/comments/76100243","html_url":"https://github.com/readium/SDKLauncher-iOS/issues/47#issuecomment-76100243","issue_url":"https://api.github.com/repos/readium/SDKLauncher-iOS/issues/47","id":76100243,"user":{"login":"jimjeffers","id":9150,"avatar_url":"https://avatars.githubusercontent.com/u/9150?v=3","gravatar_id":"","url":"https://api.github.com/users/jimjeffers","html_url":"https://github.com/jimjeffers","followers_url":"https://api.github.com/users/jimjeffers/followers","following_url":"https://api.github.com/users/jimjeffers/following{/other_user}","gists_url":"https://api.github.com/users/jimjeffers/gists{/gist_id}","starred_url":"https://api.github.com/users/jimjeffers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimjeffers/subscriptions","organizations_url":"https://api.github.com/users/jimjeffers/orgs","repos_url":"https://api.github.com/users/jimjeffers/repos","events_url":"https://api.github.com/users/jimjeffers/events{/privacy}","received_events_url":"https://api.github.com/users/jimjeffers/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T00:46:03Z","updated_at":"2015-02-26T00:46:03Z","body":"@rkwright If I can get it working I will put some together for you guys. I need to understand the setup and the process though. Here is what I did to try and mimic the launcher:\r\n\r\n1. Added the readium-sdk and readium-shared-js repos as submodules.\r\n2. Added the source files from the SDK launcher app as an attempt to build a proof of concept. I just want to see if I can launch the epub viewer from within my app. \r\n3. Added the RDServices folder from within the git submodule so that the source code there is part of the main project. \r\n4. Updated my header search paths to reflect those in the SDK Launcher example app.\r\n\r\nIt's important to note that the SDK builds and I can drop in the framework. But the compiler errors occur after I add RDServices and the SDK Launcher's files. That's where I can't get any further. I start getting compiler errors and the app will no longer build. Is there another setting I need to set in my build settings so that the low level C code can compile properly?\r\n\r\nHere's a sample of some of the dump of syntax errors that prevented the compile. I'm sure it would raise more if it hadn't hit the limit already:\r\n\r\nhttps://gist.github.com/jimjeffers/00a06c64d789ad265d00"}}