Issue Type: Bug Bug
Assignee: Unassigned
Components: xcode
Created: 03/Jun/13 6:47 PM
Description:

In my project.pbxproj file, I had the following INFOPLIST_FILE setting:

INFOPLIST_FILE = "$(SRCROOT)/jive-ipad/jive-ipad-Info.plist";

Which yielded the following weird output:

Fetching marketing version number (CFBundleShortVersionString) from project.
[jive-pkg-ipad_develop] $ /usr/bin/agvtool mvers -terse1
Found marketing version (CFBundleShortVersionString): $(SRCROOT)/jive-ipad/jive-ipad-Info.plist
0.5.3.
Marketing version (CFBundleShortVersionString) found in project configuration: $(SRCROOT)/jive-ipad/jive-ipad-Info.plist
0.5.3.
Fetching technical version number (CFBundleVersion) from project.
[jive-pkg-ipad_develop] $ /usr/bin/agvtool vers -terse
No marketing version found (CFBundleVersion)
Technical version (CFBundleVersion) found in project configuration: .
Marketing version (CFBundleShortVersionString) used by Jenkins to produce the IPA: $(SRCROOT)/jive-ipad/jive-ipad-Info.plist
0.5.3

I switched it to this setting:

INFOPLIST_FILE = "jive-ipad/jive-ipad-Info.plist";

And everything worked fine:

Fetching marketing version number (CFBundleShortVersionString) from project.
[jive-pkg-ipad_develop] $ /usr/bin/agvtool mvers -terse1
Found marketing version (CFBundleShortVersionString): 0.5.3.
Marketing version (CFBundleShortVersionString) found in project configuration: 0.5.3.
Fetching technical version number (CFBundleVersion) from project.
[jive-pkg-ipad_develop] $ /usr/bin/agvtool vers -terse
No marketing version found (CFBundleVersion)
Technical version (CFBundleVersion) found in project configuration: .
Marketing version (CFBundleShortVersionString) used by Jenkins to produce the IPA: 0.5.3

This is easy to workaround, but if you don't support environment variables in the INFOPLIST_FILE setting, you should emit an error message.

Project: Jenkins
Priority: Minor Minor
Reporter: Heath Borders
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to