# SPM dependency with trait conditions This example contains an app that depends on the [Apollo iOS](https://github.com/apollographql/apollo-ios) SDK. Apollo depends on [SQLite.swift](https://github.com/stephencelis/SQLite.swift), which has a trait-conditional dependency on SQLCipher. This fixture validates that Tuist correctly filters out dependencies whose trait conditions are not satisfied. Specifically, the SQLite version [0.15.5](https://github.com/stephencelis/SQLite.swift/releases/tag/0.15.5) introduced those traits. As such we pinned that version in the Package.swift file [Check out example](https://github.com/tuist/tuist/tree/main/examples/xcode/generated_spm_dependency_with_trait_conditions)