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

Explicitly define plist path #25

Open KieranLafferty opened 6 years ago

KieranLafferty commented 6 years ago

Hey there, wondering if it's possible to just explicitly set the plist_path using this plugin? Problem I am facing is that the build number is updating my app target but can't find my notification target. Would be much simpler for me if I could just specify the paths to each of the info plists instead.

Thanks for the help!

nemoeslovo commented 5 years ago

have you tried to use target option and provide your extension target name there? I ended up having 2 calls to update both main and push extension build number

    increment_build_number_in_plist(
       build_number: "1",
       scheme: "MyApp"
    )

    increment_build_number_in_plist(
       build_number: "1",
       target: "MyApp.PushExtension"
    )
jdouglas-nz commented 4 years ago

@KieranLafferty - does doing a couple of invocations suffice?