ios - Xcode 9.4.1 stuck loading in main.storyboard - ios

I am using Xcode 9.4.1. Xcode working perfectly in all project but one of my latest project. When i am trying add any type of UIView in Main.Storyboard then Xcode stared hangup and after forced quit xcode hangup in project loading. And also i monitor in Activity monitor IBDesignablesAgentCocoaTouch and Interface Builder Cocoa Touch using 99% CPU.
Anyone know why this happen?

Try separating into multiple storyboards and then connect the view controllers with storyboard references. It was happening to me as well after I did that my issue was resolved, probably because I had a lot of view controllers in just one storyboard.

Related

Interface builder not loading after Xcode crash

What happened:
I was editing a View with lots of Stack Views in it, which was
causing Xcode to behave very slowly.
In one of these edits, I changed the spacing between stacks and Xcode stopped responding.
I forced quit.
The problem
The projects and all its files are opening just fine, but when I go to Main.storyboard, the loading icon never stops spinning. It doesn't load.
What I've tried so far to fix it
I restarted the computer.
I cleaned the project and built again.
I've opened other Xcode projects and the IB opens just fine, looks like the problem is only with the project I was working on when it stopped responding.
Any tips on how I could solve this?
Thanks in advance.
Additional info:
Xcode Version 9.2

Xcode7 blank webview error

I've developed an iOS web-app for Xcode 5.
now I've shifted to Xcode 7 for testing it on my friend's mobile which has ios9.
so now i tried to run same app in Xcode 7 but its showing blank screen. I've tried adding keys in plist.. still no lucks.Please Help
I think we need more info to answer your problem:
Did you use .xib files for your project?
Is it using Objective-C or Swift?
On my end, I am using Xcode7.1.1 with Swift and in this version, I am using storyboards where I have a web view. The path for the web view content is defined on my ViewController.swift and connected via/through Connections Inspector

Xcode 6 app won't stop launching in zoom mode

I have an app that was created in a previous version of Xcode. It used to not be universal so it launched in 1x/2x mode on an iPad.
Now we want it to run with universal storyboards and size classes. We have converted the storyboards to size classes and changed the project setting to "Universal". We have set up the constraints and it runs fine on iPhone 6 and 5 flavors. But when we launch on an iPad is launches in 2x Mode automatically.
I can not figure out what is going on.
Can not find anything here or on the googles that speaks to this issue. Everyone seems to have success with the steps I enumerated. One post I found here talks about using a launch file, but I changed our launch file to our main storyboard and it still launches in 2x mode.
Appreciate the help. Let me know if there is any screen shots or more info that would help make things clearer.
EDIT
Adding screen shots for the first comment below.
Edit #2
I wonder if it has something to do with the xibs in the storyboard not updating in the newer Xcode. This project was started long ago and the days before storyboards. All I know is that with the latest update of the beta Xcode it just magically works. So strange.
Problems solved when the latest Xcode Beta came out. Possibly something weird with the xibs since this is an old/converted project that stated before storyboards.

WatchKit Simulator Won't Load App

Originally, I thought this was an issue of the code I was writing, but I've just downloaded four or five WatchKit projects even one from Apple. All of them, fail to load.
I've uninstalled Xcode, reinstalled it and still nothing. Any one else experiencing the same issue? Workarounds? Solutions?
You can see in the screenshot above what the loading screen looks like.
I am already bloody sick of official Xcode 6.2 & WatchKit Simulator. It is so super flaky. Here's another fun fact, if there is some constraint in your storyboard that the watchKit doesn't like then it will also keep looping in an infinite loop without letting anyone know why its doing that. What you need to do is
Drag and drop & add another WKInterfaceController to your storyboard
Make that one your main by dragging the arrow on it
Delete the old watchKit app controller
Now start adding elements one by one and keep testing till it doesn't work any more on the simulator (infinite spin of death)
Try clean and build and even after that it keep the spin ball of death then the last change you made to the storyboard is what it didn't like.
I had to spend hours debugging this crap.
UPDATE:
If the above steps don't work for you then try this
launch Xcode
compile and build & launch iPhone simulator
Now don't shutdown the simulator instead do Xcode --> Product --> Stop
This will keep the simulator running but swill top the iphone app running on it
Do Build --> Clean
Do build again
Now launch watchkit simulator
If you need to stop and start always do Xcode --> Product --> Stop
These steps have always worked for me while making watchkit apps
I experienced this a lot with Xcode 6.2 beta 1. I only got this a few times with beta 2 and 3. Here is what I would do to get it to work.
Reset the simulator via menu->IOS Simulator->Reset Content and Settingsā€¦
Quit the simulator
Clean the Xcode project
Restart Xcode
Build and run the iOS App (not the Watch App)
Stop the iOS App
Build and run the Watch App
This would generally fix the app just spinning for me. With beta 1 sometimes I would have to do this two or three times to get it up and running. Once I had it running, it would usually not do it again for a while. With beta 2 and 3 I only saw this a few times.
I always get this issue with Xcode 6.3. I've spent a lot of time on resetting caches in simulator, cleaning/rebuilding projects and so on.
But only one thing always helps me. I just add new blank interface controller on my storyboard and create sequence to it from my main controller.
And when I get this infinite loading of my app, I just swipe to my blank controller and than back to my main controller. After that everything works fine.
In my case nothing here proposed helped. I had to select the module name in addition to the Custom Class name:
This was as a result after renaming the watch kit app. Maybe this is helpful for someone else, since the "spinning wheel of death" itself doesn't give much insight :-/ .

UIDatePicker on iPad Showing Interface Issues with iOS 7

I have a simple app that's built with the iPhone. I have a UIDatePicker with a custom background that looks great.
However, the same component with (what I can see are the same settings) on the iPad in the storyboard looks like this when the app is run:
I have gone through the storyboard many times for the iPhone and iPad and all of the settings are the same. I just cannot see what I'm doing wrong or what needs to happen to get this weird interface issue fixed.
It's an iOS 7 app built with Xcode 5.1. I don't have the ability to test out Xcode 6.0.1 because of this issue that I'm facing: Xcode 6: Build hangs and Interface Builder Cocoa Touch Tool starts allocating all RAM.
Any feedback would be appreciated.

Resources