-
Notifications
You must be signed in to change notification settings - Fork 29
Support Swift pods #1
Comments
We probably need a way to pass in SWIFT_VERSION to the script so that we can use this setting while actually building. Assigning this to myself |
Hmm, that doesn't seem necessary. How does |
One can probably just always set SWIFT_VERSION based on the output of "xcrun swift -version" |
great tool, really appreciating your work and effort! but - any news on this issue? |
Fixed by #7.. Use --mode swift to make it work for swift pods. Will update the read me |
Unfortunately, that's not working for me - in fact, the tool is not working anymore at all with the newest commit ( I think it can be broken down to the following issues according to the logs:
Any suggestions? 😬 |
I will have a look |
Hey, I am unable to reproduce your issue. Can you check the xcode version you have installed by trying xcode-select --print-path? Also which version of swift do you have? |
Xcode Version is 10.0 |
@VinayGuthal Looking into your code, I suppose you're not on the latest Xcode & Swift version which causes the problems? |
I tried both ObjC and Swift using Xcode 9 and Xcode 10. For Xcode 9, both ObjC and Swift work for me. |
@pollini : Which exact version of Xcode 10 do you have? There was a known issue with the ObjC problem you have reported: CocoaPods/CocoaPods#8089 |
So eventually, I got above issues for Xcode 10 and Swift 4.2 fixed - namely by the following approaches:
|
When I pass
RxSwift
to the script, it failed with logs below,The text was updated successfully, but these errors were encountered: