Tech Geek
Tech Geek

Reputation: 401

Is it possible to update old xcode code to the latest xcode?

So my developer developed my app in xcode 5 and i have the latest xcode version. When i tested the app on my version, a lot of features stopped working. My developer told me that it could be the different xcode versions between us. I was wondering if it is possible to fix this without changing the SDK or xcode version.

If it comes to me changing the xcode version, will i not be able to add apple's latest features to my app?

Also, when i add an SDK into the SDK folder, do i have to replace it with the current one or do i just leave both in there together?

BTW i don't know anything about programming, so i only speak noobish.

Thanks!

Upvotes: 0

Views: 1087

Answers (2)

Utsav Parikh
Utsav Parikh

Reputation: 1206

You need to upgrade the code as per the latest iOS version. All the deprecated methods need to be replaced with the new ones. Also the codes that once worked with previous versions of iOS may be or may not be working with the latest version of iOS i.e iOS 8. So an upgrade to the code will be required.

Upvotes: 0

dandan78
dandan78

Reputation: 13924

When parts of an application stop working after the version of Xcode is updated, the reason is almost always a change in the SDK since newer versions Xcode contain newer versions of the SDK. Additionally, stuff from older SDKs often gets deprecated and is eventually removed.

However, you should be aware that Xcode 5 is very dated nowadays and should not (and cannot) be used for developing applications for iOS 8. As a rule, when a new version of Xcode comes out, all existing code should be updated to the current version of the SDK and developers should upgrade to the latest version because it prevents issues like the ones you are describing.

Upvotes: 1

Related Questions