Closed LLLaiYoung closed 6 years ago
@CYBoys Hi, thanks for posting this. Do you have some relative paths in your Info.plist path setting?
Thank you for answering! '/Users/laiyoung_/Documents/QT/QingTui_iPhone/${SRCROOT}/QingTui_iPhone/QingTui_Distribution/QingTuiDistribution.plist',This path is wrong。 The right should be like this '/Users/laiyoung/Documents/QT/QingTui_iPhone/QingTui_iPhone/QingTui_Distribution/QingTui_Distribution.plist'.
@CYBoys Sorry, I think you misunderstood my question. Could you share this value from your build settings?
this is target wrong
@SiarheiFedartsou But my target is also like that, Such as this is no problem
@CYBoys It seems that you use @{SRCROOT}
, but not @(SRCROOT)
(difference in brackets types). This plugin currently substitutes only @(SRCROOT)
, I didn't know that Xcode supports curly braces for such kind of variables. So, as a workaround I can recommend you to use @(SRCROOT)
until I fix it(I think I will in a couple of days).
@CYBoys just make a double-click on this value and I believe you will see @{SRCROOT}
there :)
So, thank you!
Keep it open until fix of ${SRCROOT}
issue.
ok
@CYBoys Just fixed this issue and released version 0.3.4. Please check if it is working with curly brackets(with ${SRCROOT}
) after update and feel free to re-open this issue in case of any problems.
sorry, I don't know that what happened。 I can some target, but some not.Are all calling the same method。
Here is an error。
20:41:43: --- Step: increment_build_number_in_plist ---
20:41:43: undefined method `[]' for nil:NilClass
20:41:43: Unable to find plist file at '/Users/laiyoung_/Documents/QT/QingTui_iPhone/${SRCROOT}/QingTui_iPhone/QingTui_Distribution/QingTui_Distribution.plist' +------------------+-------------+ | Lane Context | +------------------+-------------+ | DEFAULT_PLATFORM | ios | | PLATFORM_NAME | ios | | LANE_NAME | ios Archive | | BUILD_NUMBER | true | +------------------+-------------+ 20:41:43: undefined method `split' for true:TrueClass
my method
thank you!