https://github.com/Datadog/dd-sdk-ios makes Tuist break when using this dependency.
Create a project with this dependency:
Package.swift
let package = Package(
name: "Package",
platforms: [
.iOS(.v16)
],
products: [
...
],
dependencies: [
.package(
url: "https://github.com/Datadog/dd-sdk-ios.git",
from: "2.5.0"),
],
targets: [
.target(
name: "Target",
dependencies: [
.product(
name: "DatadogCore",
package: "dd-sdk-ios",
condition: .when(platforms: [.iOS, .macCatalyst])),
.product(
name: "DatadogLogs",
package: "dd-sdk-ios",
condition: .when(platforms: [.iOS, .macCatalyst])),
.product(
name: "DatadogTrace",
package: "dd-sdk-ios",
condition: .when(platforms: [.iOS, .macCatalyst])),
.product(
name: "DatadogRUM",
package: "dd-sdk-ios",
condition: .when(platforms: [.iOS, .macCatalyst])),
]
)
]
)
Run tuist install && tuist generate
Undefined symbol: std::__1::__shared_weak_count::__get_deleter(std::type_info const&) const
Undefined symbol: std::exception::what() const
Undefined symbol: std::logic_error::logic_error(char const*)
Undefined symbol: std::length_error::~length_error()
Undefined symbol: std::bad_array_new_length::bad_array_new_length()
Undefined symbol: std::bad_array_new_length::~bad_array_new_length()
Undefined symbol: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::resize(unsigned long, char)
Undefined symbol: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)
Undefined symbol: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)
Undefined symbol: std::__1::__shared_weak_count::__release_weak()
Undefined symbol: std::__1::__shared_weak_count::~__shared_weak_count()
Undefined symbol: std::__1::mutex::lock()
Undefined symbol: std::__1::mutex::unlock()
Undefined symbol: std::__1::mutex::~mutex()
Undefined symbol: std::exception::~exception()
Undefined symbol: std::set_terminate(void (*)())
Undefined symbol: std::terminate()
Undefined symbol: typeinfo for std::__1::__shared_weak_count
Undefined symbol: typeinfo for char*
Undefined symbol: typeinfo for std::length_error
Undefined symbol: typeinfo for std::bad_array_new_length
Undefined symbol: typeinfo for std::exception
Undefined symbol: typeinfo for char
Undefined symbol: typeinfo for double
Undefined symbol: typeinfo for long double
Undefined symbol: typeinfo for float
Undefined symbol: typeinfo for unsigned char
Undefined symbol: typeinfo for int
Undefined symbol: typeinfo for unsigned int
Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibility56
Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibilityConcurrency
Linker command failed with exit code 1 (use -v to see invocation)
14.4.1
4.9.0
15.2.0
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too