weijia.wang weijia.wang - 19 days ago 6
iOS Question

swift3.0 project can't have .h file in any tags

my project created by swift3.0.and i had create

.h
file as bridge file.enter image description here

but this file
Target Menbership
can't edit,like:enter image description here

add this bridge file:
enter image description here

error:
enter image description here

what should I do??

plu plu
Answer

Change the value of the build configuration Objective-C Bridging Header from Bridging-Header.h to MyWidgetDemo/Bridging-Header.h. This is where the file actually is. I could see that in your screenshot next to Full Path.

Comments