{"id":30441727,"url":"https://github.com/abock/embeddedxamarinmac","last_synced_at":"2026-02-16T01:47:30.799Z","repository":{"id":27551366,"uuid":"31033084","full_name":"abock/EmbeddedXamarinMac","owner":"abock","description":null,"archived":false,"fork":false,"pushed_at":"2016-01-18T13:27:08.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-05T08:52:12.087Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-19T19:39:45.000Z","updated_at":"2021-06-01T10:48:24.000Z","dependencies_parsed_at":"2022-09-02T11:12:01.501Z","dependency_job_id":null,"html_url":"https://github.com/abock/EmbeddedXamarinMac","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abock/EmbeddedXamarinMac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abock%2FEmbeddedXamarinMac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abock%2FEmbeddedXamarinMac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abock%2FEmbeddedXamarinMac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abock%2FEmbeddedXamarinMac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abock","download_url":"https://codeload.github.com/abock/EmbeddedXamarinMac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abock%2FEmbeddedXamarinMac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29498345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T01:11:49.942Z","status":"ssl_error","status_checked_at":"2026-02-16T01:07:16.834Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-23T07:11:07.443Z","updated_at":"2026-02-16T01:47:30.782Z","avatar_url":"https://github.com/abock.png","language":"Objective-C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Embedded Xamarin.Mac Sample\n\nThis is a simple sample demonstrating how to embed Mono and Xamarin.Mac into\nan existing native Mac application.\n\n_Note: **this scenario is not supported by Xamarin**._\n\nThe embedding scenario is useful for applications which were traditionally\nnative applications that desire to over time port to C#/Xamarin.Mac or\nnative applications that wish to provide \"plugin\" support for .NET languages.\n\nIn these cases, the host application retains its normal startup behavior,\nand manually initializes both the Mono and Xamarin.Mac runtimes. This\ninitialization is typically performed by normal Xamarin.Mac applications as\npart of the normal build process, but must be done manually for embedders.\n\nThe two runtimes consist of:\n\n* **Mono:** a .NET runtime\n* **Xamarin.Mac:** a bridge between Objective-C frameworks such as AppKit,\n  and Mono, allowing .NET applications to benefit from native platform\n  functionality\n\nBoth runtimes should be dynamically linked into the host application.\n\n## Build Configuration\n\nWhether or not your build is configured through Xcode or manually on the\ncommand line (e.g. Makefiles), the following paths are important for building\nand linking:\n\n### Include path:\n\n* `/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/include/xamarin`\n\n### Linking:\n\n* `/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/libmono-2.0.dylib` **or** the `libmono-2.0.dylib` produced from a custom build\n* `/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/libxammac.dylib`\n\n## Building and Running the Sample\n\n\tmake\n\tmake run\n\nNote that the toplevel Makefile in this repository is mostly a wrapper around\n`xcodebuild`. You can open `EmbeddedXamarinMac.xcodeproj` in Xcode and build/\nrun like normal.\n\nThe Xcode project will invoke `make plugin` to actually compile the C#\nproject and bundle the necessary assemblies and native libraries into the\nresulting native `EmbeddedXamarinMac.app`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabock%2Fembeddedxamarinmac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabock%2Fembeddedxamarinmac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabock%2Fembeddedxamarinmac/lists"}