20 Commits

Author SHA1 Message Date
Marcin Krzyzanowski bf493d4f28 Include dSYM files in framework output and XCFramework creation
This change updates the create-frameworks.sh script to copy supporting .dSYM
files for each platform's built framework into the output directories. These
debug symbol files are also included in the final XCFramework bundle using
xcodebuild's -debug-symbols option for each platform. Including dSYM files
enhances debugging and crash symbolication support.
2025-10-27 21:13:46 +01:00
James Terry 4bf53378b5 Fix XCFramework bundle signature validation
Add --deep flag to codesign command to ensure all nested frameworks
within the XCFramework are properly signed, not just the top-level bundle.

Without --deep, only the XCFramework container is signed, but the nested
platform-specific frameworks remain unsigned, causing "invalid or unsupported
format for signature" errors when Swift Package Manager validates the artifact.

This fix resolves issues reported in:
- Issue #212: Cannot archive application due to signature
- Issue #242: XCFramework needs to be signed at the source

The --deep flag ensures that codesign recursively signs all bundle
contents, which is required for XCFramework bundles containing multiple
nested framework bundles.
2025-10-17 12:58:45 -04:00
Marcin Krzyzanowski 8729614a93 3.3.2000 & updates for Xcode 16 2024-09-18 23:25:10 +02:00
Daniil Vinogradov 714895fa1f watchOS support 2024-06-30 13:48:23 +02:00
Daniil Vinogradov 876ddd2362 tvOS support added 2024-04-29 14:29:08 +02:00
Marcin Krzyzanowski 2198d85fd2 Update scripts/create-frameworks.sh
Signed-off-by: Marcin Krzyzanowski <marcin@krzyzanowskim.com>
2024-04-28 15:01:31 +02:00
Marcin Krzyzanowski 63cc92cb67 Update scripts/create-frameworks.sh
Signed-off-by: Marcin Krzyzanowski <marcin@krzyzanowskim.com>
2024-04-28 15:01:26 +02:00
Aleksei Minaev 45a3432704 Add vision os support 2024-04-19 12:47:24 +02:00
Marcin Krzyzanowski f7e7189fac Sign xcframework with Apple Distribution 2024-04-16 20:38:21 +02:00
Marcin Krzyzanowski 5ae21d0c6d 3.1.3001 hotfix 2023-09-29 08:28:09 +02:00
Marcin Krzyzanowski ce8d8adda6 OpenSSL 3.1.3. Update scripts. 2023-09-27 14:38:54 +02:00
Marcin Krzyzanowski 0faf71a188 OpenSSL 1.1.1v 2023-08-10 10:52:48 +02:00
Jonas Borsch 06a9923276 Adjust zip to support binaryTarget when using SPM 2022-08-05 11:54:54 +02:00
John Hammerlund 6e32dc1f03 Add script support for static XCFramework (#134)
This adds a simple flag to `create-frameworks.sh`, `-s`, which overrides the mach-o format to instead be a static library. The resulting output frameworks, along with the final XCFramework, are produced as static libraries instead of dynamic libraries.
2022-07-06 19:43:42 +02:00
Marcin Krzyzanowski 04a2ca501a Create zip archive 2021-09-10 13:22:22 +02:00
Christopher Atlan 59ad69a34a Rename folders to match $(PLATFORM_NAME) #104 2021-01-01 21:16:13 +01:00
Marcin Krzyzanowski 5fe27f6acc Build Catalyst framework 2020-12-12 04:54:20 +01:00
Marcin Krzyzanowski ee331c571f Enable bitcode (hopefully). Fix configuration header. Build for Catalyst 2020-12-12 02:35:45 +01:00
Marcin Krzyzanowski 80c3a688d1 Fix macos framework bundle 2020-11-22 16:58:08 +01:00
Marcin Krzyzanowski e4dd96d0a5 Separate iphoneos and iphonesimulator due to arm64 clash 2020-11-20 03:06:32 +01:00