Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 6 beta build fails after moving -Bridging-Header objective-c swift xcode6

I am facing build fail error after moving Bridging-Header objective-c swift on xcode6. Before I moved header file, it had been working fine. The error shows header file not exist. The header file path remains still old path in error log. I tried build clean, but still old path remains. How can clean the objc-header-path?

like image 601
tajihiro Avatar asked Dec 11 '22 03:12

tajihiro


2 Answers

You need to update the path in your project's Build Settings to point to the new bridging header location.

Click your target and then click 'Build Settings' then search for Objective-C Bridging Header

enter image description here

like image 142
Austen Chongpison Avatar answered May 07 '23 15:05

Austen Chongpison


You'll find the path to the bridging header in your target's Build Settings, under "Swift Compiler - Code Generation"/"Objective C Bridging Header".

like image 26
Matt Gibson Avatar answered May 07 '23 14:05

Matt Gibson