I have been using an "Elements SE" 1 Tb USB hard drive for Time Machine backup on a 2012 MacBook Pro running Catalina, where it worked OK. When I plug the drive into a 2019 MacBook Pro running Monterey, Time Machine cannot write to it as it appears as read-only. Whe I try and inspect the disk using Disk Utility it appears as unmounted, and greyed out, and the Mount button is greyed out. First Aid on the disk fails. What do I have to do to make it useable by Time Machine on the 2019 MacBook Pro?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have an Objective-C app running on MacOS using XCode 14.1, in which there are 3 levels of form. The Level 2 form is opened from an action with a makeKeyAndFront action from a button. The Level 3 form is a regular panel opened from the level 2 form in a similar way. The level 3 form can be closed normally if no action changes the level 2 form. However, if an image is loaded into an NSImageView control on the level 2 form, the level 3 form can be displayed but cannot be closed by clicking on the red x button which normally performs this function. The level 3 form can be minimised. What do I have to do to allow the level 3 form to be closed in this situation?
I have an new iOS app called CaptionEdit. I have set a number of different keywords for it in App Store Connect including 'caption photos' and 'add text to photos'. However, if I type either of these these phrases into the iOS App Store search box, my app does not appear in the 150+ results at all, even though the bottom-ranking apps (like mine) have no ratings or reviews. App Store connect indicates that my app has had 29 downloads over the past month and 5 over the past 7 days. Is the absence of my app in search results from a keyword due to apps requiring a minimum number of downloads over an averaging period to even appear in keyword search results? (The app does appear if use the app name as a search term).
I have an NSImage that I would like to pad out with white pixels. How can I do this?
The UIbarButtonItems in an iOS/ Swift app navigation bar in a view controller do not respond to clicks after navigation bar origin changed in the viewWillTransition event.
Where is the data for NSUserDefaults standardUserDefaults stored? I would like to edit stored values as is possible in the Windows Registry. I am using XCode 12.3 on Catalina. Finder search does not show any non-source code file on the machine which contains the persisted values.
I am developing an app to run on iOS 12.4 or newer using Xcode 12.3 on MacOS Catalina. On my screens I have a number of navigation bar buttons which have a system icon specified as well as text in Interface Builder. When running on an iOS 14.3 simulator, the bar button icons appear but on an iOS 12.4 simulator (and an iOS 12.4 device) the icons do not appear and only text is shown. The buttons still work OK on iOS12.4. How can I make system icons appear in Navigation bar button items in Xcode 12.4?
An application toolbar in an XIB file created in XCode 12.3 on MacOS Catalina from an Objective-C project appears as below
But in XCode 13.4 it appears as below (the rotate icon has been changed)
When the application is run under Xcode 13.4 or on MacOS Monterey the application toolbar appears as below
How can I make the toolbar appear as it does in Xcode 12.4 when running on Monterey or using Xcode 13.4?
I would like my sandboxed MacOS app to save a log file in a sub-folder of the user's Documents folder, but the app cannot create the sub-folder, create a file or write to an existing file even though I have given the app full disk access via System Preferences-> Privacy. How can I do this?
I have an Objective C project for MacOS in XCode 12.3 running on Catalina. A preferences screen shown at run time has started displaying controls in inverted vertical order, as though the Y origin is at the top (as it is for iOS) rather than the bottom (as it is for MacOS). In design view the ordering is correct. How can I fix this problem?
I'm getting the error "Cannot create Swift scratch context (couldn't create a ClangImporter)" when running a Swift project in XCode 12.3 on Catalina when I try to use the debugger. There is a resolution of this problem described at https://forums.raywenderlich.com/t/entering-debugger-in-swift-project-couldnt-create-a-clangimporter/130829 but I don't understand the fix of "removing zsh customisations in dotfiles". Can anyone explain what the files to change are and how they have to be changed? (I'm new to Mac development)
I am trying to create a file from a text string in a web server in a folder C:\inetpub\wwwroot\AlekaConsulting\AlekaConsulting\License using IIS 10.0.14393.0 on a Windows Server 2016 environment using the following Objective-C code on macOS Catalina, but no file is created and the returnString variable contains the error message
405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.
The same error appears if I use PUT rather than POST as HTTPmethod.
No verbs are listed in the Request Filtering tab of IIS Manager, which means no verbs are blocked. webDav is not installed as a server feature.
Content can be successfully read from files in the specified folder.
Is the error connected with the URL being accessed via https?
(void) UploadFileContent: (NSString *) fileContent{
NSString *urlString = @"https://captionpro.com.au:444/AlekaConsulting/License";
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init];
[request setURL:[NSURL URLWithString:urlString]];
[request setHTTPMethod:@"POST"];
NSMutableData *body = [NSMutableData data];
NSString *boundary = @"---------------------------14737809831466499882746641449";
NSString *contentType = [NSString stringWithFormat:@"multipart/form-data; boundary=%@", boundary];
[request addValue:contentType forHTTPHeaderField:@"Content-Type"];
[body appendData:[[NSString stringWithFormat:@"--%@\r\n", boundary] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithFormat:@"Content-Disposition: form-data; name=\"parameter1\"\r\n\r\n"] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithString:fileContent] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[@"\r\n" dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithFormat:@"--%@--\r\n", boundary] dataUsingEncoding:NSUTF8StringEncoding]];
[request setHTTPBody:body];
NSData *returnData = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
NSString *returnString = [[NSString alloc] initWithData:returnData encoding:NSUTF8StringEncoding];
NSLog(@"%@", returnString);
}
fg
I have a Swift 5 app that I would like to test on an iPad simulator but the only iPad simulator available is iPad (8th generation). I have a 5th generation iPad which is running iPadOS 15.4 which is presumably capable of running a Swift 5 app but its simulator does not appear in the list of possible iOS simulators.
How can I create a simulator for an iPhone 6 (runninf iOS12.4) in Xcode 12.3? Entries in the Simulators list shown in Preferences->Components are all greyed out. The entries go up to iOS14.2. If I try to create a new Simulator by clicking + in Window->Devices and Simulators, Simulators tab, the only OS version available in the dropdown is iOS 14.3. If I try to download more Simulator runtimes I see the greyed out list shown in Preferences->Components.
I have a Swift 5 iOS project in XCode 13.4 containing a View Controller with 5 UI PickerView controls, each with height set to 74 using Interface Builder. The view controller is shown as a popover. When I run the project using an iOS 15.5 simulator, the UIPickerViews appear as designed. When I use an iOS 16.0 simulator I see 5 console messages of the form [UIPickerView setFrame:]: invalid size {204,74} pinned to {204,162} and the UIPickerViews are much larger and their arrangement is not as designed. Has iOS 16.0 returned to only allowing a small number of UIPickerView heights rather than allowing an arbitrary height?