iOS 9 Beta 5 made my app not work - ios

I am relatively new to iOS coding, and swift. I have only coded in Swift, and not Swift 2. I am nervous that updating to the latest XCode will delete my files, or do something crazy, because that has happened before, so I have kept the last version, Xcode 6.3 (i think). Now, when I test my applications on my iPhone 6 with the iOS 9 Beta 5 software, most of my tableviews are not showing anything in them. They load the correct amount of rows, but they are not displaying anything.
How should I go about fixing this?
Should I update to Xcode 7?
If I do, will I have to change the code, and will my apps then still be able to be used on previous iOS operating systems? In other words, will there be a transition from Swift to Swift 2?

There will be a transition, for sure. That doesn't mean it won't work. My suggestion is to download Xcode 7 beta, make a backup of your original project and open it with Xcode 7 beta.

Related

Will Xcode 9 beta make my ObjC projects unusable with Xcode 8?

I'd like to use the Xcode 9 beta new features but I'm worried about backwards compatibility after working with the beta version. I've had such problems with past Xcode beta versions (since it made storyboards unusable with previous versions). I've tried loading test projects (ObjC and Swift) without any problem but I'd like to know if someone here can confirm this point since I need to upload to App Store frequently and I'll need Xcode 8 to do it.
Thanks.
I am not very sure about the ObjC projects in particular, but after opening my storyboard in Xcode9-Beta and then in Xcode8, all my UILabels disappeared. They are there, you can select/edit them, but they are just not visible.
But besides, if you are using version control, you can always rollback :)

Can a project on xcode 4 or 5 be stable on xcode 7.3.1

I have a iOS project developed on xcode version 4/5 using Objective-C.
In that code there are many xib's and older frameworks. I want to make that code stable.
So is it possible to make that code stable on xcode 7.3.1. version.
The app was developed for iPad(1).
The functionality is also somewhat depreciated.
So can anybody help me with this issue.
Is a way to make the code stable as i also dont know who developed the code it is 4 5 years old code.
The SDK has changed so some of the methods and such may be broken. You'll have to re-write some of the app if it's broken.

Xcode 7 is out. What about submission with Xcode 6 and swift 1.2?

I have an application in review and it has been implemented with swift 1.2 and Xcode 6.x. In case Apple rejects my build I've to do the required fixes and submit it again. I've started working on the port to swift 2 but some of the libraries that I use have not been updated or they have dropped support for iOS 7 updating to swift 2.0... bad situation. That said, probably it takes some days (hopefully) to get back to a completely working project.
1) in the meanwhile can I still compile my current code with Xcode 6 swift/1.2 ? does Apple accept this kind of submission or they requires a build created with Xcode 7.
2) Can I avoid switching to swift 2.0 and use anyway XCode 7?
You can still use Xcode 6 and Swift 1.2. Apple will eventually require the newer tools but the now older one is still fine.
Of course you can't take advantage of any iOS 9 features this way but at least make sure your app works under iOS 9.

Move from Xcode 5 to Xcode 6?

I'm using Xcode 5.1.1 on a MacBook Pro running OS 10.8.5. I've built an iPhone app (my first) using the iOS 7 SDK. Things are very stable, and the app is, I believe, ready for TestFlight.
Now I'm assailed by Xcode 6 and iOS 8. I want to go forward, but am kind of spooked that switching Xcode at this point may run the risk of breaking things. A lot of the reviews I read are negative, but I expect people who have problems are more likely to bellyache than those for whom things go smoothly. OTOH, I read that TestFlight is well-integrated into Xcode 6.
I recognize that answers to this question may be opinion-based, but I haven't found anything specific offering guidance for my particular circumstance.
Should I take the chance and upgrade Xcode and the app, or wait until I've launched, then upgrade and work iOS 8 support into an update?
Afterthought
I just checked and the upgrade to Xcode 6 requires an OSX upgrade to 10.9.3, which adds another layer of terror. :-O
Resolution
Ok, I steeled myself and went forward with the upgrade--Mavericks and Xcode 6. First thing I noticed is that my keyboard isn't appearing in my user input modals. But that's a subject for another post. Other than that, the OS and Xcode seem to be working ok.
Yes! There will be a few adjustments to make, but there always is. The only thing that's caused me extra time so far is Xcode 6 Auto-Layout for iOS 7 devices (e.g. layout margins). But it's not too bad.
Chances are many of your users are already on iPhone 6 and 6 Plus and/or iOS 8. Do you really want to ship to them without optimizing for their devices?

Migration project to iOS 7 required or not?

I have project which was developed iOS 6 and when I install it on device with iOS7 it's looks good. But now I update xcode to 5th version and now it's look not so fine. I know about application migration. My question is will I have some problems if I will continue using xcode 4 and upload to Apple will be targeted to iOS 6?
Your iOS 6 app runs in a compatability mode when run on iOS 7. You can currently submit apps compiled with older versions of Xcode but they will stop accepting them at some point -- and probably quite soon.
To directly answer you question: no, you don't have to update now. But assuming you will want to maintain the app for more than another couple of months it's some work you'll have to schedule.
Update: Apple will require new and updated apps to be compiled with Xcode 5 from February 1 2014, around four months after iOS 7 came out.
You are fine with Xcode 4 -- for now. But I would advise to get familiar with the iOS 7 SDK and Xcode 5 as soon as possible.
You did not explain why "it's look not so fine". Just set the target OS to 6.0, and it should really behave exactly the same way, maybe with a couple of more warnings.
I have left a project on the App Store, compiled with iOS 5.
With my surprise (I did not know about that) I found out that the App, running on iOS 7 device looks perfectly fine, without all the problem of elements positioning, just as it was on an iOS 5/6 device. Even the keyboard is displayed old style.
On the contrary if I run with a simulator, everything is messed up. So I choose to leave as it is, and plan a layout upgrade in the nearest future.
Yes. You can use 4.
You want you can build against an older sdk with 5.
How to build against older iOS versions with the latest Xcode downloads?

Resources