Replies: 2 comments
-
Sorry, nevermind I was looking at this more after asking and realized I had used the code from the default "working" version on github and it had the variable APP_ID it was trying to read from rather than "APP_STORE_APP_ID" as is noted previously. I changed that and was able to get it past that point. For anyone who comes across this, the relevant parts of my codemagic.yaml now look like this: vars: script: | Now I'm running into an issue with invalid arithmetic likely caused by the version scheme I used (2.2.7 + 1), hopefully I can figure this one out, otherwise I'll ask a new question about this in another discussion: Found build number 2.2.7 from App Store version 2.2.7 |
Beta Was this translation helpful? Give feedback.
-
This discussion is being closed due to no activity in the last 14 days. You can reopen the discussion at any time if needed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm somewhat new to using codemagic to upload apps to the app store but have done so previously manually. I'm having an issue where my build is working and is attempting to upload to the store but since it's not incrementing the app version it fails to upload at the end. Below you can see that the connection to the app and store is fine when trying to publish because it knows the version of the app already there (2.2.7) but for some reason it won't increment the build number prior to that. Is there something I'm doing wrong or some way to fix this? The errors I see are as follows:
STEP: Increment Build Number:
GET https://api.appstoreconnect.apple.com/v1/apps/None/appStoreVersions?limit=100 returned 404: The specified resource does not exist - There is no resource of type 'AppsV1' with id 'None'
Setting version of project App to:
1.
Also setting CFBundleVersion key (assuming it exists)
Updating CFBundleVersion in Info.plist(s)...
Updated CFBundleVersion in "App.xcodeproj/../App/Info.plist" to 1
STEP: Publishing:
2023-05-09 22:54:43.768 *** Error: ERROR: [ContentDelivery.Uploader] Asset validation failed (90478) Invalid Version. The build with the version “2.2.7” can’t be imported because a later version has been closed for new build submissions. Choose a different version number. (ID: a129d9e0-952f-4c53-9bf6-edc5112cdc10)
2023-05-09 22:54:43.769 *** Error: ERROR: [ContentDelivery.Uploader] Asset validation failed (90062) This bundle is invalid. The value for key CFBundleShortVersionString [1.0] in the Info.plist file must contain a higher version than that of the previously approved version [2.2.7]. Please find more information about CFBundleShortVersionString at https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleshortversionstring (ID: 97ba0b65-9f3d-4a8b-8c07-54214d91d800)
2023-05-09 22:54:44.206 INFO: [ContentDelivery.Uploader] COMPLETED - PART 1 - DTAppAnalyzerExtractorOutput-79969D2A-EAE0-46C3-B23D-8EA2A4BEB80A.zip - eTag: "32A3E05F4D540A8E6E35F2651D74E51E"
2023-05-09 22:54:52.824 INFO: [ContentDelivery.Uploader]
Beta Was this translation helpful? Give feedback.
All reactions