Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add FB8761306 - Binary SwiftPM frameworks are copied (duplicated) int…
…o share extensions PlugIns directory causing the archive validation to fail
- Loading branch information
RadAzzouz
committed
Oct 1, 2020
1 parent
1a49996
commit 34073f6
Showing
8 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
...e extensions PlugIns directory causing the archive validation to fail/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Basic Information | ||
|
||
## Please provide a descriptive title for your feedback: | ||
|
||
Binary SwiftPM frameworks are copied (duplicated) into share extensions PlugIns directory causing the archive validation to fail | ||
|
||
## Which area are you seeing an issue with? | ||
|
||
Xcode | ||
|
||
## What type of feedback are you reporting? | ||
|
||
Incorrect/Unexpected Behavior | ||
|
||
# Details: | ||
|
||
## What version of Xcode are you using? | ||
|
||
Version 12.0 (12A7209) and Version 12.2 beta 2 (12B5025f) | ||
|
||
# Description | ||
|
||
## Please describe the issue: | ||
|
||
Binary SwiftPM frameworks are copied (duplicated) into share extensions PlugIns directory causing the archive validation to fail. This is likely because `PSPDFKit.framework` and `PSPDFKitUI.framework` are copied into the `PlugIns` directory, in addition to them being already into the `Frameworks` directory in the app’s bundle. See the `Finder-Frameworks` and `Finder-PlugIns` screenshot. Please also refer to the `Organizer-Duplicated-Frameworks` and `Validation-Failed`. | ||
|
||
Note that this problem only occurs for projects that have an app (share) extension and that use Swift Package Manager with binary frameworks. | ||
|
||
The issue does not occur for projects without a share extension (see the attached `Minimal.zip` sample project) or in projects with an app extension that does not use SwiftPM (see the attached `Minimal-ShareExtension-Manual-Integration.zip` sample project) | ||
|
||
## Please list the steps you took to reproduce the issue: | ||
|
||
- Unzip `Minimal-ShareExtension.zip` and open `Minimal.xcodeproj` | ||
- Archive the `Minimal` for `Generic iOS Device (arm64)` | ||
- Validate the archive | ||
|
||
## What did you expect to happen? | ||
|
||
The validation should be successful. | ||
|
||
## What actually happened? | ||
|
||
The validation fails. |
Binary file added
BIN
+174 KB
...ectory causing the archive validation to fail/attachments/Finder-Frameworks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+89.1 KB
...directory causing the archive validation to fail/attachments/Finder-PlugIns.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.34 MB
... the archive validation to fail/attachments/Minimal-ShareExtension-Manual-Integration.zip
Binary file not shown.
Binary file added
BIN
+5.35 MB
...s directory causing the archive validation to fail/attachments/Minimal-ShareExtension.zip
Binary file not shown.
Binary file added
BIN
+5.33 MB
...tensions PlugIns directory causing the archive validation to fail/attachments/Minimal.zip
Binary file not shown.
Binary file added
BIN
+727 KB
... the archive validation to fail/attachments/Organizer-Duplicated-Frameworks.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+698 KB
...ectory causing the archive validation to fail/attachments/Validation-Failed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.