You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When building for a device, using command-line tools via Cordova's CLI, the xcodebuild is failing. The errors all seem to stem from missing module files.
The error is not reproducible when building for a simulator via Cordova's CLI. The error is not reproducible when opening the workspace in Xcode and building or archiving for a device.
To reproduce
Integrate LaunchDarkly with a Cordova project via Cocoapods and build for a device.
Expected behavior
Build succeeds.
Logs
The following error is encountered numerous times:
<unknown>:0: error: module map file '<snip>/BuildProductsPath/Debug-iphoneos/LDSwiftEventSource/LDSwiftEventSource.modulemap' not found
<unknown>:0: error: module map file '<snip>/BuildProductsPath/Debug-iphoneos/LDSwiftEventSource/LDSwiftEventSource.modulemap' not found
<unknown>:0: error: underlying Objective-C module 'LaunchDarkly' not found
<snip>/Pods/LaunchDarkly/LaunchDarkly/LaunchDarkly/Service Objects/ClientServiceFactory.swift:9:8: error: cannot load underlying module for 'LDSwiftEventSource'
import LDSwiftEventSource
SDK version
5.3.0
Language version, developer tools
Cordova CLI 9
Cordova iOS 6.1.1
Xcode 12.0.1
Cocoapods 1.10.0
OS/platform
macOS 10.15.7
Additional context
I understand that LaunchDarkly does not offer a Cordova integration. I understand and am not expecting support specific to Cordova. However, the product of Cordova's tooling is an Xcode project like any other and the CLI ultimately is calling xcodebuild, so I'm hoping to investigate that from this point of view and then I can figure out how to apply any finding back to the Cordova tool chain.
The text was updated successfully, but these errors were encountered:
I see that you've filed this issue with LaunchDarkly's support team as well. As that ticket has additional information such as your build logs, let's consolidate the conversation over there.
The event payload based on our specifications should only have `redactedAttributes`, not `privateAttributes` in the payload. No private attribute values were sent even before this fix, only the field names were duplicated.
Please see the Slack threads linked in the shortcut ticket for more details.
Describe the bug
When building for a device, using command-line tools via Cordova's CLI, the xcodebuild is failing. The errors all seem to stem from missing module files.
The error is not reproducible when building for a simulator via Cordova's CLI. The error is not reproducible when opening the workspace in Xcode and building or archiving for a device.
To reproduce
Integrate LaunchDarkly with a Cordova project via Cocoapods and build for a device.
Expected behavior
Build succeeds.
Logs
The following error is encountered numerous times:
SDK version
5.3.0
Language version, developer tools
OS/platform
Additional context
I understand that LaunchDarkly does not offer a Cordova integration. I understand and am not expecting support specific to Cordova. However, the product of Cordova's tooling is an Xcode project like any other and the CLI ultimately is calling xcodebuild, so I'm hoping to investigate that from this point of view and then I can figure out how to apply any finding back to the Cordova tool chain.
The text was updated successfully, but these errors were encountered: