Kris Wong
04/25/2019, 9:18 PMpardom
04/25/2019, 9:30 PMKris Wong
04/25/2019, 9:31 PMpardom
04/25/2019, 9:32 PMIn order to avoid compatibility issues during an Xcode build, the plugin requires using a Gradle wrapper. To generate the wrapper automatically during execution of the podspec task, run it with the parameter -Pkotlin.native.cocoapods.generate.wrapper=true.
Kris Wong
04/25/2019, 9:33 PMpardom
04/25/2019, 9:33 PMKris Wong
04/25/2019, 9:33 PMpardom
04/25/2019, 9:34 PMKris Wong
04/25/2019, 9:35 PMpardom
04/25/2019, 9:38 PMilya.matveev
04/26/2019, 10:22 AMit's the same wrapper?Yes, it's the same wrapper generated by Gradle.
I notice when using the cocoapod plugin, I need to delete the build directory in my mpp project any time I switch ABIs (device/sim). is that expected?No, it isn't expected. What happens if you don't delete the build directory?
Kris Wong
04/26/2019, 1:14 PMilya.matveev
04/26/2019, 1:24 PMKris Wong
04/26/2019, 1:31 PMilya.matveev
04/29/2019, 11:15 AMi can try to get some logs for you if there's a certain command I can runYou can add the
--debug
flag to the Gradle command in the generated podspec. It enables verbose logging for the Gradle build started from Xcode.