Xamarin(ザマリン)とは、2011年5月、Mono、MonoTouch、Mono for Androidの開発者により設立された企業である[2]。これら3つのソフトウェアは、共通言語基盤 (Common Language Infrastructure; CLI) 並びに共通言語仕様 (Common Language Specifications; CLS) のクロスプラットフォーム実装である(CLIとCLSを合わせたものはMicrosoft .NETと同等の環境である)。すなわち、それぞれLinuxなどのUnix系オペレーティングシステム (OS) やMicrosoft WindowsiPhoneなどのiOSAndroid上で動作する.NET環境である。

Xamarin
種類
マイクロソフトの子会社
業種 ソフトウェア企業
設立 2011年5月 (2011-05)
本社
主要人物
ミゲル・デ・イカザナット・フリードマン[1]
親会社 マイクロソフト
ウェブサイト dotnet.microsoft.com/apps/xamarin

また、これらのライブラリおよびフレームワークのことをXamarinと呼ぶこともある[3]

Xamarinのサポートは2024年5月1日で終了[4]。(後継は、.NET MAUI英語版)

コンポーネント 編集

Xamarinには各プラットフォーム固有のAPIやGUIツールキットを.NET向けにラッピングしたコンポーネントと、完全にクロスプラットフォーム化されたコンポーネントの両方が存在する。

  • Xamarin.Forms - XAMLベースのクロスプラットフォームなGUIアプリケーションフレームワーク。
  • Xamarin.iOS - iOS用。旧称MonoTouch。
  • Xamarin.Android - Android用。
  • Xamarin.Mac - macOS用。Visual Studio for Macにて利用可能。

名前の由来 編集

Xamarinの設立者のひとりであるミゲル・デ・イカザは、会社設立時のインタビューにおいて、Xamarinの名前はタマリンという猿に由来すると述べている[5][6][7]

歴史 編集

2000年6月、マイクロソフト.NET Frameworkをはじめて公表した[8]Ximianミゲル・デ・イカザはこのLinux版が実現可能か調査を開始した [9]。その後、2001年6月19日Monoというオープンソースプロジェクトが立ち上げられた。MonoをサポートしていたXimianは2003年8月4日ノベルにより買収された。

2011年4月のAttachmate英語版によるノベルの買収ののち、Attachmateは数百名にも上るノベル従業員のレイオフを発表した。この中にはMonoの開発者が含まれていた[10]。Attachmateが同開発者をレイオフした理由として、同社がMonoの将来性を疑問視しているとの声が挙がっている[11][12]

同年5月16日、ミゲルは彼のブログにて、Monoを新しい企業Xamarinで開発ならびにサポートすると発表した。Xamarinは携帯電話(モバイル)製品に関する新しいソフトウェア・スイートを公開する計画を立てていると彼は述べている。デ・イカザによると、少なくとも、オリジナルのMonoチームの一部分は新しい企業へと移籍した[2]

この発表ののち、プロジェクトの将来性について疑問が持たれた。MonoTouchとMono for Androidは現在Attachmateにより保持されている商用製品と直接競合する点、ならびに以前ノベルに雇用されている間に開発したテクノロジーを同一の著作物に対し利用していないことを証明するのが困難である点である[13][14][15]。しかしながら、2011年7月、現在はAttachmateの買収が完了し子会社となったノベル、そしてXamarinとの間で、XamarinへMono、MonoTouch、Mono for Androidに関連する全ての知的財産権ならびに各プロジェクトの管理権を公式に引き渡すという内容を含む永続的ライセンス契約を締結したと両社が発表した[16][17][18][19]

2016年2月24日、Xamarinはマイクロソフトによる買収に合意したと発表した[20]

製品 編集

Xamarinの統合開発環境としては、クロスプラットフォームかつオープンソースのMonoDevelop(バージョン4.0からはXamarin Studioに改称)が利用されていた。

