Fix decoding Package.swift when products.type is automatic.
Fix measuring binary size of dynamic libraries. To do that an embedded framework was added to the empty Measurement project (which also adds a PBXCopyFilesBuildPhase for Embed Frameworks), and dynamic library product are also embedded into the project target before measuring its size.
Package.swift
whenproducts.type
is automatic.PBXCopyFilesBuildPhase
for Embed Frameworks), and dynamic library product are also embedded into the project target before measuring its size.