Closed twop closed 3 years ago
This works fine for me
2021-06-03 12:52:28.733 openURLsTest[36427:6974603]
Unhandled Exception:
System.Exception: opened with: myscheme://x-callback-url/ok-29?notes=%5B%7B%22creationDate%22:%222021-02-08T22:46:07Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22GraphQL:%20Persistent%20queries%22,%22modificationDate%22:%222021-05-30T02:27:35Z%22,%22identifier%22:%22F809C00E-C630-4103-8CE2-75E8A5B57C17-7586-00000073F73ACDED%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-18T22:10:14Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Ideas%20about%20%E2%80%9CApplause%E2%80%9D%22,%22modificationDate%22:%222021-05-29T03:49:55Z%22,%22identifier%22:%22A25B496C-1B61-48F2-904D-2C8644B77534-684-00044B0C41ABBD1B%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-17T00:43:00Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22Notes%20on%20Relay%22,%22modificationDate%22:%222021-05-29T03:49:33Z%22,%22identifier%22:%224F439D2B-CCEB-4A06-A70F-973D7755D314-684-0000405C0C7C6DA7%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-07T22:40:33Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Using%20Expo%20OTA%20Updates%20in%20your%20React%20Native%20app%20-%20Eric%20Samelson%20at%20@ReactEurope%202020%22,%22modificationDate%22:%222021-05-29T03:48:14Z%22,%22identifier%22:%22E38B032C-6D05-4411-8F30-A6D9F9D88891-6153-000037E750825478%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-02-04T19:55:30Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/interview%5C%22%5D%22,%22title%22:%22Interview:%20John%20Aaaaaw%22,%22modificationDate%22:%222021-02-04T22:08:51Z%22,%22identifier%22:%22984C732B-9524-47A2-B037-B5AC1E0FB630-1257-000037723BFCE52F%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-11T23:55:03Z%22,%22tags%22:%22%5B%5C%22work%5C%5C%5C/snippet%5C%22,%5C%22work%5C%22%5D%22,%22title%22:%22mergeStyle%20measurement%20snippet%22,%22modificationDate%22:%222021-01-11T23:55:49Z%22,%22identifier%22:%22511D8BA3-8F32-4903-A753-6F2FC800999E-684-0003BFAD379B9F3A%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-08T17:22:18Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22Why%20I%20think%20we%20should%20try%20GraphQL%20+%20Relay%22,%22modificationDate%22:%222021-01-08T22:11:18Z%22,%22identifier%22:%22595D43B5-61F0-45E4-9C80-749C65CAC0E4-6446-00000DE50B164688%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-06T20:00:23Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/interview%5C%22%5D%22,%22title%22:%22Eli%20feedback%22,%22modificationDate%22:%222021-01-06T20:15:16Z%22,%22identifier%22:%22345A38F5-D4AB-4D16-A466-6B0CC111475C-684-00036BB37B539ED0%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-18T21:06:16Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22QA-Dev%20Workflow%20with%20Over%20The%20Air%20(OTA)%20Updates%20for%20iOS%20and%20Android%20apps%22,%22modificationDate%22:%222020-12-29T23:14:01Z%22,%22identifier%22:%2240C3448F-5822-4A2B-A108-F680DDB385D6-3046-00000559782829EF%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-16T20:02:17Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Performance%20investigations%5C/ideas%22,%22modificationDate%22:%222020-12-16T21:59:41Z%22,%22identifier%22:%2208D7BDB2-8DDB-4AFF-A52F-EFEF4BC57DAA-684-0000328053EB78E4%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-09T22:27:37Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22PWA%22,%22modificationDate%22:%222020-12-11T01:05:30Z%22,%22identifier%22:%227BF9853A-11ED-4CC5-89A7-556DA2F9A199-8929-00000CE134191AEE%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-11T00:15:03Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Make%20sesssionlive.com%20Progressive%20Web%20App%22,%22modificationDate%22:%222020-12-11T00:46:43Z%22,%22identifier%22:%2232F3142E-BCE2-42FB-B571-B3DD3B9837DD-1162-000001782F40AC2C%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-08T01:00:12Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Over%20the%20air%20updates%22,%22modificationDate%22:%222020-12-08T02:27:13Z%22,%22id
at openURLsTest.AppDelegate.OpenUrls (AppKit.NSApplication application, Foundation.NSUrl[] urls) [0x00001] in /Users/poupou/Downloads/openURLsTest/AppDelegate.cs:26
at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string[])
at AppKit.NSApplication.Main (System.String[] args) [0x00040] in /Users/poupou/git/main/xamarin-macios/src/AppKit/NSApplication.cs:109
at openURLsTest.MainClass.Main (System.String[] args) [0x00007] in /Users/poupou/Downloads/openURLsTest/Main.cs:10
[ERROR] FATAL UNHANDLED EXCEPTION: System.Exception: opened with: myscheme://x-callback-url/ok-29?notes=%5B%7B%22creationDate%22:%222021-02-08T22:46:07Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22GraphQL:%20Persistent%20queries%22,%22modificationDate%22:%222021-05-30T02:27:35Z%22,%22identifier%22:%22F809C00E-C630-4103-8CE2-75E8A5B57C17-7586-00000073F73ACDED%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-18T22:10:14Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Ideas%20about%20%E2%80%9CApplause%E2%80%9D%22,%22modificationDate%22:%222021-05-29T03:49:55Z%22,%22identifier%22:%22A25B496C-1B61-48F2-904D-2C8644B77534-684-00044B0C41ABBD1B%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-17T00:43:00Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22Notes%20on%20Relay%22,%22modificationDate%22:%222021-05-29T03:49:33Z%22,%22identifier%22:%224F439D2B-CCEB-4A06-A70F-973D7755D314-684-0000405C0C7C6DA7%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-07T22:40:33Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Using%20Expo%20OTA%20Updates%20in%20your%20React%20Native%20app%20-%20Eric%20Samelson%20at%20@ReactEurope%202020%22,%22modificationDate%22:%222021-05-29T03:48:14Z%22,%22identifier%22:%22E38B032C-6D05-4411-8F30-A6D9F9D88891-6153-000037E750825478%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-02-04T19:55:30Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/interview%5C%22%5D%22,%22title%22:%22Interview:%20John%20Aaaaaw%22,%22modificationDate%22:%222021-02-04T22:08:51Z%22,%22identifier%22:%22984C732B-9524-47A2-B037-B5AC1E0FB630-1257-000037723BFCE52F%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-11T23:55:03Z%22,%22tags%22:%22%5B%5C%22work%5C%5C%5C/snippet%5C%22,%5C%22work%5C%22%5D%22,%22title%22:%22mergeStyle%20measurement%20snippet%22,%22modificationDate%22:%222021-01-11T23:55:49Z%22,%22identifier%22:%22511D8BA3-8F32-4903-A753-6F2FC800999E-684-0003BFAD379B9F3A%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-08T17:22:18Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22Why%20I%20think%20we%20should%20try%20GraphQL%20+%20Relay%22,%22modificationDate%22:%222021-01-08T22:11:18Z%22,%22identifier%22:%22595D43B5-61F0-45E4-9C80-749C65CAC0E4-6446-00000DE50B164688%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-06T20:00:23Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/interview%5C%22%5D%22,%22title%22:%22Eli%20feedback%22,%22modificationDate%22:%222021-01-06T20:15:16Z%22,%22identifier%22:%22345A38F5-D4AB-4D16-A466-6B0CC111475C-684-00036BB37B539ED0%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-18T21:06:16Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22QA-Dev%20Workflow%20with%20Over%20The%20Air%20(OTA)%20Updates%20for%20iOS%20and%20Android%20apps%22,%22modificationDate%22:%222020-12-29T23:14:01Z%22,%22identifier%22:%2240C3448F-5822-4A2B-A108-F680DDB385D6-3046-00000559782829EF%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-16T20:02:17Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Performance%20investigations%5C/ideas%22,%22modificationDate%22:%222020-12-16T21:59:41Z%22,%22identifier%22:%2208D7BDB2-8DDB-4AFF-A52F-EFEF4BC57DAA-684-0000328053EB78E4%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-09T22:27:37Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22PWA%22,%22modificationDate%22:%222020-12-11T01:05:30Z%22,%22identifier%22:%227BF9853A-11ED-4CC5-89A7-556DA2F9A199-8929-00000CE134191AEE%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-11T00:15:03Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Make%20sesssionlive.com%20Progressive%20Web%20App%22,%22modificationDate%22:%222020-12-11T00:46:43Z%22,%22identifier%22:%2232F3142E-BCE2-42FB-B571-B3DD3B9837DD-1162-000001782F40AC2C%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-08T01:00:12Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Over%20the%20air%20updates%22,%22modificationDate%22:%222020-12-08T02:27:13Z%22,%22id
at openURLsTest.AppDelegate.OpenUrls (AppKit.NSApplication application, Foundation.NSUrl[] urls) [0x00001] in /Users/poupou/Downloads/openURLsTest/AppDelegate.cs:26
at (wrapper managed-to-native) AppKit.NSApplication.NSApplicationMain(int,string[])
at AppKit.NSApplication.Main (System.String[] args) [0x00040] in /Users/poupou/git/main/xamarin-macios/src/AppKit/NSApplication.cs:109
at openURLsTest.MainClass.Main (System.String[] args) [0x00007] in /Users/poupou/Downloads/openURLsTest/Main.cs:10
Xamarin.Mac offers bindings to Apple API. That's a thin layer of code that does not change the behaviour of the calls.
If there was a bug in the bound API I would expect both URLs to fail since nothing (in XM) is actually using the URL.
An URL could be invalid but then it would not work on your Swift app either...
I just double checked. I cannot repro it using swift in either of the APIs: swiftUI and AppDelegate. But can consistently repro in the repro project
Try opening Console.app
to see if the OS is writing anything in the logs...
Also you can try to see if the OS thinks the URL is valid by adding:
var u = NSUrl.FromString ("...");
and check that the retuned value is not null
. In theory this could vary by OS version and the current locale.
OTOH if it works for the swift apps then they should share the same environment (OS / locale) so...
@spouliot I did check the logs but found nothing, also I checked if NSUrl ca be constructed with this string, and yes it is not null.
No need for video, I believe you :)
Can you try starting it from the terminal, instead of the browser ?
open "myscheme://x-callback-url/ok-29?notes=%5B%7B%22creationDate%22:%222021-02-08T22:46:07Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22GraphQL:%20Persistent%20queries%22,%22modificationDate%22:%222021-05-30T02:27:35Z%22,%22identifier%22:%22F809C00E-C630-4103-8CE2-75E8A5B57C17-7586-00000073F73ACDED%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-18T22:10:14Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Ideas%20about%20%E2%80%9CApplause%E2%80%9D%22,%22modificationDate%22:%222021-05-29T03:49:55Z%22,%22identifier%22:%22A25B496C-1B61-48F2-904D-2C8644B77534-684-00044B0C41ABBD1B%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-17T00:43:00Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22Notes%20on%20Relay%22,%22modificationDate%22:%222021-05-29T03:49:33Z%22,%22identifier%22:%224F439D2B-CCEB-4A06-A70F-973D7755D314-684-0000405C0C7C6DA7%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-07T22:40:33Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Using%20Expo%20OTA%20Updates%20in%20your%20React%20Native%20app%20-%20Eric%20Samelson%20at%20@ReactEurope%202020%22,%22modificationDate%22:%222021-05-29T03:48:14Z%22,%22identifier%22:%22E38B032C-6D05-4411-8F30-A6D9F9D88891-6153-000037E750825478%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-02-04T19:55:30Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/interview%5C%22%5D%22,%22title%22:%22Interview:%20John%20Aaaaaw%22,%22modificationDate%22:%222021-02-04T22:08:51Z%22,%22identifier%22:%22984C732B-9524-47A2-B037-B5AC1E0FB630-1257-000037723BFCE52F%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-11T23:55:03Z%22,%22tags%22:%22%5B%5C%22work%5C%5C%5C/snippet%5C%22,%5C%22work%5C%22%5D%22,%22title%22:%22mergeStyle%20measurement%20snippet%22,%22modificationDate%22:%222021-01-11T23:55:49Z%22,%22identifier%22:%22511D8BA3-8F32-4903-A753-6F2FC800999E-684-0003BFAD379B9F3A%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-08T17:22:18Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22Why%20I%20think%20we%20should%20try%20GraphQL%20+%20Relay%22,%22modificationDate%22:%222021-01-08T22:11:18Z%22,%22identifier%22:%22595D43B5-61F0-45E4-9C80-749C65CAC0E4-6446-00000DE50B164688%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-06T20:00:23Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/interview%5C%22%5D%22,%22title%22:%22Eli%20feedback%22,%22modificationDate%22:%222021-01-06T20:15:16Z%22,%22identifier%22:%22345A38F5-D4AB-4D16-A466-6B0CC111475C-684-00036BB37B539ED0%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-18T21:06:16Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22QA-Dev%20Workflow%20with%20Over%20The%20Air%20(OTA)%20Updates%20for%20iOS%20and%20Android%20apps%22,%22modificationDate%22:%222020-12-29T23:14:01Z%22,%22identifier%22:%2240C3448F-5822-4A2B-A108-F680DDB385D6-3046-00000559782829EF%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-16T20:02:17Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Performance%20investigations%5C/ideas%22,%22modificationDate%22:%222020-12-16T21:59:41Z%22,%22identifier%22:%2208D7BDB2-8DDB-4AFF-A52F-EFEF4BC57DAA-684-0000328053EB78E4%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-09T22:27:37Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22PWA%22,%22modificationDate%22:%222020-12-11T01:05:30Z%22,%22identifier%22:%227BF9853A-11ED-4CC5-89A7-556DA2F9A199-8929-00000CE134191AEE%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-11T00:15:03Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Make%20sesssionlive.com%20Progressive%20Web%20App%22,%22modificationDate%22:%222020-12-11T00:46:43Z%22,%22identifier%22:%2232F3142E-BCE2-42FB-B571-B3DD3B9837DD-1162-000001782F40AC2C%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-08T01:00:12Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Over%20the%20air%20updates%22,%22modificationDate%22:%222020-12-08T02:27:13Z%22,%22id"
I don't 100% trust copy/paste from documents when there's potential for them to (mis)interpret some of the data
The same behavior: one triggers a breakpoint the other does not
Also I noticed that the url in your comment is not the same as the one in the repro steps, is that on purpose?
If it is any help I'm using M1 air and running Visual Studio (and the app) under Rosetta2. Could that be a root cause? I would assume no based on the fact that it works for the shorter URL
Also I noticed that the url in your comment is not the same as the one in the repro steps, is that on purpose?
I copied it from this issue description. Somehow it got cut... as my open
miss the last part.
I tried again with the original (description) and it still works for me.
open "myscheme://x-callback-url/ok-29?notes=%5B%7B%22creationDate%22:%222021-02-08T22:46:07Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22GraphQL:%20Persistent%20queries%22,%22modificationDate%22:%222021-05-30T02:27:35Z%22,%22identifier%22:%22F809C00E-C630-4103-8CE2-75E8A5B57C17-7586-00000073F73ACDED%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-18T22:10:14Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Ideas%20about%20%E2%80%9CApplause%E2%80%9D%22,%22modificationDate%22:%222021-05-29T03:49:55Z%22,%22identifier%22:%22A25B496C-1B61-48F2-904D-2C8644B77534-684-00044B0C41ABBD1B%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-17T00:43:00Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22Notes%20on%20Relay%22,%22modificationDate%22:%222021-05-29T03:49:33Z%22,%22identifier%22:%224F439D2B-CCEB-4A06-A70F-973D7755D314-684-0000405C0C7C6DA7%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-07T22:40:33Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Using%20Expo%20OTA%20Updates%20in%20your%20React%20Native%20app%20-%20Eric%20Samelson%20at%20@ReactEurope%202020%22,%22modificationDate%22:%222021-05-29T03:48:14Z%22,%22identifier%22:%22E38B032C-6D05-4411-8F30-A6D9F9D88891-6153-000037E750825478%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-02-04T19:55:30Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/interview%5C%22%5D%22,%22title%22:%22Interview:%20John%20Aaaaaw%22,%22modificationDate%22:%222021-02-04T22:08:51Z%22,%22identifier%22:%22984C732B-9524-47A2-B037-B5AC1E0FB630-1257-000037723BFCE52F%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-11T23:55:03Z%22,%22tags%22:%22%5B%5C%22work%5C%5C%5C/snippet%5C%22,%5C%22work%5C%22%5D%22,%22title%22:%22mergeStyle%20measurement%20snippet%22,%22modificationDate%22:%222021-01-11T23:55:49Z%22,%22identifier%22:%22511D8BA3-8F32-4903-A753-6F2FC800999E-684-0003BFAD379B9F3A%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-08T17:22:18Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/graphQL%5C%22%5D%22,%22title%22:%22Why%20I%20think%20we%20should%20try%20GraphQL%20+%20Relay%22,%22modificationDate%22:%222021-01-08T22:11:18Z%22,%22identifier%22:%22595D43B5-61F0-45E4-9C80-749C65CAC0E4-6446-00000DE50B164688%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222021-01-06T20:00:23Z%22,%22tags%22:%22%5B%5C%22work%5C%22,%5C%22work%5C%5C%5C/interview%5C%22%5D%22,%22title%22:%22Eli%20feedback%22,%22modificationDate%22:%222021-01-06T20:15:16Z%22,%22identifier%22:%22345A38F5-D4AB-4D16-A466-6B0CC111475C-684-00036BB37B539ED0%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-18T21:06:16Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22QA-Dev%20Workflow%20with%20Over%20The%20Air%20(OTA)%20Updates%20for%20iOS%20and%20Android%20apps%22,%22modificationDate%22:%222020-12-29T23:14:01Z%22,%22identifier%22:%2240C3448F-5822-4A2B-A108-F680DDB385D6-3046-00000559782829EF%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-16T20:02:17Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Performance%20investigations%5C/ideas%22,%22modificationDate%22:%222020-12-16T21:59:41Z%22,%22identifier%22:%2208D7BDB2-8DDB-4AFF-A52F-EFEF4BC57DAA-684-0000328053EB78E4%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-09T22:27:37Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22PWA%22,%22modificationDate%22:%222020-12-11T01:05:30Z%22,%22identifier%22:%227BF9853A-11ED-4CC5-89A7-556DA2F9A199-8929-00000CE134191AEE%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-11T00:15:03Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Make%20sesssionlive.com%20Progressive%20Web%20App%22,%22modificationDate%22:%222020-12-11T00:46:43Z%22,%22identifier%22:%2232F3142E-BCE2-42FB-B571-B3DD3B9837DD-1162-000001782F40AC2C%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-08T01:00:12Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Over%20the%20air%20updates%22,%22modificationDate%22:%222020-12-08T02:27:13Z%22,%22identifier%22:%226FC21CC9-113C-43BA-9417-5972C32B8177-1162-000000CECA08EBC7%22,%22pin%22:%22no%22%7D,%7B%22creationDate%22:%222020-12-07T22:16:10Z%22,%22tags%22:%22%5B%5C%22work%5C%22%5D%22,%22title%22:%22Over%20the%20air%20updates%20for%20ReactNative%20(iOS%20+%20Android)%22,%22modificationDate%22:%222020-12-08T00:59:52Z%22,%22identifier%22:%22B74C4204-BC66-433D-871F-E340B68E8443-6153-00003692C1D393D6%22,%22pin%22:%22no%22%7D%5D&"
If it is any help I'm using M1 air and running Visual Studio (and the app) under Rosetta2.
I'm using a MBP w/M1 (rosetta) on macOS 11.4.
Im on. 11.2.3. Updating now to 11.4. Will report back
Reporting back: 11.4 did fix the problem. Now I cannot repro it either.
That solves my particular problem but it makes me worried about how brittle it can be. Any ideas about possible root cause?
Reporting back: 11.4 did fix the problem. Now I cannot repro it either.
I'm really surprised... I did not expect your update to solve this.
Any ideas about possible root cause?
Sadly no :(
It might be a Rosetta bug... that was fixed in 11.4 (easy to test). At least that would explain why the Swift version worked (as I guess it was built for arm64
).
Steps to Reproduce
OpenUrls(NSApplication application, NSUrl[] urls)
the other does notmyscheme
scheme is registered by the repro appbadURL This one does not trigger OpenURLs
goodURL This one does trigger OpenURLs
Expected Behavior
Both URLs work. Note that I checked the same URLS on swift project and it has no issues
Actual Behavior
The "badURL" causes the app to go into foreground but doesn't trigger
OpenUrls
Environment
Build Logs
Building openURLsTest (Debug) Build started 6/2/2021 5:25:48 PM.
Project "/Users/twop/Projects/openURLsTest/openURLsTest.csproj" (Build target(s)):
Target _BeforeCoreCompileImageAssets: Deleting file "obj/Debug/actool/_PartialAppManifest.items". Deleting file "obj/Debug/actool/_BundleResourceWithLogicalName.items". Removing directory "obj/Debug/actool". Target _DetectSigningIdentity: Detected signing identity:
Target _CoreCompileImageAssets: Tool arch execution started with arguments: -arch arm64e /usr/bin/xcrun actool --errors --warnings --notices --output-format xml1 --output-partial-info-plist /Users/twop/Projects/openURLsTest/obj/Debug/actool/partial-info.plist --app-icon AppIcon --minimum-deployment-target 10.14 --platform macosx --compile /Users/twop/Projects/openURLsTest/obj/Debug/actool/bundle /Users/twop/Projects/openURLsTest/obj/Debug/actool/cloned-assets/Assets.xcassets
Target _BeforeCoreCompileInterfaceDefinitions: Skipping target "_BeforeCoreCompileInterfaceDefinitions" because all output files are up-to-date with respect to the input files. Target _CoreCompileInterfaceDefinitions: Skipping target "_CoreCompileInterfaceDefinitions" because all output files are up-to-date with respect to the input files. Target _BeforeCoreCompileSceneKitAssets: Skipping target "_BeforeCoreCompileSceneKitAssets" because it has no inputs. Target _BeforeCoreCompileSceneKitAssets: Skipping target "_BeforeCoreCompileSceneKitAssets" because it has no inputs. Target _BeforeCoreCompileSceneKitAssets: Skipping target "_BeforeCoreCompileSceneKitAssets" because it has no inputs. Target _CoreCompileSceneKitAssets: Skipping target "_CoreCompileSceneKitAssets" because it has no inputs. Target _CoreCompileColladaAssets: Skipping target "_CoreCompileColladaAssets" because it has no inputs. Target _BeforeCompileCoreMLModels: Deleting file "obj/Debug/coremlc/_PartialAppManifest.items". Deleting file "obj/Debug/coremlc/_BundleResourceWithLogicalName.items". Removing directory "obj/Debug/coremlc". Target GenerateTargetFrameworkMonikerAttribute: Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files. Target CoreCompile: Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files. Target CopyFilesToOutputDirectory: openURLsTest -> /Users/twop/Projects/openURLsTest/bin/Debug/openURLsTest.exe Target _CopyResourcesToBundle: Building target "_CopyResourcesToBundle" partially, because some output files are out of date with respect to their input files. Copying file from '/Users/twop/Projects/openURLsTest/obj/Debug/actool/bundle/AppIcon.icns' to '/Users/twop/Projects/openURLsTest/bin/Debug/openURLsTest.app/Contents/Resources/AppIcon.icns'
Target _CompileAppManifest: Directory "bin/Debug/openURLsTest.app.dSYM" doesn't exist. Skipping. Target _CompileToNative: Skipping target "_CompileToNative" because all output files are up-to-date with respect to the input files. Target _CopyAppExtensionsToBundle: Skipping target "_CopyAppExtensionsToBundle" because it has no inputs. Target _PrepareDebugSymbolGeneration: Skipping target "_PrepareDebugSymbolGeneration" because all output files are up-to-date with respect to the input files. Target _CopyUserFrameworkDebugSymbols: Skipping target "_CopyUserFrameworkDebugSymbols" because it has no inputs. Target _CollectFrameworks: No Frameworks directory found.
Target _GenerateFrameworkDebugSymbols: Skipping target "_GenerateFrameworkDebugSymbols" because it has no inputs. Target _GenerateDebugSymbols: Directory "bin/Debug/openURLsTest.app.dSYM" doesn't exist. Skipping.
Build succeeded. 0 Warning(s) 0 Error(s)
Time Elapsed 00:00:01.02
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Build successful.
Example Project (If Possible)
https://github.com/twop/openURLsRepro
openURLsTest.zip