You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
can you check whether 0.1.0+1 works? iOS generally doesn't support full semver. A tldr from my understanding:
iOS has 2 version fields, CFBundleShortVersionString and CFBundleVersion.
CFBundleShortVersionString: This is the "main" public facing version and it requires a number[.number[.number]] format and does not accept prerelease data or build numbers (+/- in semver)
CFBundleVersion: This is the "build number". In app store contexts this can be used to re-submit your still private/in-testing app for the same main version. It also requires a number[.number[.number]] format.
For explanation, number[.number[.number]] means 1, 1.0, and 1.0.0 are all valid formats (but also the only formats).
Sooo, to get back to the topic, i asked to try 0.1.0+1 because + means build data in semver and i wondered if maybe we use the build data as the build number. Probably far fetched but worth a try.
Describe the bug
In
/src-tauri/tauri.conf.json
, using a prerelease semvar (e.g.,0.1.0-1
) will cause a build error:Reproduction
npm create tauri-app@latest
) according to the guideversion
in/src-tauri/tauri.conf.json
to a prerelease version (e.g.,0.1.0-1
)npm run tauri ios build
(after ensuring all previous setup steps for new project are complete)Expected behavior
Using a prerelease semvar should not cause the app to panic during build. It should compile just as it does for a standard release number.
Full
tauri info
outputStack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: