![]() ![]() In the story board, choose your first view controller, go to the Attributes inspector, and set orientation to 'Portrait' in the Simulated Metrics section. Un-click the orientations that you do not want your application to support. Not sure what is triggering this behavior but I will file a Radar for this. Open the Summary page, and go to the Supported Interface Orientations section. Update: My device seems to lapse back into not being able to be used for profiling some time after performing these steps - I've had to reboot my device again in order for it to be available for profiling. Please note that this was done using Xcode 7.0.1. I'm unsure how my device ended up in this state however I will be on the lookout to see if this continues to occur. ![]() Now I was able to select the device in Instruments and profile it.Īs a side note, I was also again able to delete installed apps from the Devices window (I realized that this was not possible to do previously).(I have not been presented with this option for subsequent occurrences.) Opening the Devices window, the device appeared to be available. Here Xcode did not prompt me for anything nor was anything displayed - no additional messages indicating anything had been done or that the device was or was not available for development. ![]() Upon selecting it, a message was displayed with the title "Enable this device for development?" and message "This will open Xcode and enable this device for development." (Note that this only happened to me the first time I went through this process even though I had already been using the device for development - whereas some users have also reported that they are not presented with this dialogue.) After Instruments launched I noticed that the device was enabled.Xcode 10 supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 10 is available in the Mac App Store and includes SDKs for iOS 12, watchOS 5, macOS 10.14, and tvOS 12. Open your project clean (Shift+Command+K), Build (Command+B), Profile (Command+I). Update your apps to use new features, and test your apps against API changes.Here, my device showed as disabled and Xcode indicated that the device was not available for use. Restart the device & once it has booted completely re-connect it to your Mac.Unplug the device from your Mac & power down the device completely (hold the power button for several seconds slide to power off).I believe I may have finally gotten this to work properly. Update : I haven't encountered any issues with the latest version(s) of Xcode (7.2.x, 7.3), so it seems that the stability here has been improved. TL DR - Perform a complete reboot of your device restart Xcode & instruments select "Open Xcode" if prompted to enable the device for development. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |