|
|
|
|
|
by ChrisMarshallNY
1890 days ago
|
|
Ah. I see why this has not been an issue with me for most (maybe not all) of my projects. Most have only a single-layer dependency. Looks like this happens for chained dependencies ("a Swift package with binary dependencies", below), in apps with extensions (I have none). This is from the 12.4 notes[0]: > If you use a Swift package with binary dependencies in an app with extensions, the build system incorrectly embeds the binary dependencies alongside the extension in the PlugIns directory, causing validation of the archived app to fail. (69834549) (FB8761306)
Workaround: Add a scheme post-build action which removes the embedded binaries from the PlugIns directory after the build, e.g. rm -rf "${TARGET_BUILD_DIR}/${TARGET_NAME}.app"/PlugIns/.framework.* I do not see a note in the 12.5 notes addressing this[1]. [0] https://developer.apple.com/documentation/xcode-release-note... [1] https://developer.apple.com/documentation/xcode-release-note... |
|