0

when i'm trying to build the archive then i get this error. please help me out from this issues. thanks enter image description here

enter image description here

3 Answers 3

2

Along with removing derived data (xcode -> preferences -> locations -> Derived data), remove podfile.lock file also and do the following

flutter clean 
flutter pub get
cd ios 
pod install
Sign up to request clarification or add additional context in comments.

Comments

1

Please clear Derived data first from xcode -> preferences -> locations -> Derived data -> move to bin and remove from bin as well. Now do

flutter clean 
flutter pub get
cd ios 
pod install
pod update

and try to run app again

2 Comments

yeah, i will do but it's not working for me.
/bin/sh -c /Users/sarwarahmed/Library/Developer/Xcode/DerivedData/Runner-gaqkuxgcveeuuxgjtvlnelsvejcf/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Runner.build/Release-iphoneos/Runner.build/Script-9740EEB61CF901F6004384FC.sh Failed to package /Users/sarwarahmed/Desktop/User_App. Command PhaseScriptExecution failed with a nonzero exit code
0

for me i solved this issues just downgreade flutter sdk version 3.0.2 to 3.0.1 and it's work perfectly.

thanks guys. happy coding

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.