where is the `dSYMs` directory in xcframework when use `--embed-debug-symbols` option?
r-plus opened this issue Β· comments
Could not found dSYMs
directory in scipio generated xcframework directory even if --embed-debug-symbols
option enabled.
using scipio version is 0.16.0
How to reproduce
- create the new directory
- run
swift package init
- edit the Package.swift to add Alamofire
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "test",
defaultLocalization: "ja",
platforms: [
.iOS(.v15),
],
products: [
.library(
name: "test",
targets: ["test"]),
],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire", exact: "5.8.0"),
],
targets: [
.target(
name: "test",
dependencies: [
.product(name: "Alamofire", package: "Alamofire"),
]
),
]
)
- run
swift package resolve
to generate Package.resolved
{
"pins" : [
{
"identity" : "alamofire",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Alamofire/Alamofire",
"state" : {
"revision" : "b2fa556e4e48cbf06cf8c63def138c98f4b811fa",
"version" : "5.8.0"
}
}
],
"version" : 2
}
- run
scipio --embed-debug-symbols --support-simulators
to generate xcframeworks
$ scipio --embed-debug-symbols --support-simulators
π Resolving Dependencies...
π¦ Building Alamofire for iOS, iPhone Simulator
π Combining into XCFramework...
π Cache Alamofire.xcframework to cache storage
βοΈ Succeeded.
- generated files are...
$ tree XCFrameworks
XCFrameworks
βββ Alamofire.xcframework
βββ Info.plist
βββ ios-arm64
β βββ Alamofire.framework
β βββ Alamofire
β βββ Headers
β β βββ Alamofire-Swift.h
β βββ Info.plist
β βββ Modules
β βββ Alamofire.swiftmodule
β β βββ Project
β β β βββ arm64-apple-ios.swiftsourceinfo
β β βββ arm64-apple-ios.abi.json
β β βββ arm64-apple-ios.swiftdoc
β β βββ arm64-apple-ios.swiftmodule
β βββ module.modulemap
βββ ios-arm64_x86_64-simulator
βββ Alamofire.framework
βββ Alamofire
βββ Headers
β βββ Alamofire-Swift.h
βββ Info.plist
βββ Modules
β βββ Alamofire.swiftmodule
β β βββ Project
β β β βββ arm64-apple-ios-simulator.swiftsourceinfo
β β β βββ x86_64-apple-ios-simulator.swiftsourceinfo
β β βββ arm64-apple-ios-simulator.abi.json
β β βββ arm64-apple-ios-simulator.swiftdoc
β β βββ arm64-apple-ios-simulator.swiftmodule
β β βββ x86_64-apple-ios-simulator.abi.json
β β βββ x86_64-apple-ios-simulator.swiftdoc
β β βββ x86_64-apple-ios-simulator.swiftmodule
β βββ module.modulemap
βββ _CodeSignature
βββ CodeResources
15 directories, 22 files
Could not found dSYMs
directory under the ios-arm64
and ios-arm64_x86_64-simulator
.
this is carthage output version of alamofire xcframework, that contain the dSYMs
directory.
$ tree Carthage/Build/Alamofire.xcframework
Carthage/Build/Alamofire.xcframework
βββ Info.plist
βββ ios-arm64
β βββ Alamofire.framework
β β βββ Alamofire
β β βββ Headers
β β β βββ Alamofire-Swift.h
β β βββ Info.plist
β β βββ Modules
β β βββ Alamofire.swiftmodule
β β βββ arm64-apple-ios.abi.json
β β βββ arm64-apple-ios.swiftdoc
β β βββ arm64-apple-ios.swiftmodule
β βββ dSYMs
β βββ Alamofire.framework.dSYM
β βββ Contents
β βββ Info.plist
β βββ Resources
β βββ DWARF
β βββ Alamofire
βββ ios-arm64_x86_64-simulator
βββ Alamofire.framework
β βββ Alamofire
β βββ Headers
β β βββ Alamofire-Swift.h
β βββ Info.plist
β βββ Modules
β β βββ Alamofire.swiftmodule
β β βββ Project
β β β βββ arm64-apple-ios-simulator.swiftsourceinfo
β β β βββ x86_64-apple-ios-simulator.swiftsourceinfo
β β βββ arm64-apple-ios-simulator.abi.json
β β βββ arm64-apple-ios-simulator.swiftdoc
β β βββ arm64-apple-ios-simulator.swiftmodule
β β βββ x86_64-apple-ios-simulator.abi.json
β β βββ x86_64-apple-ios-simulator.swiftdoc
β β βββ x86_64-apple-ios-simulator.swiftmodule
β βββ _CodeSignature
β βββ CodeResources
βββ dSYMs
βββ Alamofire.framework.dSYM
βββ Contents
βββ Info.plist
βββ Resources
βββ DWARF
βββ Alamofire
23 directories, 23 files