-
Notifications
You must be signed in to change notification settings - Fork 279
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
can not add new variables into Info.plist #1982
Comments
Are you applying the substitution in your In general, this should work especially if it's just a simple rule that replaces the variable(s) in the |
yeah, you are right, the generated NewInfo.plist has been changed, but it hasn't been merged into ios_application, could you please tell me how should i set the NewInfo.plist as the input to my ios_application ? thank you very much ! this is the generated NewInfo.plist: This is the rule code in ExpendInfo which is the imitation of the rules/expand_template/hello.bzl
This is my ios_application in BUILD:
If i change the value for the key "Host_URL" to "${Host_URL}", that error will always come out :
![]()
|
Can you try changing |
Finally nailed it! Thank you! I changed the statement as :
and if i change the infoplists from ":NewInfo" to ":NewInfo.plist", the Info.plist will dispear from the project's directory, just like this below, but there is no difference when using the Host_URL in programming. |
Hi,
I'd like to add one key-value(Host_URL) to the Info.plist, this below is my original info.plist:
i have added one personal rule named "ExpendInfo.bzl" which has an expand_template rule , then i have got the new info.plist.
My problem is that the value must be set as a constant, i can't set it as any variable ( such an Host_URL:$(Host_URL)),
if i do so, there will come out an error like this:

Can you give me some suggestions? thank you.
The text was updated successfully, but these errors were encountered: