Closed dive closed 4 years ago
Looking great @dive thanks! I only did some cursory testing with it, but will work on getting a Testflight beta out after this is merged.
I’m not a fan of the multiple plist approach, that’s just legacy stuff I believe.
Looking great @dive thanks! I only did some cursory testing with it, but will work on getting a Testflight beta out after this is merged.
Thanks.
I’m not a fan of the multiple plist approach, that’s just legacy stuff I believe.
Yeah, me either. Btw, it would be nice to get rid of CocoaPods and switch to Carthage. It will allow switching to a proper configuration based on xcconfig
files. But let's try to prepare the next release of MobileOrg first. I am working on the UI rework, and then will try to resolve issues within v1.7.5 milestone.
it would be nice to get rid of CocoaPods and switch to Carthage.
I'd like to look at this post-v1.7.5 maybe, especially if it makes the development process simpler for new contributors.
Seems to "just work" for me so far with local testing, going to go ahead and merge into dev branch.
Hello there,
This is a base implementation of iCloud support. It works in the same way as WebDAV and Dropbox synchronisation options.
Good to know
MobileOrg-Info-*.plist
files (note, I am using the same container for all versions - AdHoc, Debug, Release. It is easier to debug and access data; and I did not find any good reasons to split them);NSUbiquitousContainers
definition withinplist
files, and you will notice that the name of the container is the same as the container name on the "Signing & Capabilities" tab in the Xcode project settings -iCloud.com.mobileorg.mobileorg
;.org
files will be stored inside.Technical details
fatalError
for controversial scenarios to be able to collect crashes with proper stack-traces. I think this is fine for thedevelop
branch. Maybe, if there will be a release version, we can replace them with something less destructive;Synchronisation with Emacs
To set up synchronisation with Emacs you have to change
org-mobile-directory
in yourinit.el
file to something like this:You can verify the path by opening iCloud Drive folder in the Finder, look for MobileOrg folder inside, right-click on it, hold Alt and select "Copy "MobileOrg" as Pathname". The proper path will be copied to the clipboard.
NOTE: The folder will appear in your iCloud Drive only after the initial sync initiated from the mobile application.
For a reviewer/maintainer
For testing, I used my own containers within my development account. So, it is better to double-check that everything works as expected by whoever has access to the iTunes Connect account you use to distribute TestFlight and release builds.
Resolves #201, corresponding feature request in the tracker.
Let me know if you want to make any changes in the pull-request or have questions.
Cheers, Artem