Xcode version 8.0 storyboard view Controllers messed up automatically - viewcontroller

The View controllers are automatically messed up itself whenever I open the Xcode daily. I couldn't find that issue. Now I am using IDE Xcode Version 8.0. I didn't get the same issue on Xcode Version 7.3.1.

Xcode 8 has removed the height+width grid. Instead you can view your storyboards as they would be laid out for each compatible device size. Just select one size (e.g. iPhone 7), fix it up once and leave it set to that.

Related

Application crashed in iOS7 after reset Simulator

At the time of star coding in xcode 5, one thing that i struggle with is, with out any coding error or other reason my all applications got crash whenever i try to reset my "Simulator"!!! Not all the time, but most of the time it crashed. Some times it crashed at the time of quit. No matter with which version of simulator i using (iPhone Retina 3.5 Inch, iPhone Retina 4 Inch with iOS6 or iOS7). It always happen when a complete project (with no error, nothing) built on xcode 4.6 trying to quit after running in xcode 5. Though i keep the "Simulator version" as like in xcode 4.6.
If any one similar with this problem and have solution, please share it with me.
- Thanks a lot in advanced.
The error i am facing is : "Thread 1:signal SIGTERM"
Once you open your project with Xcode5 then all the settings for the views are changed to open with Xcode5, in order to make your project views to open with previous versions of xcode, you need to change the property of the views in file inspector to open with earlier versions default, by doing that your project would open in previous as well as current xcode version.
You could fix it in file inspector to open the views with the previous versions of Xcode if it is selected as Xcode5(Default(5.0)), by following image you could fix your views to open with the earlier versions of the xcode.

IOS 7 native keyboard not appering when using xcode 4.5?

When i run the xcode4.5 build of my project on ios7 then keyboard appearing is not ios native keyboard which is native to ios7 but it is showing the previous greyish keyboard but alertview is working fine.
I can move to xcode 5 but there is many UI issue when i switch to xcode 5.
Reset of things are working fine with xcode 4.5
You need to switch to Xcode 5 for the keyboard. There is not other way I know of. Also the users will like your app more if it has the iOS 7 features.
As already mentioned, you need to move to Xcode 5. As you've noticed, the alertViews (and actionSheets) will be iOS-7-ified automatically, though.

Xcode Create a working app for iOS 5.1 with xcode 4.6

i can run my app on my 6.1 iOS but can't with 5.1
i have the iOS Deployment Target set to 5.1 on both Project and Target
when i run the simulation for 5.1 it works fine but when i try it on my iPhone it crash's
i committed out all my code thinking that was the problem but the same thing keeps happening
XIB and auto-layout is not enabled
The iPhone simulation works with no errors
I tried to create a new project and have only a label and i still get the same out come
can some one send a link to a single view project that works with 5.1, the program could be blank i just want to compare to mine to see what is different/ wrong.
Sounds like you might be trying to use an API that is specific to iOS6 (UICollectionView or something similar).
You need to plug the device in and run it and see what the console indicates is the problem.
You have Auto Layout turned on for ViewController.xib. There are two ways to work around this. Either disable Auto Layout on that xib:
1) Xcode 4.3 not presenting Autoresizing panel in Size Inspector
Or use one of many methods to enable auto layout while remaining backwards compatible:
2) Enabling auto layout in iOS 6 while remaining backwards compatible with iOS 5

I modified the iOS app, but when I build and run it with xcode 4, it doesn't change

I made an app (already approved in the app store) with xcode 4 and it runs.
Now I would like to modify it for an update. My app has 2 localize (English and Italian) and before I modified it, I removed the second localize. My app is a tab bar app with 3 buttons.
My problem is that I added a new button to the tab bar in the mainWindow (everything is correct also name and nib) but it doesn't appear when I run it on my iphone nor on the simulator (iphone or ipad 3.2, 4.0 or 4.2). It works only on the 4.3 simulator (my iphone is 4.3.3).
If I remove the mainWindow (both), then it works on the iphone and 3.2, 4.0, 4.3 simulator as before I modified it.
What can i do?
Thanks!
When in doubt, try a full clean and rebuild. I've found xCode likes to hold onto old files if they're (mistakenly) marked as unmodified, doing a full clean and rebuild usually fixes this problem
Like #Dan F says, clean and rebuild is a must. Also I've found that putting out releases won't work unless you increase the app version number. If it's currently at 1.0 try changing it to 1.1 (or however you want to version your app) and see if that fixes it.
Otherwise you'll want to play around with your build settings and make sure the versions you're building for are correct. Just a few thoughts...

XIB files becoming blank - using iPhone sdk 4

I just updated to iPhone SDK4. The problem I am facing is - I was writing an app in iPhone sdk 3.0 just open that project in xcode 3.2.3 made some changes in xib file, now when i run this project in simulator the user interface (xib) appearing blank (with black color).
Any idea why this is happening...?
Thanks
Saurabh
You may be trying to run directly from IB (with cmd+R) this makes it only load the view you're currently editing and does something similar to what you're describing. Save, switch to xcode and run from there, see if that helps. :)