Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
rolfbjarne / projects-inventory.csv
Created October 21, 2026 11:37
Xamarin native Apple sample inventory and proposed dispositions for dotnet/macios#20212 (2026-10-20)
repository sample project action target_framework source_url
xamarin/ios-samples AdaptiveElements AdaptiveElements/AdaptiveElements/AdaptiveElements.csproj Consolidate Legacy project https://github.com/xamarin/ios-samples/blob/7c2a7738e025e471fdfae46cdabda988526d22a4/AdaptiveElements/AdaptiveElements/AdaptiveElements.csproj
xamarin/ios-samples AirLocate AirLocate/AirLocate/AirLocate.csproj Port Legacy project https://github.com/xamarin/ios-samples/blob/7c2a7738e025e471fdfae46cdabda988526d22a4/AirLocate/AirLocate/AirLocate.csproj
xamarin/ios-samples Appearance Appearance/Appearance/Appearance.csproj Port Legacy project https://github.com/xamarin/ios-samples/blob/7c2a7738e025e471fdfae46cdabda988526d22a4/Appearance/Appearance/Appearance.csproj
xamarin/ios-samples ApplicationFundamentals/FingerPaint ApplicationFundamentals/FingerPaint/FingerPaint/FingerPaint.csproj Consolidate Legacy project https://github.com/xamarin/ios-samples/blob/7c2a7738e025e471fdfae46cdabda988526d22a4/ApplicationFundamentals/FingerPain
@rolfbjarne
rolfbjarne / AppDelegate.cs
Last active October 19, 2026 10:08
dotnet/macios#10562: .NET 10 iOS reproduction (Copilot-assisted)
using Foundation;
using UIKit;
namespace sample
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to application events from iOS.
[Register("AppDelegate")]
public class AppDelegate : UIResponder, IUIApplicationDelegate
{
@rolfbjarne
rolfbjarne / Entitlements.plist
Created September 15, 2026 09:26
dotnet/macios hardened runtime ad-hoc signing repro
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) Microsoft Corporation. -->
<!-- Licensed under the MIT License. -->
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.app-sandbox</key>
<true/>
</dict>
</plist>
@rolfbjarne
rolfbjarne / plan.md
Created July 22, 2026 15:35
dotnet/macios #16678 - Linker attribute removal analysis and implementation plan

Issue #16678: removable linker attributes

Goal

Reduce linked application size by removing macios platform-assembly custom attributes once every build-time and runtime consumer has finished with them. Except for attributes proven safe to remove unconditionally, only remove attributes when assembly preparation and post-processing are both enabled with the trimmable-static registrar.

Findings

There are three existing removal mechanisms:

@rolfbjarne
rolfbjarne / cluster_A_result.md
Last active July 9, 2026 13:58
dotnet/macios #3590 — Span<T> API survey (candidate identification) @ commit 8111cb6c

Cluster A — Span API Survey Report

Below is the complete markdown for cluster_A_result.md. Since no file-write tool is available in this environment, the content is returned here for the main agent to persist.


Cluster A

Frameworks surveyed: CoreFoundation, CoreGraphics, CoreText, CoreMedia, CoreVideo, CoreImage, CoreAnimation. Total candidate APIs evaluated: ~80 (grouped from 131 raw lines).

$ curl https://api.openai.com/v1/completions -H "Content-Type: application/json" -H "Authorization: Bearer $API_KEY" -d '{"model": "text-davinci-003", "prompt": "Is this an inclusive code review comment: this is very good code!", "temperature": 0, "max_tokens": 70}'
{
"id": "cmpl-6dKMNKwvoYSF8SLD5Y2HSDakDZgqz",
"object": "text_completion",
"created": 1674831075,
"model": "text-davinci-003",
"choices":
[
{
rolf@ ~/test/bundlestructure $ dotnet new macos
The template "macOS Application" was created successfully.
rolf@ ~/test/bundlestructure $ dotnet build
MSBuild version 17.4.0+18d5aef85 for .NET
Determining projects to restore...
Restored /Users/rolf/test/bundlestructure/bundlestructure.csproj (in 119 ms).
Detected signing identity:
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/Microsoft.Win32.Primitives.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/Microsoft.Win32.Registry.AccessControl.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/Microsoft.Win32.Registry.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/netstandard.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/System.AppContext.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/System.Collections.Concurrent.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/System.Collections.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/System.Collections.NonGeneric.dll
_mac-build//Library/Frameworks/Xamarin.Mac.framework/Versions/git/lib/mono/4.5/Facades/System.Co

Keybase proof

I hereby claim:

  • I am rolfbjarne on github.
  • I am rolfbjarne (https://keybase.io/rolfbjarne) on keybase.
  • I have a public key ASB7VNis2wnoySoHWAdAvJrPhgkKoQbmAqm7EzKePxO9CAo

To claim this, I am signing this object:

diff --git a/Make.config b/Make.config
index 57462c6..ba5f835 100644
--- a/Make.config
+++ b/Make.config
@@ -79,6 +79,7 @@ TVOS_SDK_VERSION=10.0
MIN_IOS_SDK_VERSION=6.0
MIN_OSX_SDK_VERSION=10.7
MIN_WATCHOS_SDK_VERSION=2.0
+MIN_WATCH_OS_VERSION=1.0
MIN_TVOS_SDK_VERSION=9.0