Hey! I wanted to know if it’s possible to set the ...
# multiplatform
s
Hey! I wanted to know if it’s possible to set the version ( among other fields ) when generating a podspec file using the gradle task? By default, it outputs:
spec.version                  = 'unspecified'
which is not OK for Cocoapods and we need to set a version. I did set the version manually but for some reason, when executing Fastlane to bundle and upload my app, the
shared:podspec
task is executed. I don’t exactly where and why it’s executed, I’m still trying to figure it out. But I would prefer to have a way to set it by code inside my gradle file. Thanks 🙂
a
Hello, @Sebastien Leclerc Lavallee! IIRC, Cocoapods plugin utilizes project version for it. See the details here.
1
💯 1
s
🤦 Thanks..! Exactly what I needed