Closed Spokane-Dude closed 10 years ago
If drag the Ensembles iOS project into your app, it should setup the search paths to find the library.
To build the documentation, you need to have the appledoc tool installed. It is a separate project on GitHub.
It doesn't exist... if I do a search for _libensemblesios.a in Finder, it comes up with 0 files found.
I'll install the appledoc tool which should take care of the other... thanks for the quick respoonse. :D
The library will only exist after you build the Ensembles iOS project. Have you tried that?
Maybe try that first, and then add it to your project.
Drew
On 25 Apr 2014, at 18:44, Spokane-Dude notifications@github.com wrote:
It doesn't exist... if I do a search for libensembles_ios.a in Finder, it comes up with 0 files found.
I'll install the appledoc tool which should take care of the other... thanks for the quick respoonse. :D
— Reply to this email directly or view it on GitHub.
I tried doing the build, which is when I got the appledoc error... I'll try to fix that by installing appledoc...
Would it be possible for you to mention in the docs under Manual Install that the lib has to be build, or some such wording... It's not obvious, although I'm probably the only one who had the problem. I like things to be concise when following directions. :D
Thanks, Rolf
Drew McCormack mailto:notifications@github.com April 25, 2014 at 9:53 AM The library will only exist after you build the Ensembles iOS project. Have you tried that?
Maybe try that first, and then add it to your project.
Drew
On 25 Apr 2014, at 18:44, Spokane-Dude notifications@github.com wrote:
It doesn't exist... if I do a search for libensembles_ios.a in Finder, it comes up with 0 files found.
I'll install the appledoc tool which should take care of the other... thanks for the quick respoonse. :D
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/137#issuecomment-41414752.
You should choose the ensembles ops target to build. I suspect you had the documentation target selected.
I'll check the Readme.
Drew
On 25 Apr 2014, at 19:03, Spokane-Dude notifications@github.com wrote:
I tried doing the build, which is when I got the appledoc error... I'll try to fix that by installing appledoc...
Would it be possible for you to mention in the docs under Manual Install that the lib has to be build, or some such wording... It's not obvious, although I'm probably the only one who had the problem. I like things to be concise when following directions. :D
Thanks, Rolf
Drew McCormack mailto:notifications@github.com April 25, 2014 at 9:53 AM The library will only exist after you build the Ensembles iOS project. Have you tried that?
Maybe try that first, and then add it to your project.
Drew
On 25 Apr 2014, at 18:44, Spokane-Dude notifications@github.com wrote:
It doesn't exist... if I do a search for libensembles_ios.a in Finder, it comes up with 0 files found.
I'll install the appledoc tool which should take care of the other... thanks for the quick respoonse. :D
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/137#issuecomment-41414752.
— Reply to this email directly or view it on GitHub.
Yes, that was it... apparently the Documentation was checked before you uploaded it to GitHub... thank you...
Regards, Rolf
Drew McCormack mailto:notifications@github.com April 25, 2014 at 10:10 AM You should choose the ensembles ops target to build. I suspect you had the documentation target selected.
I'll check the Readme.
Drew
On 25 Apr 2014, at 19:03, Spokane-Dude notifications@github.com wrote:
I tried doing the build, which is when I got the appledoc error... I'll try to fix that by installing appledoc...
Would it be possible for you to mention in the docs under Manual Install that the lib has to be build, or some such wording... It's not obvious, although I'm probably the only one who had the problem. I like things to be concise when following directions. :D
Thanks, Rolf
Drew McCormack mailto:notifications@github.com April 25, 2014 at 9:53 AM The library will only exist after you build the Ensembles iOS project. Have you tried that?
Maybe try that first, and then add it to your project.
Drew
On 25 Apr 2014, at 18:44, Spokane-Dude notifications@github.com wrote:
It doesn't exist... if I do a search for libensembles_ios.a in Finder, it comes up with 0 files found.
I'll install the appledoc tool which should take care of the other... thanks for the quick respoonse. :D
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub
https://github.com/drewmccormack/ensembles/issues/137#issuecomment-41414752.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/137#issuecomment-41416471.
Hi Drew... there is NO Ensembles Headers folder... is it somewhere other than the Ensembles project?
Regards, Rolf
Drew McCormack mailto:notifications@github.com April 25, 2014 at 10:31 AM
Closed #137 https://github.com/drewmccormack/ensembles/issues/137.
— Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/137.
No, just add the Framework folder to your header path.
On 25 Apr 2014, at 21:24, Spokane-Dude notifications@github.com wrote:
Hi Drew... there is NO Ensembles Headers folder... is it somewhere other than the Ensembles project?
Regards, Rolf
Drew McCormack mailto:notifications@github.com April 25, 2014 at 10:31 AM
Closed #137 https://github.com/drewmccormack/ensembles/issues/137.
— Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/137.
— Reply to this email directly or view it on GitHub.
Hi Drew... I don't know if you want me to contact you directly or post these as "issues" on GitHub... let me know, please.
I am getting a build error on this statement:
CDEPersistentStoreEnsemble *ensemble =
[[CDEPersistentStoreEnsemble alloc] initWithEnsembleIdentifier:@"salonbook"
persistentStorePath:storeURL
managedObjectModelURL:modelURL
cloudFileSystem:cloudFileSystem];
The error is:
AppDelegate.m:100:81: No visible @interface for
'CDEPersistentStoreEnsemble' declares the selector
'initWithEnsembleIdentifier:persistentStorePath:managedObjectModelURL:cloudFileSystem:'
I have tried everything I can think of, and it still exists. What's wrong? or what else do I have to do?
Regards, Rolf
Drew McCormack mailto:notifications@github.com April 25, 2014 at 12:25 PM No, just add the Framework folder to your header path.
On 25 Apr 2014, at 21:24, Spokane-Dude notifications@github.com wrote:
Hi Drew... there is NO Ensembles Headers folder... is it somewhere other than the Ensembles project?
Regards, Rolf
Drew McCormack mailto:notifications@github.com April 25, 2014 at 10:31 AM
Closed #137 https://github.com/drewmccormack/ensembles/issues/137.
— Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/137.
— Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/137#issuecomment-41430321.
In the book, you have the following bit of code:
//Setup Ensemble cloudFileSystem=[[CDEICloudFileSystem alloc] initWithUbiquityContainerIdentifier:@"XXXXXXXXXX.com.yourcompany.yourapp"];
ensemble=[[CDEPersistentStoreEnsemble alloc] initWithEnsembleIdentifier:@"YourStoreIdentifier" persistentStorePath: storeURL <----------- I believe this should be persistentStoreURL, not persistentStorePath managedObjectModelURL:modelURL cloudFileSystem:cloudFileSystem];
Regards, Rolf
Thanks. We changed that, and I guess I missed it. Will fix.
Drew
On 26 Apr 2014, at 00:50, Spokane-Dude notifications@github.com wrote:
In the book, you have the following bit of code:
//Setup Ensemble cloudFileSystem=[[CDEICloudFileSystem alloc] initWithUbiquityContainerIdentifier:@"XXXXXXXXXX.com.yourcompany.yourapp"];
ensemble=[[CDEPersistentStoreEnsemble alloc] initWithEnsembleIdentifier:@"YourStoreIdentifier" persistentStorePath: storeURL <----------- I believe this should be persistentStoreURL, not persistentStorePath managedObjectModelURL:modelURL cloudFileSystem:cloudFileSystem];
Regards, Rolf — Reply to this email directly or view it on GitHub.
Hi Drew... another question that I could not find the answer to in the book...
Q: can Ensembles be used just to backup the CoreData store? For instance, if the user accidentally deletes the app, the store is gone also. Can Ensembles be used in this case to restore the store? The reason I ask is that I'd like to roll this out in two phases: backup and sync.
Regards, Rolf
Yes, you could do that. It is just sync with a single device. If you lose the original store, just leech with an empty store, and the data should come back.
But you might find that just copying the store takes less disk space.
It would be a good test case though, for a two phase roll out.
Drew
On 27 Apr 2014, at 17:00, Spokane-Dude notifications@github.com wrote:
Hi Drew... another question that I could not find the answer to in the book...
Q: can Ensembles be used just to backup the CoreData store? For instance, if the user accidentally deletes the app, the store is gone also. Can Ensembles be used in this case to restore the store? The reason I ask is that I'd like to roll this out in two phases: backup and sync.
Regards, Rolf — Reply to this email directly or view it on GitHub.
Thanks for the speedy reply... I'll do that and keep you posted... also, thought you might want to know there is an error in the book:
Regards, Rolf
Drew McCormack mailto:notifications@github.com April 27, 2014 at 8:05 AM Yes, you could do that. It is just sync with a single device. If you lose the original store, just leech with an empty store, and the data should come back.
But you might find that just copying the store takes less disk space.
It would be a good test case though, for a two phase roll out.
Drew
On 27 Apr 2014, at 17:00, Spokane-Dude notifications@github.com wrote:
Hi Drew... another question that I could not find the answer to in the book...
Q: can Ensembles be used just to backup the CoreData store? For instance, if the user accidentally deletes the app, the store is gone also. Can Ensembles be used in this case to restore the store? The reason I ask is that I'd like to roll this out in two phases: backup and sync.
Regards, Rolf — Reply to this email directly or view it on GitHub.
— Reply to this email directly or view it on GitHub https://github.com/drewmccormack/ensembles/issues/137#issuecomment-41499022.
Following the instructions for Manually installing in XCode, the library _libensemblesios.a is missing.
In addition, during the build, I'm getting an error from this script:
giving me the following build error: