Uppgradera Swiftkod

Hur att få hjälp med att uppgradera en gammal Swiftkod från Xcode 6.4.
Xcode 6.4 is very old!
Can you be more specific about the code that you need to upgrade?
Have you tried building it with a more recent version of Xcode?
What kind of errors do you get?
So, you have a code that was developed with Xcode 6.4 ?

Which Xcode do you want to use now ?

You may have to upgrade several times, correct the code each time, with intermediate versions of Xcode (something like):
  • 6.4 -> 8

  • 8 -> 10

  • 10 -> 12

You can download older versions of Xcode here : https://developer.apple.com/download/more/

Another way is to create a new project, rebuild the Storyboard and paste as much code as you can.


Så har du en kod som har utvecklats med Xcode 6.4?

Vilken Xcode vill du använda nu?

Du kan behöva uppgradera flera gånger, korrigera koden varje gång, med mellanversioner av Xcode (ungefär som):
  • 6.4 -> 8

  • 8 -> 10

  • 10 -> 12

Du kan ladda ner äldre versioner av Xcode här: https://developer.apple.com/download/more/

Ett annat sätt är att skapa ett nytt projekt, bygga om Storyboard och klistra in så mycket kod som möjligt.
Koden är byggd 2015 på Mac IOS El Capitan. När jag vill se appen på en extern iPhone får jag följande meddelande "No provisioned iOS device are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination".
Jag har bara iPhone 5 och där fungerar inte appen. Inte heller på någon av de föreslagna simulatorerna. Detta trots att appen är "Succeeded" uppladdad. Kanske är det en bug i koden.
Kan jag få köpa Din hjälp med att kolla koden. Jag har glömt hur jag gjorde koden - men jag behöver använda appen.
/ Christer = UCH

I translate because I do not master swedish well enough…

The code was built in 2015 on Mac IOS El Capitan. When I want to see the app on an external iPhone I get the following message "No provisioned iOS device are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination" .
I only have an iPhone 5 and the app does not work there. Nor on any of the proposed simulators. This ***** that the app is "Succeeded" uploaded. Maybe it's a bug in the code.
Can I buy your help with checking the code. I forgot how I made the code - but I need to use the app.

  • Which iOS version on iPhone 5 ?

  • How do you install the app on the device ? From Xcode by building the app ?

  • Have you the full code of the app ?

  • Is it Swift or objC code ?

If you post an email for contact, I propose you to send me the full project. And I'll have a look, at least on simulators.


- Vilken iOS-version på iPhone 5?
  • Hur installerar du appen på enheten? Från Xcode genom att bygga appen?

  • Har du appens fullständiga kod?

  • Är det Swift- eller objC-kod?

Om du skickar ett e-postmeddelande för kontakt föreslår jag att du skickar mig hela projektet. Och jag tittar, åtminstone på simulatorer.
Hello Claude31
I want to send you the project, but how to do it. I have no email address to send to.
/ UCH
Please post your address here for a few minutes. I will reply to you and then you'll remove the address.
You do not reply rapidly. I will leave the computer for some time now.

Did you set an alarm on your post to get informed of the new messages ?
Uppgradera Swiftkod
 
 
Q