-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to create a debug and release xcframework #34
Comments
Hmm I tried that but only see one output. Not sure what I'm doing wrong.
…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 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: