-
Bug
-
Resolution: Unresolved
-
Minor
-
None
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.
Seems to be another DUPLICATE of JENKINS-15708