hjanuschka / fastlane-plugin-update_project_codesigning

MIT License
52 stars 8 forks source link

handling with many targets #5

Closed alessandro-icabbi closed 7 years ago

alessandro-icabbi commented 7 years ago

I have a project with many targets and one code base . When I update one target with code sign, all the targets stays with the same code sign . Is there a way to manage this , something like : update_project_codesigning( path: "demo-project/demo/demo.xcodeproj", target:"MyTarget" use_automatic_signing: true) ?

hjanuschka commented 7 years ago

thx for the feedback - right now it is only supported to update all targets (as this was my original use-case). i ll have a look at this, once i got a bit of time for it, it shouldn't be that hard.

hjanuschka commented 7 years ago

@alessandro-icabbi this has been implemented with ef5a27aa48cdc56fea76253ce6dea258a0534049 (gem update has been pushed)

use it like (targets is an array 👍 ):

update_project_codesigning(
    path: "demo-project/demo/demo.xcodeproj",
    use_automatic_signing: false,
    targets: ["demo"]
)
alessandro-icabbi commented 7 years ago

Thanks for your reply @hjanuschka ! Tried to test now but I got the error :

fastlane finished with errors

[!] Could not find option 'target' in the list of available options: path, use_automatic_signing, team_id

hjanuschka commented 7 years ago

have you upgrade the plugin? gem update fastlane-plugin_update_project_codesigning

also the param is called targets not without s