Closed arik-so closed 4 years ago
@arik-so
Try updating your Podfile so it contains:
pod 'SwiftSocket', :git => 'https://github.com/swiftsocket/SwiftSocket', commit: '4a3af2cbbaef5b2fddbaff80f6767fecc0ce5fe2'
Then run rm -rf Pods/ && pod install
and see if there is still an issue.
Alas, the issue persists. I cleaned the build folder to be safe, too.
@arik-so Can we see your Podfile? (Feel free to censor sensitive names/targets/data)
I'm working on an open-source project that relies on some C bindings from a compiled Rust library, so there's nothing secret :)
My Podfile looks thus:
target 'Swift Rust FFI' do
pod 'SwiftSocket', :git => 'https://github.com/swiftsocket/SwiftSocket', commit: '4a3af2cbbaef5b2fddbaff80f6767fecc0ce5fe2'
end
Before I added a Podfile, though, I did have to add some frameworks and configure a custom Objective-C bridging header as well as a library search path.
Try a Podfile that looks below:
use_frameworks!
inhibit_all_warnings!
target 'Swift Rust FFI' do
pod 'SwiftSocket', :git => 'https://github.com/swiftsocket/SwiftSocket', commit: '4a3af2cbbaef5b2fddbaff80f6767fecc0ce5fe2'
end
If there is still an issue, I would suggest making a new empty project and try using the Podfile along with the new project to eliminate all sources to the issue expect for your current project.
Excellent, that worked; thank you so much!
Using Xcode 11 and building against iOS 13, I'm getting the following error:
I made sure that I am opening the
*.xcworkspace
file, and I followed Cocoapod's troubleshooting steps.Any ideas what might be causing it? I did have to manually change the Pod's Swift version from 3 to 5.