This repository was archived by the owner on Jun 3, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/main/kotlin/com/chromaticnoise/multiplatformswiftpackage/task Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
- Fix a bug where target names were not always resolved correctly
10
10
[ #1 ] ( https://github.com/ge-org/multiplatform-swiftpackage/issues/1 )
11
11
12
+ - Fix a bug where the creation of the XCFramework failed if dSYM files did not exist
13
+
12
14
## [ 1.0.1]
13
15
### Added
14
16
- Add all architectures of a platform at once
Original file line number Diff line number Diff line change @@ -27,8 +27,12 @@ internal fun Project.registerCreateXCFrameworkTask() = tasks.register("createXCF
27
27
frameworks.forEach { framework ->
28
28
add(" -framework" )
29
29
add(framework.outputFile.path)
30
- add(" -debug-symbols" )
31
- add(File (framework.outputFile.parent, " ${project.name} .framework.dSYM" ).path)
30
+
31
+ val dsymFile = File (framework.outputFile.parent, " ${project.name} .framework.dSYM" )
32
+ if (dsymFile.exists()) {
33
+ add(" -debug-symbols" )
34
+ add(dsymFile.path)
35
+ }
32
36
}
33
37
})
34
38
You can’t perform that action at this time.
0 commit comments