Nimble icon indicating copy to clipboard operation
Nimble copied to clipboard

"Could not build module 'Nimble'" when linking Nimble from Cocoapods... but tests pass

Open hokster7 opened this issue 11 years ago • 9 comments

Really confused about this one... :S

screen shot 2015-07-28 at 16 57 41

hokster7 avatar Jul 28 '15 16:07 hokster7

Is this Xcode 7? I've noticed it in Xcode 7, in my Swift tests. If I move a different module above it, like the module I'm testing, it errors there instead.

brentleyjones avatar Jul 31 '15 20:07 brentleyjones

Also, I don't use CocoaPods, I have Nimble in my workspace as a project.

brentleyjones avatar Aug 02 '15 00:08 brentleyjones

No this is Xcode 6. I use Cocoapods.

hokster7 avatar Aug 03 '15 08:08 hokster7

@fatuhoku Did you try full cleaning the project? Xcode is inconsistent with modules and tends to persist these errors longer than it should.

jeffh avatar Aug 13 '15 06:08 jeffh

I face same problem.

Also, I use Xcode6 and CocoaPods.

tomboy67 avatar Sep 08 '15 01:09 tomboy67

@jeffh I'm pretty sure I tried cleaning and rebuilding before writing this issue. The error exists only for Nimble repeatedly, and not other modules if I remember. It's been a while since I've had the need to use Quick+Nimble.

hokster7 avatar Sep 08 '15 08:09 hokster7

I got it to sort of work by setting the EMBEDDED_CONTENT_CONTAINS_SWIFT to YES directly on the Pod Target for Nimble. @fatuhoku Can you try that?

programmerdave avatar Dec 02 '15 23:12 programmerdave

I've tried setting EMBEDDED_CONTENT_CONTAINS_SWIFT to YES, but it doesn't solve the problem.

But after updating to ver3.0.0 issue was no longer there.

appleios avatar Dec 29 '15 11:12 appleios

This issue is pretty stale now, and I'm not observing the problem. I'm going to close it, but feel free to reopen it @fatuhoku if you are still running into it!

briancroom avatar Feb 09 '16 16:02 briancroom