Tried Xcode 12.5 beta.
I expected Nimble to continue building.
Build is failing due to missing libswiftXCTest. According to the beta release notes, it's been replaced.
List the software versions you're using:
Please also mention which package manager you used and its version. Delete the
other package managers in this list:
Any project out there with with Nimble added via CocoaPods.
Thanks for raising an issue. Looks like the libXCTestSwiftSupport was introduced on Xcode 11 so we can safely replace the references.
Is there a reason the PR from @evelynccordner was closed? It seems like #863 is all that's needed.
Is there a reason the PR from @evelynccordner was closed? It seems like #863 is all that's needed.
@CraigSiemens I wanted to test it on a forked repo first, thanks for the reminder, this fix is working for us, I'll re-open the PR.
resolved by #863.
@ikesyo Could you make a numbered release out of it, please?
Hello. Will be coming out soon a new version with the fix?
Temp workaround
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "Nimble"
target.build_configurations.each do |config|
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
new_xcconfig = xcconfig.sub('lswiftXCTest', 'lXCTestSwiftSupport')
File.open(xcconfig_path, "w") { |file| file << new_xcconfig }
end
end
end
end
Temp workaround
post_install do |installer| installer.pods_project.targets.each do |target| if target.name == "Nimble" target.build_configurations.each do |config| xcconfig_path = config.base_configuration_reference.real_path xcconfig = File.read(xcconfig_path) new_xcconfig = xcconfig.sub('lswiftXCTest', 'lXCTestSwiftSupport') File.open(xcconfig_path, "w") { |file| file << new_xcconfig } end end end end
@khramtsoff where do I have to put this code in?
@khramtsoff @hbtpoprock
As stated in https://github.com/Quick/Nimble/pull/863#issuecomment-826052018, this is fixed in v9.0.1 or later. You don't need that workaround anymore.
Most helpful comment
Temp workaround