My Xcode has suddenly started crashing when I am trying to make storyboard connection to the view class. I am control dragging the view from storyboard to the view class and as soon as as the pointer gets to the class pane it crashes all of a sudden. I tried removing the derived data, restarting my mac but nothing helped. What can be the problem for this?
my Xcode version : Version 10.2.1 (10E1001)
my macos version : 10.14.4 (18E226)
here is the Gif of crashing
Classic Xcode! I must say
you can connect IBOutlets in many ways though. Secondary click on the Node App Cell view will show you the outlet connectors you can drag from that menu to the view itself.
Related
I was excited to check out Xcode 11 with my existing xCode project, so I started coding with the latest beta version. Today I wanted to upload my new app update but of course Apple rejected the binaries advising me, to use a GM version of Xcode 11 (not released yet) or the latest Xcode 10 app.
I was able to revert all changes made by Xcode 11 (provisioning profile, etc.) and opened the project back in Xcode 10 but I stuck in an error saying
This version does not support collection view cell content view. Open
this document with at least Xcode 11.0.
I am not able to build, archive or even open the storyboard in xCode 10. I found a single collection view in my storyboard in Xcode 11 which I created using the beta. But also after deleting the entire UICollectionViewController incl. the cells and cleaning the project, I am not able open the storyboard back in Xcode 10.
I've read accepted answer, but it wasn't obvious where to find "property" which could be just switched off or something like.
To make it more clear: you just need to replace all occurencies of collectionViewCellContentView with view in storyboard source code. For example see screenshot:
Next, rebuild and Xcode will remove <capability name="collection view cell content view" minToolsVersion="11.0"/> requirement; or remove it manually if you're using Xcode 10.
Hope will be helpful.
EDIT
Found how to "switch off" using of collection view cell content view, but you'll still need Xcode 11 to open storyboard. Change size to Default in collection view cell prototype size inspector:
Try to open the storyboard file with a text editor and search for the property. Usually when there is a warning, Xcode will show this warning during compile time. See if double-clicking the warning redirects you to the line of code where the problem occurs.
Just go to your storyboard which is not opening. Right click on it , Open it with Source Code and search for the property which is not allowing xcode to open your Storyboard.
Search for the property e.g "collection view content view".
Delete that property block. Now Open your Story board as an Interface Builder.
Note: By Deleting the property you will lost that in your view controller screen. :)
I have updated my Mac to High Seirra version 10.13.1. After the update a storyboard is not working correctly.
The views in the storyboard are shown as blue outlines instead of showing the view detail.
I am using Xcode 8.2.1.
It's a temporary issue, just quit the XCode and reopen again.
I made a project on Xcode 7.3, but after the release of xcode 8 I had to move onto that as I upgraded my project from swift 2.2 to swift 2.3 too, but im having a very weird problem. When I open my XIB file, it makes xcode very very slow almost crawling, I got 3 ways to fix the problem,
1) Take a new View from toolbar and make the previous view the subview of new view and apply contraints and it will stop hanging.
2) View the xib as source code, insert random spaces at the end of lines (Let xcode know that you edited file whatever it is), save it and come back, it will occasionally fix the problem but didnt work everytime.
3) when XIB is hanging, change the device in View as and it will start working properly untill you go to another XIB and come back.
This is happening in Xcode 8.1, does anyone know what can be the issue ?
I'm building an app which using storyboard and designing view controller using container view. When i first designing, everything seems fine. But after i quit and restart the xcode, this problem is occurred like in image.
The View Controller is missing but the segue still exist, I have found out that somehow the view controller just hide somehwhere and if I delete the segue, the VC will show up again.
Is this a bug or somehow i screw up my XCode?
Thank you.
Looks like an Xcode bug. Lot's of bugs appeared in Xcode 8. Filing a bug report with Apple and updating to the newest version (even if it's a beta build) looks like the only solution for this.
I seem to be encountering a problem with the latest Xcode 6.3 beta 2.
When I launch the context menu by holding down in simulator it seems to shift my interface controller up and can't seem to figure out why. This problem also happens when I present a view controller when table cell is pressed
Before context menu is launched
http://imgur.com/Jygz4mD,7grFbmQ#0
after context menu is launched
http://imgur.com/Jygz4mD,7grFbmQ#1
Would this be because I'm using paged navigation?
or
Would this be just a little bug in the simulator?
I would really appreciate if you could help.
For WatchKit development you should be using Xcode 6.2 and not 6.3.