Closed soucolline closed 2 years ago
Same here. The build flags need to be changed from
'OTHER_LDFLAGS' => '$(inherited) -weak-lswiftXCTest',
to
'OTHER_LDFLAGS' => '$(inherited) -weak-lXCTestSwiftSupport',
in the podspec according to this post: https://github.com/Quick/Nimble/issues/855
Thank you for looking into this! Do you want to submit a PR with a fix?
I'll go ahead and do the change myself and release a new version. We'll then have to check if the -weak-lXCTestSwiftSupport
works with older Xcode versions.
I just created the PR: https://github.com/Brightify/Cuckoo/pull/389
Oh, I see @thatswinnie already made a PR, that's wonderful!
Unfortunately I'm unable to release a new version on my machine (CocoaPods misconfigured on M1 Mac) and will have to wait for my colleague to release it tomorrow. In the meantime, please try using the master
if you need it. And if some of you still have Xcode 12.4 (or older), please try the master
branch with it to see if we'll need more changes to be backward compatible. Thanks a lot for your help!
I've tested on 12.4 and 12.5 and it's working with the master branch 👍
It's working for me as well on both Xcode versions (12.4 & 12.5). Thanks @TadeasKriz !
Thanks to you @thatswinnie for the PR!
Everything is good for me since the last release, i'll let you guys close the issue if it's ok for you. Thank you all for your help 👍
What is the fix? I am still having this issue. My Xcode version is 12.5.
Hello, since i've updated Xcode to 12.5 Cuckoo fails immediately with an error :
library not found for -lswiftXCTest
Is there something to be done framework side or could it be a bug from Xcode ?