Xcode static UITableView cells are blank in the storyboard - ios

THIS QUESTION HAS BEEN RESOLVED,CHECK OUT THE RESOLUTION AT THE BOTTOM OF THIS QUESTION IN "UPDATE #5"
I built a rather big form for my iPad application. Up until recently, I did not have any issues. However, for no valid reason (at least, none that I could think of), a big part of my table is blank. The elements are still there, they can be seen in the Document Outline pane.
When I run the application in the simulator and on my iPad, everything shows up. However, I need to modify the contents of the table (adding and editing cells) but I cannot now.
Here's what I see in Xcode:
The elements are clearly there, but I cannot access them.
When running the app, this is the screen I get:
I am working with a team on this, using Github to sync our code.
I have a small feeling that it might have something to do with a corrupt Xcode installation, but I would really like your opinion on this one.
I am running Xcode Version 7.1 (7B91b) Xcode Version 7.2 (7C68).
Thank you for your help.
Update #1
Forgot to mention I'm running OSX El Capitan 10.11.1 on a Macbook Pro mid-2014.
Update #2
I should let you know I started this project on Xcode 6 and it worked well with Xcode 7. Could this be an issue going from Xcode 7 to 7.1?
Update #3
I finally opened a bug with Apple concerning this situation. Their response was that the bug was fixed in Xcode 7.3 beta 1. I replied that it wasn't fixed, and they ended the conversation by claiming this was a duplicate of another bug. I would only hope that they fix this in 7.3, it's really getting annoying having to cycle through Xcode versions.
Update #4
Apple released the latest beta of Xcode 7.3. In the release notes, they say "UITableViewCell objects that extend below the bounds of a UITableView now draw correctly when scrolled. (23242098)". So let's see if this is the case. I will update accordingly.
Update #5
I just tested out the latest Xcode 7.3 beta, and the bug has FINALLY been fixed! Thanks to anyone who helped in this matter, truly appreciated!

Is it working with an older version of XCode ?
Have you tried to clean your project (Cmd + k) ?
There are recent updates for Xcode 7.1, maybe try to do it.. (or 7.2)

My temporal solution :
In your storyboard
open the left panel component
Pick the last section and put it
on the top
close Xcode
now you can edit
reverse the
process
:X

I just tested out the latest Xcode 7.3 beta, and the bug has FINALLY been fixed! Thanks to anyone who helped in this matter, truly appreciated!
Hopefully it stays this way.

xCode 7.2 has fixed the issue.

Related

Xcode Playground doesn't display on the right side

I have this issue while I run my playground. However, it doesn't display on the right side. So, I searched many forums and the only way that worked for me was
to delete the comments. I use the iOS platform. My Xcode version is 9.4.1 on macOS High Sierra.
Xcode 9 has some issues in playground and sometimes it stuck at lunching simulator or running playground or etc. The best solution is update to Xcode 10+. Many bugs like this has been resolved in the current version of Xcode.
I've ran into this as well. I usually have to quit Xcode (cmd + q) or quit from the menu and reopen the playground. That usually runs the simulator.

Can't build iOS app with Mapbox

I do all steps from Mapbox integration tutorial (https://www.mapbox.com/install/), which BTW, doesn't work. Then I try to find some answers here. So, my problem is:
At this point I don't know why it's not working or what I am missing.
I try do new project step by step from Mapbox tutorial many times, it doesn't work. Xcode version is 8.1
Because of comment #jmkiley I did update MacOS and then Xcode and problem disappear. Maybe I did not notice the min. requirements
The tutorial (if I still see good) never writed, that you need to have specific version of Xcode. I think its support at least last version. I used Xcode version 9.+ but should work with now current version 10.+ too. Of course specific Xcode version need specific macOS version.
Error above is not very useful for get what the real problem is.
I found question, where autor use Xcode 8 but with macOS Siera so maybe is more important version of macOS than Xcode, but that is only hypotesis

Can i upload build from new xcode 8 where my storyboard is created in xcode 6. Will apple approve it?

I am in a confusion. i have to upgrade my project but it was created in xcode 6. when i open it in xcode 8, everything is fine but it is showing an exception thatthe storyboard in build for older version. Can i use the same storyboard to get my app live or i have to create a new one.
My question to you is: Why didn't you upgrade before? I don't see any code so my answer to your question is "no" because of the error. If the error didn't exist then I suppose you can because Xcode isn't complaining. If it were me I would have upgraded the storyboard even if their were no errors in Xcode. I just think working with the latest version is easier and ultimately less fragile. If you could show the error in a screen capture that would be helpful along with code examples.

Xcode crashes repeatedly on both 7.2.1 and 7.1.1 versions

I installed Xcode 7.2.1 and it crashes every time I try to type some code, then a box titled "Xcode quite unexpectedly" containing details appears. I uploaded the whole details here:
http://pastebin.com/KZCRntiT
I also installed and older version of Xcode (7.1.1) to see if the problem is due to the version or not, and found that the older version also keeps crashing every time I write some code.
This is not the case for a specific project, it crashes on both current and new projects.
If the other answer doesn't solve your problems, delete the file of ~/Library/Cache/com.apple.dt.Xcode and nuke in ~/Library/Developer/Xcode/ at least DerivedData if not the rest of the files as well. Have Xcode closed when you do it.
I had the same issue. I unplugged all of my devices, opened XCode, and close all tabs individually. I think there was an issue with one of my tabs. Everything is working now.

Xcode 5 running with iOS7 look and feel with Base SDK 6.1

So, I've been updating this app that has a BaseSDK of 6.1.
So far it has been fine, until this afternoon. I ran it once on my iPhone 5 and it was fine (but crashed). It was running with the iOS6 look and feel like I wanted.
Fixed the bug (just a simple index out of bounds bug) and ran it again and now it runs with the iOS7 look and feel.
I've checked the deployment target and the Base SDK and I have no idea why it's doing this.
Can anyone point me in the right direction?
SOLVED
OK, so I managed to fix it.
I had to...
Quit Xcode.
Delete Derived Data.
Delete the app from my phone.
Restart my Mac and Xcode.
Rerun "pod update" for my cocoapods. (I tried this before with no luck).
Then start it all up again.
Now it's fine.
I haven't changed any code and all the Base SDKs and deployment targets are the same.
Oh well...???
Xcode 5 does not support SDK 6.1.
You can trick it to use it, but the behaviour is undefined.
If you have multiple SDKs installed, then Xcode 5 has a bug (or undefined behaviour, whatever) where it shows the connected devices twice (or N times for N SDKs installed) in the drop down where you select simulator/device.
Each of these icons will access the connected device using one of the SDKs you have installed, so even though they look the same, they'll have some odd side effects.
I always use the top one.. (better ideas welcome)

Resources