简体   繁体   中英

Swift4 - Xcode 9 PCH error

This project works well all the time until I install a framework. Once the framework seems hard to handle, I uninstall it. Then, xcode 9 read PCH error.

I perform this project with Swift, and I know little about OC. How this error happens suddenly?

The error cannot be cleaned~~ I do not know why and how to handle this

在此输入图像描述

UPDATE:

I solved this by myself. Though simple and crude, it finally worked:

  1. Clean abandoned tissues in -> project-> Link -> other Link flags
  2. Clean abandoned tissues in -> target -> Built settings -> search path ->Header search path.
  3. Update -> target -> Built settings -> search path ->Framework search path, discard unavailable issue.
  4. Delete file name started with Pod, except Podfile, and re-execute pod install.

I still do not know which way works, but it finally worked. Feel so weird.

Shift + alt + command ⌘ + K

Clean the derived data, build again.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM