You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the subject states, is there a way to separately produce a debug and release variant in one single build? Essentially create two separate xcframeworks in one go? Thank you
The text was updated successfully, but these errors were encountered:
On Thu, Aug 19, 2021 at 4:01 AM Jorge Poveda Pérez ***@***.***> wrote:
As the subject states, is there a way to separately produce a debug and
release variant in one single build? Essentially create two separate
xcframeworks in one go? Thank you
Hey!
I wanted to do the same and thought about calling two times to the
multiplatformSwiftPackage in the build.gradle.kts.
So...
`multiplatformSwiftPackage {
packageName("xxxLibrary-release")
swiftToolsVersion("5.3")
buildConfiguration { release() }
targetPlatforms {
iOS { v("13") }
}
}
multiplatformSwiftPackage {
packageName("xxxLibrary-debug")
swiftToolsVersion("5.3")
buildConfiguration { debug() }
targetPlatforms {
iOS { v("13") }
}
}`
That would be mi workaround. Now I have two different outputs inside the
/swiftpackage folder.
Hope it helps you!
Jorge Poveda Pérez.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#34 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG53BNDCCSZ7O2W753Q2ILT5TQBTANCNFSM46CJ6KYQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
in SwiftPackageExtension from package com.chromaticnoise.multiplatformswiftpackage
I see the property buildConfiguration which has Release as a default value.
I have another issue, my iOS Xcode project works perfectly in Debug mode with the swift package produced by this project, and I even can create an archive for AppStore, but in Release mode I can't build the project. I guess it is somehow related.
As the subject states, is there a way to separately produce a debug and release variant in one single build? Essentially create two separate xcframeworks in one go? Thank you
The text was updated successfully, but these errors were encountered: