SiarheiFedartsou / fastlane-plugin-versioning

Extends fastlane versioning actions. Allows to set/get versions without using agvtool and do some other small tricks.
MIT License
509 stars 61 forks source link

Error when using increment_version_number_in_xcodeproj #41

Closed caioremedio closed 3 years ago

caioremedio commented 4 years ago

Im getting the following error when trying to run increment_version_number_in_xcodeproj

[17:36:14]: Unknown method 'set_version_number_using_target'
[17:36:14]: To call another action from an action use `other_action.set_version_number_using_target` instead

What I'm currently doing:

increment_version_number_in_xcodeproj(version_number: "3.8.2", xcodeproj: "./path/Proj.xcodeproj", target: "MyApp")

Versions installed:

Using commander-fastlane 4.4.6
Using fastlane 2.134.0
Using fastlane-plugin-versioning 0.4.0

Any thoughts? Thanks.

jdouglas-nz commented 4 years ago

@caioremedio - yes ! oh man. There is a copy paste error in that action. apologies -- I'll whip up a fix for you shortly.

slight edit: a little more involved than that. while the unknown method is copy paste - the implmentation of said method seems to be wrong. will keep you posted.

caioremedio commented 4 years ago

Ayt, thanks @jdouglas-nz :)

No hurry!

jdouglas-nz commented 4 years ago

@caioremedio please update and let me know how you go! 👌

nick3389 commented 4 years ago

@jdouglas-nz Is there any update on that? The version is still 0.4.0

jdouglas-nz commented 4 years ago

@nick3389 - sorry! I released a new version yesterday.

nick3389 commented 4 years ago

@jdouglas-nz Just updated and it works ok! thanx!

caioremedio commented 4 years ago

@jdouglas-nz Sorry for taking too long, I was out of town last week.

Just updated and it worked like a charm. Thanks for fixing!