Same here, two different MacBooks (Cataline GM and latest Cataline beta, respectively), Xcode 11.0, 11.1 and 11.2.1. Instrunments either "cannot attach" or "cannot load tracking library" or beachballs or it "runs" but the (macOS) app never shows (though the process in `ps`). Essentially Instruments is entirely and literally unusable, which is really annoying and a productivity problem. (Instrument has been getting bad for a while, but at least it stil *ran* in Xcode 9/10).Wondering if Apple in 2019 is capable of touching any part of its software catalog without just breaking it beyond repair... 😟
Post
Replies
Boosts
Views
Activity
Thanx. I was contemplating that as a fallback. But I'm curious as to how the scrollview (ways detached from the actual event, can still "see" the keypress,...
ps: doesn't help :(.
FWIW, I often/always get this even in KeychainAccess.app, when copying a password or checking the "show password" checkbox. Two prompts before the password shows/is copied.
Never seen it from my own apps/code.
Will do, thanx!
Correction, this seems to fix is 80% of the time. Weird.
Done: FB7814726
Done: FB7814726
1) The one remaining piece that you might be missing is the "Full Size Content View" flag on the containing window. You have to allow content to underlap / scroll beneath the titlebar region to be eligible for a full-height sidebar. Thanx. I have tried that, but when I set this, I get no toolbar *or* titlebar anymore at all, oddly.
Also, what is strange, I randomly *sometimes* have my scrolling content from sidebar or main view peek thru the titlebar (not my custom bar below it, if course), as expected. But that only happens on rare occasions, and I can see not rhyme or reason to it. 99% of the time, my titlebar stays solid when I scroll the content beneath it.
2) This sounds like a good use case for NSTitlebarAccessoryViewController. You can install an accessory view controller on a window using the addTitlebarAccessoryViewController method. A bottom bar accessory is automatically fit to the width of the content area (i.e. excluding the full-height sidebar) in Big Sur, and it fills the full width of the window on previous versions of macOS. And, as you remembered, accessories live inside the titlebar blur material, so there's no need to provide a separate background. Cool. I actually came across these in slides from 2015 that I found on Google, yesterday. But one thing I'm wondering: I have two separate controls that form the bar in the sidebar vs the one in the main content area (much like Xcode, again). How would I handle this with NSTitlebarAccessoryViewController so that one stays the width of the sidebar and one the width of the rest?
Would I just add the content one as NSTitlebarAccessoryViewController for Bug Sur, and leave the sidebar one as a child view of the sidebar itself? If so, how would I get it to adopt the seamless sidebar background?
A third related thing I noticed: on Catalina and earlier, i *do* get the translucent sidebar ok (also just "most" of the time; sometimes it come stop gray and only becomes translucent after I go fullscreen (and stays ok when I got back out of fullscreen). But on Big Sur, my sidebar now is consistently solid white...
thanx a lot form your help!
I don't see why they would not. the Universal/Fat Binary format does not seem to have changed, so as long as you have a valid x86_64 slice in your app, any "unknown" architectures should be ignored. Heck, you could include a PowerPC slice and run on 10.0, probably ;)
Applied the second the webpage stopped being buggy last Monday afternoon, no word yet, here. going back to the page just says "we have received your application". 🤞🏼
ps: i'm getting two conflicting messages:
Credential State request returned with error: Error Domain=AKAuthenticationError Code=-7073 this is printed to the console and
credentialState 2, error Domain=com.apple.AuthenticationServices.AuthorizationError Code=1000 "(null)" this is the error message i'm getting back in the callback (different codes? why?)
In my app (www DOT curacaoweatherapp DOT com — Jesus, you can't post links?), I see it on all devices, and from different user accounts. :(
Looks like 1000 is "Unknown". yay, very helpful :(
public enum AuthenticationServices.ASAuthorizationError {
case unknown = 1000
case canceled = 1001
case invalidResponse = 1002
case notHandled = 1003
case failed = 1004
}
https://developer.apple.com/documentation/apple_silicon/about_the_rosetta_translation_environment?language=objc#3616845
Determine Whether Your App Is Running as a Translated Binary
On Apple silicon, a universal binary may run either natively or as a translated binary. The system runs the native version whenever possible, but the user might opt to run the code using Rosetta to support older plug-ins.
To programmatically determine when a process is running under Rosetta translation, call the sysctlbyname function with the sysctl.proc_translated flag, as shown in the following example. The example function returns the value 0 for a native process, 1 for a translated process, and -1 when an error occurs.
int processIsTranslated() {
	 int ret = 0;
	 size_t size = sizeof(ret);
	 if (sysctlbyname("sysctl.proc_translated", &ret, &size, NULL, 0) == -1)
	 {
			if (errno == ENOENT)
				 return 0;
			return -1;
	 }
	 return ret;
}