using bridging headers with module interfaces is unsupported Command CompileSwiftSources failed with a nonzero exit code
15,504
I checked your problem and as per you selected project language project work properly in XCode 10.2 but you require changes for updated XCode 11.2.1
Please follow few things :
- Make sure first your bridging header file path is proper in build settings.
- You need to update razor pay pod because you add tag (pod 'razorpay-pod', '~> 1.1.1'), and pod updated in Swift 5.1 so please remove it and change pod name with
pod 'razorpay-pod'
- Please change your build settings. Set Build Library for Distribution in the build settings for the target framework to YES.
Hope it’s helpful to you.
![sagarmahi onwork](https://lh5.googleusercontent.com/-ABvXY0KQRHM/AAAAAAAAAAI/AAAAAAAAAAA/ACHi3rcZZlmhUUx12Ydv8vmIjDPAUFQArw/photo.jpg?sz=256)
Author by
sagarmahi onwork
Updated on June 24, 2022Comments
-
sagarmahi onwork about 2 years
I have razor pay pod in my project for payment gateway and
SWRevelViewController
file for side bar controller. I selected the swift 5 and iOS version 13 and updated all the pods but still getting errorerror: using bridging headers with module interfaces is unsupported Command CompileSwiftSources failed with a nonzero exit code
pod 'Alamofire', '~> 4.5' pod 'TWMessageBarManager' pod 'SwiftValidator', :git => 'https://github.com/jpotts18/SwiftValidator.git', :tag => '4.2.0' pod 'SDWebImage', '~> 5.0' pod 'DropDown' pod 'MBRadioCheckboxButton' pod 'SwiftyJSON', '~> 4.0' pod 'razorpay-pod', '~> 1.1.1' pod 'GoogleMaps' pod 'GooglePlaces' pod 'Firebase/Auth' pod 'SVProgressHUD' pod 'FacebookLogin' pod 'FacebookCore' pod 'ImageSlideshow', '~> 1.8.0' pod "ImageSlideshow/SDWebImage" pod 'Firebase/Core' pod 'Firebase/Messaging' pod 'PopupDialog', '~> 1.1' pod 'GoogleSignIn' pod 'AppAuth','~> 1.2.0'
-
Tony Xu over 4 yearssorry, but I'm not sure how else to help. Was there anything specific you observed in terms of errors or otherwise that you can share? I'll try my best to help.
-
sagarmahi onwork over 4 yearsIt works fine now, Thank you so much Anjali mam. I and dont have that much reputation yet your ans works, made my day. Thank you so much.
-
Sti over 3 yearsThe accepted answer says to set it to YES. This is confusing..
-
Yoshimitsu about 3 yearsNot a solution. Plus, you're posting a link to your own blog or whatever instead of answering the question in here.
-
Sirop4ik almost 3 yearsIt is not a solution as if you need to prepare the lib for distribution you need to have this option as YES
-
Wilfred Almeida almost 3 yearsMy header file has only 1 line
#import "GeneratedPluginRegistrant.h"
. Is this correct? -
Runt8 over 2 yearsThis does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. To get notified when this question gets new answers, you can follow this question. Once you have enough reputation, you can also add a bounty to draw more attention to this question. - From Review