Cannot draw ViewController on MacOS 10.10 and 10.11

I'm currently developing an application to that runs on MacOS versions 10.10 - 10.15.
Since my development environment is Xcode10.1 on MacOS10.13, I am using the MacOSX10.10sdk.
For the UI I am using StoryBoard.

Using this set up I created my application and tested it on MacOS 10.10.5 and MacOS 10.11.6 using VirtualBox on MacOS10.13.
When I tested it out on these two environments the installer window shows but there are no buttons, text, or labels showing.

Cannot draw View Controller
Code Block
Storyboard
- NSWindowController
- NSWindow
- NSThemeFrame
- NSViewController
- NSView
- NSButton
- NSTextField

When I tested the application on MacOS 10.12 - 10.15 it ran correctly and the window displayed properly.

What do you think might be the problem?
If you have any ideas on how to solve this problem, it would be much appreciated.

Best regards.
Where do you see NSThemeFrame is in the hierarchy ?

When I look at an NSWindowController, it does not show.

NSThemeFrame is usually the superview of the NSWindow content. But is is no more referenced in documentation.

Is NSThemeFrame a VirtualBox object ?

Where do you see NSThemeFrame is in the hierarchy

In Xcode 10.1 while debugging, I click 'Debug View Heirarchy' and the Heirarchy shows that NSThemeFrame is in between NSWindow and NSViewController. NSThemeFrame is not a VirtualBox object.
When I select NSThemeFrame and look at the details, it shows as below.
Code Block
Object
Class Name: NSThemeFrame
Address: 0x101a13660
View
Wants Layer: Yes
Layer: <_NSViewBackingLayer: 0x600000c89620>
Focus Ring: Default
Visibility: Not Opaque
Not Hidden
Alpha: 1
Flipped: No
Drawing: Can Draw Concurrently Off
Identifier: <Null>
Toop Tip: <Null>
Appearance: <Null>
Effective: NSAppearanceNameAqua
Accessibility
Descendant: <Null>
Not Hidden
Label: <Null>
Description: <NSThemeFrame: 0x101a13660>
Hierarchy
NSThemeFrame
NSTitledFrame
NSFrameView
NSView
NSResponder
NSObject
Backtrace
Malloc stack logging is not enabled for this process.


OK, that's not in IB hierarchy but in the debug.

Effectively, NSThemeFrame is the superview of the NSWindow content (holding the title for instance).
So that's likely not the problem.

Have you checked the constraints for positioning the objects ?
Try to add constraints for leading and top position in their view.
Thank you for your response. I'll give it a try. Thanks.
@imagia
Does it work now ?
@Claude31

Sorry for the late reply.

I select the Xib file that is in the project and then I select the NSView drop down menu I can't do the following things.
When selecting New Alighment Contraint, I can't add Horizontally in Container, Vertically in Container.
I can't enter any values and Add Constraint.

Thanks.
Did you try entering the constraints directly (control drag from object to its container for instance).

It may be you have some settings in IB for the xib that prevents from doing in New Alignment Contraint. A bit difficult to tell without seeing the project itself.
Cannot draw ViewController on MacOS 10.10 and 10.11
 
 
Q