1Password: how use OneDrive to share content between PC, Mac and iPhone/iPad

To avoid the stupid problem of the DropBox icons overwriting the OneDrive and OneDrive for Business icons explained in OneDrive: sync icons not showing problem, I've chosen to uninstall DropBox.

In the end, I was using it only to share my 1Password vaults between PC, Mac and iPhone/iPad. OneDrive has the advantage of being integrated in Windows and also with Office 365 you have 1Tb of space for free.

On the Mac:

  • go to 1Password preferences, sync tab, and change it to folder (choose a folder inside OneDrive)
  • it will ask if you are sure to delete the files in DropBox, take risk and say yes
  • to uninstall DropBox: close it (from the top right menu), and from the Activity Monitor kill all the DropBox processes still running. Then you can drag the application icon to the trask
  • in Finder, search for DropBox, you will still find a folder in your profile; delete it
On the PC:
  • run both the DropBox and OneDrive sync
  • open 1Password, it will automatically ask to open the vault from another source; choose the OneDrive folder
  • uninstall DropBox
  • search for all the DropBox folders and delete them (this can require the reboot of the computer)
On the iPhone/iPad:
  • so far you can't use directly the OneDrive folder, so you need to use wifi sync
  • from the Mac, Preferences | Wifi Server, check "Run a Wi-Fi server trom this Mac"
  • from the iPhone/iPad, start 1Password and dismiss the message about DropBox
  • from Settings | Sync | Start Syncing | Sync using Wi-Fi, select your Mac and enter the secret phrase from the Mac, then finally you can "Sync Now"

Xamarin: how to use OneDrive and TFS or Visual Studio Online on a Mac

For Xamarin projects on a Mac, you can share source files with cloud based file sharing systems like OneDrive, or use source versioning systems like TFS or Visual Studio Online.

If you want to use OneDrive, you need to download it from the Mac AppStore. Here there is the direct link.
Once you setup OneDrive, as usual you can choose what folder to sync. Maybe for a Mac you don't want to sync everything, but only a folder used to share files with the PC for the Xamarin projects.
In case you want to change the synced folders, you can access the OneDrive preferences menu from the top right of your screen.
Important is not to forget in the OneDrive preferences to check "Open at login".
The advantage of this solution is that it is simple and doesn't require any additional software (apart from the OneDrive client itself), but impractical in enterprise scenarios, because you don't keep your TFS folders synced in in OneDrive.

In the second case, using TFS or Visual Studio Online, how do you do it? I recap here the updated steps to use TFS or Visual Studio Online on a Mac:
  • download Eclipse from www.eclipse.org/downloads (I have chosen the version "Eclipse IDE for Java EE Developers"), then after opening the zip file, move it to the Applications folder in Finder;
  • start the application
  • then it will ask for the workspace, accept the default path and check "Use this as the default and do not ask again"
  • go to the Team Explorer Everywhere 2015 plugin and select TFSEclipsePlugin-UpdateSiteArchive-14.0.1.zip; if the download doesn't start automatically, the direct link is here);
  • after the download, right click on the file, Open, to uncompress it;
  • from the Help menu (on Mac, it is on top of the screen...), Install New Software, Add button, Local button, select the folder named "TFSEclicsePlugin..." created at the previous step, then Next, Next, accept the licence terms, Finish
  • in Eclipse, Window | Show View | Other, select Team Foundation Server | Team Explorer
  • now click on "Connect to Team Foundation Server" or "Sign up for Visual Studio Online", based on your case; then provide the connection information, and select the project you want to connect
  • finally create a workspace in the workspace folder created previously (when you have installed Eclipse, anyway it should be in the user documents folder), then get all the files

From Xamarin Studio on Mac, it's now possible to open the solution from the workspace folder whose files have just been retrieved.

For this blog post I've used references from:

SharePoint 2010: access with Safari in iOS 8

Because of a problem in the OOTB browser definitions in .NET 2, carried up to .NET 3.5, iPhone with iOS 8 are not correctly recognized as mobile devices in SharePoint 2010.

The problem is described in iOS 8 / Safari 8 not working with ASP.NET AJAX-Extensions, but the solution in that article is not complete, as it fixes the JavaScript issue but not the mobile capabilities.

So I have merged that solution with the iPhone capabilities in the OOTB browsers definitions, getting the content of the new file that you can download here: iOS8.browser