1

What I want

I would like to use new iOS10 classes and methods with Xcode 7. Is it possible and if yes, how?

What I tried (it didn't work)

Based on this question, I have tried to do

sudo ln -s "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0 (14A345)" "/Applications/Xcode7.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0"

but it didn't work. I am able to run code on a device running iOS10 but I want to use new classes and methods (@import UserNotifications; for instance).

Community
  • 1
  • 1
Colas
  • 3,473
  • 4
  • 29
  • 68

1 Answers1

0

What you've done is to support running on devices with iOS 10.

To support new functions you need to include headers and link with libraries from new SDK (you can try to copy it too).

Anton Malyshev
  • 8,686
  • 2
  • 27
  • 45