2013年11月、Xamarin社はMicrosoft Visual Studio 2013と統合可能な、最新のXamarinプラットフォームを発表した。この製品を使用することで、.NET言語(主にC#, VB.NET)を用いて、Windows上のVisual StudioでiOS/Androidアプリケーションのクロスプラットフォーム開発が可能となった。以前のバージョンでは、iOSについてはユーザーインターフェイスの定義にXcodeが必要など、制限が大きかったが、このバージョンではVisual Studio 2013上でほぼ実装が完結する(Windows環境にはiOSエミュレーターが存在しないため、デバッグにはiPhone等の実機かMacが必要[21])。 この製品は、マイクロソフトカンファレンス2013でも大々的に取り上げられ、クロスプラットフォーム開発に関心のあるデベロッパーの関心を引くこととなった。

なお、Visual Studio for Macは、macOS版のXamarin Studioがベースとなっている。

クロスプラットフォームなUIフレームワークであるXamarin.Formsは、.NET Multi-platform App UI (.NET MAUI) として.NETに統合される予定である。当初は.NET 6の正式リリースと同時に一般公開される予定だった[22]が、2021年11月の.NET 6正式リリースには間に合わなかった。.NET MAUIでは、名前空間がXamarin.FormsからMicrosoft.Mauiなどに変更されているため、既存のXamarin.Formsコードを.NET MAUIに移行するには、アップグレードアシスタントなどを利用して修正する必要がある[23]

脚注 編集

  1. ^ Nat Friedman (2011年5月25日). “Xamarin”. 2011年5月25日閲覧。
  2. ^ a b Miguel de Icaza (2011年5月16日). “Announcing Xamarin”. 2011年5月16日閲覧。 “Now, two weeks later, we have a plan in place, which includes both angel funding for keeping the team together, as well as a couple of engineering contracts that will help us stay together as a team while we ship our revenue generating products
  3. ^ Xamarin App Development with Visual Studio | Visual Studio
  4. ^ Xamarin 公式サポートポリシー | .NET”. Microsoft. 2023年3月18日閲覧。
  5. ^ Interview with Miguel de Icaza: Xamarin, Attachmate Layoffs, Future of Mono, More (ADTMAG)
  6. ^ 特集:Visual StudioとXamarinで始めるiOS/Android/UWPアプリ開発:第1回:Xamarinでアプリを作ろう (@IT)
  7. ^ Xamarin Monkeyの歴史を振り返る - ものがたり
  8. ^ Steven Bonisteel (2000年6月23日). “Microsoft sees nothing but .NET ahead”. ZDNet Asia. 2011年6月14日閲覧。
  9. ^ [Mono-list] Mono early history.” (2003年10月13日). 2011年6月14日閲覧。
  10. ^ Koep, Paul (2011年5月2日). “Employees say hundreds laid off at Novell's Provo office”. KSL-TV. 2011年5月7日閲覧。
  11. ^ J. Vaughan-Nichols, Steven (2011年5月4日). “Is Mono dead? Is Novell dying?”. ZDNet. 2011年5月7日閲覧。
  12. ^ Clarke, Gavin (2011年5月3日). “.NET Android and iOS clones stripped by Attachmate”. ザ・レジスター英語版. 2011年5月7日閲覧。
  13. ^ Jonathan Allen (2011年5月17日). “The Death and Rebirth of Mono”. infoq.com. 2011年5月29日閲覧。 “Even if they aren’t supporting it, they do own a product that is in direct competition with Xamarin’s future offerings. Without some sort of legal arrangement between Attachmate and Xamarin, the latter would face the daunting prospect of proving that their new development doesn’t use any the technology that the old one did. Considering that this is really just a wrapper around the native API, it would be hard to prove you had a clean-room implementation even for a team that wasn’t intimately familiar with Attachmate’s code.
  14. ^ Jonathan Allen、南伸二 (2011年5月17日). “Monoの死と再生”. infoq.com. 2011年5月29日閲覧。 “彼らはそれをサポートしようとしていないとはいえ、彼らはXamarinが将来提供しようとするものと直接に競合する製品を所有している。AttachmateとXamarinの間に何らかの法的な調整なければ、後者はその新しい開発が以前の開発によってもたらされたいかなる技術も利用していないと証明する必要があり、その見通しは悲観的だ。これが実際には単なるネイティブAPIのラッパーであることを考慮すると、Attachmateのコードを熟知しているわけではないチームにとってもクリーンルーム実装を持っていると証明することは難しいだろう。
  15. ^ Matthew Baxter-Reynolds (2011年7月5日). “What now for cross-platform mobile C#?”. The Guardian. 2011年7月15日閲覧。 “But with a total lack of clarity as to whether Novell will allow Xamarin to sell their new products, or whether agreements exist to facilitate such a scenario, we're left in an unpleasant world of not having a compelling or workable solution for compromise free, multi-platform development.
  16. ^ SUSE and Xamarin Partner to Accelerate Innovation and Support Mono Customers and Community”. Novell. www.novell.com (2011年7月18日). 2011年7月18日閲覧。
  17. ^ De Icaza, Miguel (2011年7月18日). “Novell/Xamarin Partnership around Mono”. 2011年7月18日閲覧。
  18. ^ SUSE and Xamarin Partner to Accelerate Innovation and Support Mono Customers and Community”. PR Newswire英語版. www.prnewswire.com (2011年7月18日). 2011年7月19日閲覧。 “The agreement grants Xamarin a broad, perpetual license to all intellectual property covering Mono, MonoTouch, Mono for Android and Mono Tools for Visual Studio. Xamarin will also provide technical support to SUSE customers using Mono-based products, and assume stewardship of the Mono open source community project.”
  19. ^ 末岡洋子 (2011年7月19日). “Mono開発者を擁する米XamarinがSUSEと提携、Mono関連のライセンスを取得。今後MonoのサポートはXamarinが提供へ”. OSDN. OSDN. 2011年7月19日閲覧。
  20. ^ A Xamarin + Microsoft Future” (2016年2月24日). 2016年3月12日時点のオリジナルよりアーカイブ。2016年3月12日閲覧。
  21. ^ Visual StudioでiOS/Androidアプリが書けるXamarinを試してみた(iOS編) - Build Insider
  22. ^ .NET MAUIがPreview 8をリリース、しかしGAは2022年Q2に延期
  23. ^ Migrate your app from Xamarin.Forms to .NET MAUI - .NET MAUI | Microsoft Docs

外部リンク 編集