From dd7ec0d1ad93c78a9c07c4df0e417c66f3fcd717 Mon Sep 17 00:00:00 2001 From: Florian Scholz Date: Fri, 7 Aug 2026 09:02:01 +0200 Subject: [PATCH 1/2] Set WKAppBoundDomains for collector.openwebdocs.org --- CanIWKWebView/CanIWKWebView.entitlements | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CanIWKWebView/CanIWKWebView.entitlements b/CanIWKWebView/CanIWKWebView.entitlements index 0c67376..c5b9aa4 100644 --- a/CanIWKWebView/CanIWKWebView.entitlements +++ b/CanIWKWebView/CanIWKWebView.entitlements @@ -1,5 +1,10 @@ - + + WKAppBoundDomains + + collector.openwebdocs.org + + From 5507e0e3f4471d89d3b8d96a56cc07c13d38075b Mon Sep 17 00:00:00 2001 From: Niklas Merz Date: Fri, 14 Aug 2026 11:16:23 +0200 Subject: [PATCH 2/2] build magic --- .gitattributes | 2 ++ CanIWKWebView.xcodeproj/project.pbxproj | 2 ++ CanIWKWebView/CanIWKWebView-Simulator.entitlements | 11 +++++++++++ CanIWKWebView/CanIWKWebView.entitlements | 4 ---- CanIWKWebView/CanIWKWebViewRelease.entitlements | 6 ++++++ 5 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 .gitattributes create mode 100644 CanIWKWebView/CanIWKWebView-Simulator.entitlements create mode 100644 CanIWKWebView/CanIWKWebViewRelease.entitlements diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f7613e7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.pbxproj merge=union +*.pbxproj binary diff --git a/CanIWKWebView.xcodeproj/project.pbxproj b/CanIWKWebView.xcodeproj/project.pbxproj index ad30266..6789f08 100644 --- a/CanIWKWebView.xcodeproj/project.pbxproj +++ b/CanIWKWebView.xcodeproj/project.pbxproj @@ -395,6 +395,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = CanIWKWebView/CanIWKWebView.entitlements; +"CODE_SIGN_ENTITLEMENTS[sdk=iphonesimulator*]" = CanIWKWebView/CanIWKWebView-Simulator.entitlements; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 101; @@ -443,6 +444,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; CODE_SIGN_ENTITLEMENTS = CanIWKWebView/CanIWKWebView.entitlements; +"CODE_SIGN_ENTITLEMENTS[sdk=iphonesimulator*]" = CanIWKWebView/CanIWKWebView-Simulator.entitlements; "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development"; CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = 101; diff --git a/CanIWKWebView/CanIWKWebView-Simulator.entitlements b/CanIWKWebView/CanIWKWebView-Simulator.entitlements new file mode 100644 index 0000000..cf2926a --- /dev/null +++ b/CanIWKWebView/CanIWKWebView-Simulator.entitlements @@ -0,0 +1,11 @@ + + + + + WKAppBoundDomains + + collector.openwebdocs.org + caniwebview.com + + + diff --git a/CanIWKWebView/CanIWKWebView.entitlements b/CanIWKWebView/CanIWKWebView.entitlements index c5b9aa4..423a6e2 100644 --- a/CanIWKWebView/CanIWKWebView.entitlements +++ b/CanIWKWebView/CanIWKWebView.entitlements @@ -2,9 +2,5 @@ - WKAppBoundDomains - - collector.openwebdocs.org - diff --git a/CanIWKWebView/CanIWKWebViewRelease.entitlements b/CanIWKWebView/CanIWKWebViewRelease.entitlements new file mode 100644 index 0000000..6631ffa --- /dev/null +++ b/CanIWKWebView/CanIWKWebViewRelease.entitlements @@ -0,0 +1,6 @@ + + + + + +