Swift Package and xcframework target for C library: where to include the header?

Does changing the // swift-tools-version: 5.9 down to 5.4 make a difference? Perhaps there's a change in behavior or regression?