Kris Wong
04/15/2019, 9:37 PMKris Wong
04/15/2019, 9:41 PMilya.matveev
04/16/2019, 8:07 AMkotlin.native.cocoapods.configuration
property to configure what type of framework (release or debug) should be passed to Xcode. This property is configured in the podspec file to be equal to the Xcode CONFIGURATION
variable. But you can manually change the file and specify it depending on your configuration names. There are two valid values for this property: RELEASE
and DEBUG
.Kris Wong
04/16/2019, 12:57 PMKris Wong
04/16/2019, 12:58 PMilya.matveev
04/16/2019, 1:07 PMcan I do some string manipulation conditional in the podspec file to derive the value that kotlin is expectingYes, you can. Code after the
:script => <<-SCRIPT
line is just a shell script executing the Gradle build. So you can check any conditions there and modify Gradle parameters accordingly.Kris Wong
04/16/2019, 1:08 PMKris Wong
04/16/2019, 10:44 PM