Tuesday, 24 October 2017

iOS 11/12 Debugging with Xcode 8/9 without upgrading to Xcode 9/10

Note: Download  iOS 12 support file from here and follow the same steps to achieve iOS 12 Debugging on Xcode 9.

Hello Everyone, as we all know new version of iOS (iOS 11) and Xcode (Xcode 9) launched by apple. To run on iOS 11, we need to upgrade our code with Xcode 9, but many of us do not want to upgrade our code to new Xcode 9 due to reasons like:

# Working on swift version below 3.0 and Xcode 9 will work only above 3.0
# Due to some compile time errors while running on Xcode 9.
# Need more time to fix build issue and conversion issue to run our code on Xcode 9.

Don't worry, there is another way to debug iOS 11 without upgrading to Xcode 9. You can use older Xcode 8 to debug iOS 11 device. You just need to follow the below steps:

Step 1: Download Xcode 9 (https://developer.apple.com/download/) & Install it. Do not replace the Xcode 8 while install, chose keep both rather than replacing the previous one.


Step 2: Find the installed Xcode 9.app file in application folder, and right click to icon and click Show Package Content.






Step 3: Go to Contents > Developer > Platforms > iPhoneOS.platform > DeviceSupport
or use the finder goto folder with path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Here you will see iOS 11 Support file folder, copy it.







 Or you can download the support files from here iOS 11 Device support file

Step 4: Now, In Application folder, Right click on  Xcode 8 and click on show content packages.



Step 5: Go to Contents > Developer > Platforms > iPhoneOS.platform > DeviceSupport
or use the finder goto folder with path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
Paste the Copied iOS 11 Support files folder here.




Once you paste it , confirm you have the iOS 11 files in device support of XCode 8.






Step 6: Restart the Xcode 8 and quite the Xcode 9,  now you can run your code on iOS 11 with Xcode 8.

4 comments:

  1. It was wondering if I could use this write-up on my other website, I will link it back to your website though.Great Thanks.
    iPhone app development Sydney

    ReplyDelete
  2. One of the key features said to be coming to
    the HomePod is the ability to make or receive phone calls
    Read More At iOS Online Training Hyderabad

    ReplyDelete
  3. I really liked your Information. Keep up the good work. Sign IOS App

    ReplyDelete