Post not yet marked as solved
When I log in and start a Terminal window, a simple gcc command produces the following debug messages:
2022-07-15 13:52:41.470 xcodebuild[784:10833] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-07-15 13:52:41.470 xcodebuild[784:10833] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
Subsequent invoke of gcc does not produce these messages. How to avoid this small nuisance?
Post not yet marked as solved
My app observes NSWorkspaceActiveSpaceDidChangeNotification and set wallpaper on the active screen. But I see there is no way to distinguish between spaces on a screen. I'm not sure if I have read the docs thoroughly. I would like to know if it is possible to tell which space is active for the active screen.
Post not yet marked as solved
I once enabled locate (not location) service but now I want to disable/remove it. It's really not very helpful compared to spotlight.
What is the correct commandline?
Post not yet marked as solved
I have a need to integrate icu (https://formulae.brew.sh/formula/icu4c#default) into one of my store apps. I'd like to know if this approach is supported by the app submission policies. Thanks.
Post not yet marked as solved
I am a little hesitant to ask this question because it's been years, during which I hoped it's just a specific problem of my own computer or Xcode version.
I'm not sure if it's only me alone with this problem.
First time run of any playground project is extremely slow (after I open it); sometimes it just never runs with the build indicator circling forever).
This is true for objc or swift playgrounds, or different machines, different Xcode versions, different OS versions.
Can anyone help?
Post not yet marked as solved
I have the following code:@implementation NSWindow (Coordination)
- (NSPoint)convertPointFromScreen:(NSPoint)point
{
NSRect rect = NSMakeRect(point.x, point.y, 1, 1);
return [self convertRectFromScreen:rect].origin;
}I get a compiliation warning:Category is implementing a method which will also be implemented by its primary classI know Swift has builtin preprocessor directives to detect SDK version, but don't know how to do this in objc. Any suggestions?
Post not yet marked as solved
On my 27in monitor, the doc text is too small for reading. Is there any way to enlarge text size?
Maybe I should file a ticket to request for a new feature for this?
I'm not sure what I have missed in the new release, but I cannot set Standard Value in IB anymore like that I did for years.
The Standard Value is disabled in constraint dropdown list. If I clear the hardcoded value, "Standard" will appear but when I press ENTER, the old value comes back.
Is this a known bug or a new 'feature'?
Post not yet marked as solved
I always get the following debug messages when I debug a simple test app:
2021-02-03 06:27:08.068287+0800 objcapp[4385:33065] Metal API Validation Enabled
2021-02-03 06:27:09.530861+0800 objcapp[4385:33767] Errors found! Invalidating cache...
2021-02-03 06:27:09.970280+0800 objcapp[4385:33767] Errors found! Invalidating cache...
2021-02-03 06:27:10.899920+0800 objcapp[4385:33065] VPA info: plugin is INTEL, AVD_id = 1080004, AVD_api.Create:0x112d415d7
2021-02-03 06:27:10.971477+0800 objcapp[4385:33065] VPA info: plugin is INTEL, AVD_id = 1080004, AVD_api.Create:0x112d415d7
2021-02-03 06:27:10.991057+0800 objcapp[4385:33065] VPA info: plugin is INTEL, AVD_id = 1080004, AVD_api.Create:0x112d415d7
This began a few versions ago of macOS updates/upgrades. Is there any way to get rid of these messages? They are really interfering my focus on coding and debugging.
According to Apple's official doc on screenshot, I need to capture screenshots of fixed resolutions. But unfortunately my display connected to my Mac mini does not provide one of the resolutions. Now my problem arises - How do I capture screenshots while using non-standard reslution?
Post not yet marked as solved
I watched WWDC 2016 video 414 and came to know that I can write my own editor extension. The very first thing that comes to my mind is "bookmark"! Not sure why Xcode does not have this feature. I read through Xcode docs about XCSourceEditorExtension/XCSourceEditorCommand, but could not find any docs about how to manipulate editor gutter so that I can add bookmark images using code. Or is this just not possible?
I bought a new Mac mini and now I it is my major development machine. When I tried to submit an app, I got the following error:I managed to export the private keys from my older MackBook Pro (it's a long story and it's a fortunate that I did not erase the old machine before this incident).Now the question is - are there any other keys that need to be exported and backed up for later use? Thanks.
I use the following code to get a Character from a Unicode codepoiint:let c = Character(Unicode.Scalar("12345")!)It seems very complex and clumsy. Is there an shortcut way to achieve the same goal?
Post not yet marked as solved
I'd like to know if Xcode provides default localizations for the builtin menus, eg File/Edit/View etc. Thanks.
Post not yet marked as solved
Can someone direct me to any useful resources about help authoring in Xcode. When user clicks on Help->"App Help", how can I write HTML help files for that? I searched on the internet but only got one very old article. Thanks for any suggestions.