Build iOS sometime take infinite time to finish and it stopped because i limited the build time #3132
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproducei use codemagic ui configuration, this is latest log that i see Archiving io.wizpen.mobile.dev... Expected resultsUsually its take 4-6 minutes to build ios Actual resultsIts take almost 50 minutes and it stopped because i limit build time Build id (optional)6841a6a5e41ba710c7787499 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hello @hanandewa5, I noticed that your latest build was successful, although it was based on a different commit. So it's possible that some of the changes introduced in that commit resolved the issue. For future builds, I recommend performing a cleanup of your project before pushing to Codemagic. This can help eliminate inconsistencies caused by caching or by .lock files containing old or stale dependencies. You can use the following commands locally:
|
Beta Was this translation helpful? Give feedback.
-
hi @dtrdic , i reopened this because the issue happened again last night, i tried the step that you suggested above (and i clear cache build also) but issue still happened after that. this is my last night build id : 6862971ec6c0f830a618b166 this is my canceled build id : 6863664fc6c0f830a61cd2a9 (i cancel this because when build for ios it already takes more than 6 min, usually it takes only 4-5 minute so i assume the issue will also happen on this build). any another steps or something that i need to check to fix thiss issue ? |
Beta Was this translation helpful? Give feedback.
-
I'm tentatively closing the discussion since we haven't heard back from you. You can open the discussion again by replying to this message or opening a new discussion. |
Beta Was this translation helpful? Give feedback.
Hello @hanandewa5, I noticed that your latest build was successful, although it was based on a different commit. So it's possible that some of the changes introduced in that commit resolved the issue.
For future builds, I recommend performing a cleanup of your project before pushing to Codemagic. This can help eliminate inconsistencies caused by caching or by .lock files containing old or stale dependencies. You can use the following commands locally: