Adaptation of IOS Xcode8

Source: Internet
Author: User

1. A lot of log information is printed after opening the appWorkaround:Xcode8 inside Edit Scheme ...--Arguments, add Os_activity_mode = disable inside Environment variables 2. Comments cannot be resolved with shortcut keysThis is because Apple solves Xcode ghost. Block the plugin. Workaround command run: Sudo/usr/libexec/xpccachectl then must restart the computer after it takes effect3. A network problem occurred while adding the certificate, retry several times or restart Xcode. 4. Regarding the authority question, Xcode8 's album, The correspondence record, the camera all must be configured by oneself, otherwise will crash. Privacy-microphone Usage Description// Microphone permissions
Privacy-contacts Usage Description // Address Book permissions
Privacy-camera Usage Description // camera permissions

Add under the Info.plist file

Camera Permissions <key>NSCameraUsageDescription</key><string>cameraDesciption</string> album permissions <key >NSPhotoLibraryUsageDescription</key><string>photoLibraryDesciption</string> Xcode code hints function failsSecond, the command version

1. CD into ~/library/developer/xcode/deriveddata
2. LS a bit
3. Find the directory you are using for your project (usually starting with your project name)
4. CD Directory Name
5. Rm-r Index Delete the indexed folder for your project

Back to the top three, the stubborn version of

The first two operations, in fact, are the same kind of operation. After trying, it's not going to work out. Look here, Xcode can not be prompted because the file is not automatically indexed, the cache is not processed, so the smart prompt is invalid. After I've tried a variety of solutions, the problem Xcode will usually recover by following these steps:

1. Exit Xcode2. Restart your computer 3. Find this Deriveddata folder Delete (path: ~/library/developer/xcode/deriveddata) 4. Delete this Com.apple.dt.Xcode file (path: ~/library/caches/com.apple.dt.xcode) 5. Running Xcode is good ~ ~

Adaptation of IOS Xcode8

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.