App/Flutter

[Flutter/iOS] XCode 14.3.1 doesn't archive my app

Agrafenaaa 2023. 7. 12. 11:52

I'm really fed up with the capricious errors that occur EVERY TIME my Xcode is upgraded to the latest (or almost latest) version. 🤯🤯🤯🤯🤯🤯🤯🤯🤯🤯🤯 !!!!!!

I encoutered an archiving issue after upgrading my Xcode to the version 14.3.1, which is NOT beta. There were no problems and headache while building a flutter project in a simulator, but got the errors below with archiving it. 

Showing Recent Messages
rsync error: some files could not be transferred (code 23) at /AppleInternal/Library/BuildRoots/c2cb9645-dafc-11ed-aa26-6ec1e3b3f7b3/Library/Caches/com.apple.xbs/Sources/rsync/rsync/main.c(996) [sender=2.6.9]

 

What I tried : 

- delete Podfile.lock and RE-install pod 

- clean build folder in XCode

- reboot computer 

- check "for install builds only" in [Targets] - [Build Phases] - [CP Embed Pods Frameworks] - "Run script:".

- replace shell script in [Targets] - [Build Phases] - [CP Embed Pods Frameworks] 

References) 

 

After Last Xcode Update (14.3 14E2… | Apple Developer Forums

A few days ago, I updated to a new XCode version. I am trying to upload a new version of my dictionary app. Despite the app continues to work on iPhone and iPad emulator and on my MacBook air without any problems, archiving fails, with errors like: "Showin

developer.apple.com

 

 

Xcode 14.3 error: can’t archive b… | Apple Developer Forums

it actually works with your workaround. Waiting for an official solution, thanks!

developer.apple.com

 

- upgrade cocoapods up to the latest (1.12.1) - "sudo gem install cocoapods"

The last variant was only working way after restarting a computer and successfully could archive my app!

Hope you can find a solution using the provided options above and no longer experience any headaches from precious Xcode :=D!