-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[!] undefined method `split' for nil:NilClass (NoMethodError) #45
Comments
interesting.. I swear there are tests covering pure ints as build numbers. let me have a look |
I reckon there is some interesting things to do with specifying a target. it "should increment number to xcodeproj if the value is non literal with plist_build_setting_support: true" do
result = Fastlane::FastFile.new.parse("lane :test do
increment_build_number_in_plist(plist_build_setting_support: true)
end").runner.execute(:test)
expect(current_xcodeproj_build_number).to eq("2")
expect(Fastlane::Actions.lane_context[Fastlane::Actions::SharedValues::BUILD_NUMBER]).to eq("2")
end |
@Robotex - Is it just a single digit, i.e. |
Also having this issue. I was able to get the current build number with Or it just isn't returning anything from In any case, it should probably fail more gracefully rather than crash trying to split a nil value. |
Do we have any solution for this? Trying to use |
Traceback:
Code:
Edit: we use a incremental integer as build number, maybe the plugin doesn't support it?
The text was updated successfully, but these errors were encountered: