SiarheiFedartsou / fastlane-plugin-versioning

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

Variables are not interpolated in xcodeproj #4

Closed iby closed 7 years ago

iby commented 7 years ago

I have a project with INFOPLIST_FILE containing variables inside of it and apparently Xcodeproj doesn't support interpolation, so I'm getting this:

[01:34:14]: undefined method `[]' for nil:NilClass
[01:34:14]: Unable to find plist file at '…/$(inherited)/Project.plist'

On the other hand FastlaneCore::Project::build_settings uses the suggested approach in the above issue and provides correctly interpolated results. Can you please consider using that instead?

SiarheiFedartsou commented 7 years ago

@ianbytchek Good point! Thanks. I'll try to migrate to FastlaneCore::Project::build_settings.

SiarheiFedartsou commented 7 years ago

@ianbytchek Resolved in version 0.2.6. Now all used targets must be shared(its FastlaneCore::Project requirement) but I think it is not a problem because usually all targets that used with fastlane are shared.

Feel free to reopen this issue in case of some issues.