New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 650710 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

Application using CrNet.framework fails app store submission

Project Member Reported by mef@chromium.org, Sep 27 2016

Issue description

Version: M55
OS: iOS

What steps will reproduce the problem?
(1) Build CrNet.framework
(2) Use it in the app.
(3) Submit app to Apple Appstore.

What is the expected output?
App Submission succeeds.

What do you see instead?
App Submission fails as "Bundle versions string, short" can't be "55.0.2846.0" due to format error (at most 3 non-negative integers are allowed for this field).


Please use labels and text to provide additional information.

 

Comment 1 by mef@chromium.org, Oct 3 2016

Cc: kapishnikov@chromium.org sdefresne@chromium.org
Owner: lilyhoughton@chromium.org
Hi Sylvain, could you guide Lily on what needs to be done for proper Info.plist.
I think you should just pass "--platform=ios" to the tweak_info_plist invocation in ios/crnet/BUILD.gn file (around line 43, https://cs.chromium.org/chromium/src/ios/crnet/BUILD.gn?q=ios/crnet/BUILD.gn&sq=package:chromium&l=43).

This is how the script determine the format to use for the CFBundleShortVersionString key in the generated Info.plist file (default to mac format @MAJOR@.@MINOR@.@BUILD@.@PATCH@, see https://cs.chromium.org/chromium/src/build/mac/tweak_info_plist.py?q=tweak_in&sq=package:chromium&l=290).
Should be as simple as changing the code to the following:

# Tweak |info_plist| with current version and revision.
tweak_info_plist("tweak_crnet_plist") {
  info_plist = "Info.plist"
  args = [
    "--platform=ios",
  ]
}

Comment 4 by mef@chromium.org, Oct 4 2016

Thanks, this appears to work!
Project Member

Comment 5 by bugdroid1@chromium.org, Oct 4 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/546e56fe757f0e70b16866eb3c30117377112f7c

commit 546e56fe757f0e70b16866eb3c30117377112f7c
Author: mef <mef@chromium.org>
Date: Tue Oct 04 20:41:00 2016

[Cronet] Make CFBundleShortVersionString conform x.y.z format on iOS.

BUG= 650710 

Review-Url: https://codereview.chromium.org/2389113003
Cr-Commit-Position: refs/heads/master@{#422918}

[modify] https://crrev.com/546e56fe757f0e70b16866eb3c30117377112f7c/components/cronet/ios/BUILD.gn

Comment 6 by mef@chromium.org, Mar 13 2017

Status: Fixed (was: Assigned)

Sign in to add a comment