简体   繁体   中英

Completely unrelated error using coredata

bridging header '/Users/bobby/Desktop/Project/Project_Name/Project_Name-Bridging-Header.h' does not exist

I am getting this error, trying to use core data to save data in my iphone app. It Shows up even when I put in a bridging header, though I shouldn't need to because it's on swift.

Try this:

Go to targets -> Build Settings -> Swift Compiler - Code Generation -> Objective C Bridging Header and Double click on it and do this:

在此输入图像描述

Hope this will help you.

  1. Delete any bridging header in Navigator
  2. Delete any path in targets -> Build Settings -> Swift Compiler - Code Generation -> Objective C Bridging Header, it should look like this:

在此输入图像描述

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