简体   繁体   中英

Removing bridging header steps

I am removing the "target-Bridging-Header.h" and also removing it from build settings SWIFT_OBJC_BRIDGING_HEADER (Objcetive-C Bridging Header)

Do I need switch other flags to off (like Install Objective-C Compatibility Header or Precompile Bridging Header to off)?

Are there any other steps required to remove this?

在此处输入图片说明

No, removing the bridging header is enough. But the way to figure this out is to create a new, empty Swift project and see what the defaults are. You are basically trying to get back to that default, so just compare to what you see there. I create little throw-away projects all the time to check how they behave compared to a project I'm having a problem with or have a question about.

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