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