Solution for real machine debugging and "cocould not find Developer Disk Image", finddeveloper

Source: Internet
Author: User

Solution for real machine debugging and "cocould not find Developer Disk Image", finddeveloper

Test procedure

1. Run Xcode. After Xcode is enabled, click 'xcode 'in the upper left corner and click 'preferences '.

2. In the open window, click 'accounts', switch to the Account page, click the '+' icon below, and click 'add Apple id' in the pop-up menu '.

3. In the pop-up dialog box, enter your AppleID and password (no $99 account is required, as long as you can log on to the AppStore to download the app's normal account ). After entering the information, click 'add '.

4. if the account and password are correct, Xcode adds the account to the account list. Click the account on the left to list the development authorization for this account. The Agent indicates that this account is a paid account, free indicates that the service is not paid, but debugging is Free of charge.

Double-click it.

5. The certificate and authorization file are blank here. Click the plus sign in the middle and select 'ios Development 'in the pop-up item '.

6. Wait a moment and the certificate will be generated automatically. It is named after your account.

7. The following Provisioning Profiles are blank, because we have not submitted the ID and the device UDID. It must be blank here. Click 'done' to turn it off.

8. Continue. You don't need to worry about this Window. Let's click 'window'-> 'devices '. Connect the real machine to the computer.

9. After identifying the device, wait for Xcode to automatically enable the debugging mode for you. If the device is stuck in the chrysanthemum for a long time, unlock the real machine and click "trust" in the dialog box that appears '.

After the preparation is complete, you can close this window.

Note: When the version of the real-time system is too high or too low, the "cocould not find Developer Disk Image" error may occur. solution:

The devices supported by Xcode are listed in the folder "/Applications/Xcode. app/Contents/Developer/Platforms/iPhoneOS. platform/DeviceSupport.

Solution 1: Copy this file (http://download.csdn.net/detail/cvbtvbwu/9340467) to/Applications/Xcode. app/Contents/Developer/Platforms/iPhoneOS. platform/DeviceSupport, and then restart xcode (completely quit.

Solution 2: Update Xcode to version 7.2.

 

10. The PP file must be generated by Apple, so we can use Xcode to generate one for us. Click 'file'-> 'new'-> 'project' to create an Xcode Project.

11. Select the iOS type and select a model, 'Next '.

12. Fill in the content in the project name, And AppID will be automatically generated based on this. In Devices, if your iPhone is used, select iPhone. 'Next '.

13. Select "Save location". I put it on the desktop, so click "desktop", right-click the blank area, and select "New Folder" to create a New Folder for the project.

14. Double-click to enter the new folder.

15. Click 'create' to save.

16. after selecting the storage location, we will immediately enter the project. Because Xcode7 comes with iOS9, our device is only 8.3, and the downloaded SDK is also 8.3, we will first reduce the version, select 8.3 first.

17. Click here and select our device. (The device type in 'devices' will automatically read the settings when the new project is created. If not, select the correct type)

18. Select the device you want to connect to the MAC. If you cannot select the device, you must first go back To Step 4 to downgrade the version.

19. Click 'team.

 

20. Xcode will automatically read the account we added earlier and select it.

 

21. Click 'fix IsSue 'and let Apple generate Provisioning profiles for us.

 

22. This process is complete (we do not need to fill this table) (fill that table) (you have to prove that your mom is your mom...

 

23. If you can see all of these options, it indicates that the file has been generated in a distant place. Let's download it back.

 

24. Click 'xcode '-> 'preferences '.

 

25. Double-click it.

 

26. Click 'refresh 'in the lower left corner. After a moment, Xcode will download the PP file from another place. Click 'right' on the extracted PP file and select 'show in Finder '.

 

27. Double-click it to automatically install it on the real machine. (The premise is that your device must be connected to MAC)

 

28. The window flashed back to the previous place, indicating that the installation was complete. Let's verify it.

 

29. Click 'window'-> 'devices' in the menu '.

 

30. In 'devices', right-click our real machine and select 'show Provisioning profiles '.

 

31. Good. As we can see, click 'done' to turn it off.

 

32. The 'devices' window is also closed.

 

33. The 'accounts' window is also closed.

 

34. Minimize the Xcode project because it will be used later. Open PAServer.

 

35. Click the blank area on the desktop. After you return to the desktop, click 'go to '-> 'apple '.

 

36. Run PAServer 16.0

 

37. Running, in good status ..

 

38. Go back to Windows and add the iOS SDK in XE8. I will not go into details here. You can refer to the old article. After the configuration, open a project. Here, select a built-in Demo and select the compilation type and device.

 

39. Click 'project'-> 'options' to configure the certificate.

 

40. Open Options and select 'version info'. In CFBundleIdentifier, enter the Bundle Identifier generated by the project we created in Xcode. The following versions are 7.1 by default. Do not change them. (2015.11 in particular, this does not mean the lowest IOS version of the application to be installed. This means that the compiler generates info in the format of version 7.1. plist, because the SDK varies greatly in different periods. For example, the value of XCODE4.x is 6.0)

 

41. After Bundle identifier is filled, click 'proisioning' in the lower left corner and select 'ios Device-32bit 'in 'debug' on 'target '.

 

42. In 'build type', select 'ios Device-32bit-Development '.

 

43. In 'provision Profile ', select your PP file. If no exceptions occur, XE8 can be obtained correctly.

 

44. In 'developer certificate', select our Certificate. If no exceptions occur, XE8 can be obtained correctly.

 

45. If all of them are correct, the operation is actually the same as that of the paid account, that is, compiling the APP.

 

46. Run the project and we will soon be able to see the FireMonkey icon on our real machine. The following information indicates that the App on the real machine is already running.

 

47. Attach a real machine to run the App (iPad Mini2, iOS8.3)

 

 

 

At this point, the XE8 + Xcode7 real machine debugging has been completed.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.