Skip to content

Error when install via Cocoapods. "Could not build Objective-C module 'DarklyEventSource' #193

@clehew

Description

@clehew

Describe the bug
I am unable to use the Launch Darkly pod because when I try to build my project I see this:

error: 'DarklyEventSource/LDEventSource.h' file not found
#import <DarklyEventSource/LDEventSource.h>
^
:0: error: could not build Objective-C module 'DarklyEventSource'
:2:9: note: in file included from :2:
#import "Headers/LaunchDarkly-Swift.h"

To fix this I have cleared derived data, removed all pods and reinstalled the pod as the only pod in my project. I cannot seem to find a way to get past this error.

To reproduce
Just did a pod install.

Expected behavior
Launch Darkly should be installed and my project should build.

Logs
If applicable, add any log output related to your problem.

SDK version
pod 'LaunchDarkly', '4.1.2'

Language version, developer tools
Xcode 10.3
Swift 5

OS/platform
iOS 10.0 is our deployment target

Additional context
At first I assumed this was a random Cocoapods error, but after uninstalling the pods and reinstalling, I can't seem to fix this. Any insight would be helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions