Reachability.swift: Unable to submit app to AppStore

Created on 20 Sep 2017  ·  4Comments  ·  Source: ashleymills/Reachability.swift

Getting:

ERROR ITMS-90060: “This bundle in invalid. The value for key CFBundleShortVersionString ‘4.0-beta2’ in the Info.plist file must be a period-separated list of at most three non-negative integers.”

Cartfile:

github "ashleymills/Reachability.swift" ~> 3.0
# github "OneSignal/OneSignal-iOS-SDK"
github "SVProgressHUD/SVProgressHUD"
github "SwiftyBeaver/SwiftyBeaver"
github "dennisweissmann/DeviceKit" ~> 1.0

When using it without "~> 3.0" the build fails since it's getting a Swift 2.x version.

Should we change the CFBundleShortVersionString or is there any workaround?

SOLVED!

Most helpful comment

Try

github "ashleymills/Reachability.swift" "v3"

All 4 comments

It seems like it doesn't honor the version set in the Cartfile. With:

github "ashleymills/Reachability.swift" ~> 3.0

or with:

github "ashleymills/Reachability.swift" == 3.0

the version resolved is v4.0-beta2 when it should not be higher than 3.x. I'm guessing the cause of this is that the version name is v3 instead of 3.0 which messes with Carthage?

Try

github "ashleymills/Reachability.swift" "v3"

Thanks! That did the trick.

Closing as solved

Was this page helpful?
0 / 5 - 0 ratings

Related issues

obrhoff picture obrhoff  ·  3Comments

AlekseiR picture AlekseiR  ·  4Comments

rjt3662 picture rjt3662  ·  3Comments

cannyboy picture cannyboy  ·  9Comments

antonys1 picture antonys1  ·  6Comments