I've installed the new version of Xcode (14.1, build 14B47b) and I'm having issues with the canvas live preview. When "Live" is selected I only see a black square, but if I select "Selectable", I can see a preview of my view.
Is anyone else experiencing something like this? Did I miss something in my setup?
Thanks for your help!
I just started seeing the same issue on 14.1. Tried restarting Xcode and turning the canvas off/on, but neither worked. However, I switch target device (to a different simulator) and it rendered correctly.
Related
I am trying to design the Launch screen in XCode but facing one issue where I can't get any hint of how to resolve it. I am trying to build Xcode launch screen project but keep getting below error whenever I edit any of the LaunchScreen from Visual Studio.
Xamarin/Xamarin.h' file not found
I got it resolved, the issue was with image dimensions. Seems to be a bug where if you have image with too big dimensions it will cause your splash screen to go black. No build required on XCode side, when you update anything on story board it get reflect in VS project. So just want to share my experience if anyone face the same issue.
I have set up different backgrounds for 'Light/Dark Appearance'
But when switching between Light/Dark mode within Xcode, my background always uses image from 'Any/Light Appearance'. Only colours set for icons changes accordingly.
FYI: I'm switching between Light/Dark mode using Interface Style option.
Can someone please advice what I'm missing on? It's all new to me.
I think it is an Xcode bug. You can confirm it by changing your setting in the iOS Simulator.
Go to Settings -> Developer -> Dark Appearance
I think you might need to uncheck the Resizing checkbox and set the Scales property to Single Scale. It worked for me.
Set your image to Render As Original Image
I think it's an Xcode (latest version) bug.
If you run it on your phone, you won't have this problem. Meaning settings are correct.
In Simulator it's working fine. One can confirm by toggling the Appearance from feature menu of the simulator.
This seems like an Xcode bug, but when you try to run it on your simulator or physical device, it should work perfectly assuming you are in Dark Mode.
By unchecking the Preserve Vector Data option 1, one can see the change in the background when switching between the modes from interface styles 2.
But I noticed that if you leave the option selected and test it on the simulator, it works perfectly fine there. Hence I feel it's an Xcode bug too.
The Xcode Bug is still here, Xcode storyboard appearance switcher does not work, it only works in the simulator.
You can change the simulator device appearance:
Settings> Developer> Dark Appearance.
Happy coding.
On my physical device iPhone 8 iOS 14.6 dark Mode doesn't work. traitCollectionDidChange not get called after switching to dark mode.
On my iPhone 12 iOS 15.x, and some testers it works.
No Solution i tried worked. Also i got some other weird UI bugs aswell on my iPhone 8.
Hope its just an Xcode Bug.
The colors in my ViewControllers are all desaturating when I compile into the simulator. The same desaturation occurs when viewed on my iPhone. Within XCode itself, the colors appear fine, it's just compilation that appears to be the problem. I've been looking high and low for color settings but no luck. Has anyone run into this?
It looks like this was a bug in Xcode 7 Beta. I just upgraded and the issue was fixed.
I just recently downloaded the latest public release of Xcode (6.3) and I noticed the storyboard for my app is now low res on my Retina MacBook Pro. Images, text and standard UI elements all appear blurry. On the actual device everything looks fine and code still looks sharp its just while working in the Interface Builder.
Has anybody else noticed this and figured out a way to fix it? This is happening to me in both Swift and Objective-C projects including in Apple's sample projects (Master-Detail Application and etc).
I submitted this as a bug report, and Apple responded by saying that it is the desired appearance. They did not give an explanation, that was all they said.
It appears to be related to a bug in the newest iOS SDK, and as a workaround, they've forced Interface Builder to render everything at 1x. Currently, there doesn't seem to be any solution to this annoying problem other than to wait.
Just installed Xcode version 6.3.2 and this issue appears to have been fixed.
Have you tried re-installation of the same version? That helped once.
Alternatively, can upgrade to newer version, too.
Firstly, thanks for your time and effort.
Just today I started having a random issue in my iOS simulator running an app from Xcode 6. No Xcode update has been installed since I last used the simulator so I don't think it is an issue with an update.
Basically, my simulator is drawing everything HUGE. Like 4x the size it should be. This happens with all simulator devices regardless of iOS version. I'm aware of the window scaling with CMD + 1, 2, 3. That is not the issue. It shows the same no matter the scale. When you click or interact with the screen squares of it flicker. This is what it looks like.
Note that it is not just the application, but also the home screen.
I should also note that this does not seem to be just the simulator. The screen saver on OSX with the words and definitions also is entirely too large. I haven't noticed it in any other application though.
I have done everything I could think of to debug the issue.
I deleted Xcode and reinstalled it with a restart in between.
I have created a new user account on my machine and ran a boilerplate app on the simulator and it displayed the same way.
I've changed my screen resolution to see if that resolves the issue.
I cleared the mysterious PRAM.
None of these solved the issue or made it better or worse.
Again, thanks for your time. It is appreciated.
For me pressing command + 2 or command + 3 when the ios simulator opens up solve the problem. Pressing the above keys do scaled down the simulator size.
Bug in 10.10.2 beta:
https://devforums.apple.com/thread/243676
https://devforums.apple.com/thread/254997
iOS simulator scaled bug
iOS 8 and Xcode 6 Simulator Display Out of Alignment
iOS Simulator display scaled incorrectly
I recently started and I had the same issue. You simply have to change the scale. When the iOS Simulator opens, navigate to Window and change the scale; 50% worked for me.
I changed to 14C94b, fixed this bug.
I have been to see same problem for Subline Text3
enjoy)