Archive Failed using New Build System
- Your Rocket.Chat app version: 3.5.0
- Your Rocket.Chat server version: ####
- Device (or Simulator) you're running with: ####
Goodmorning,
I'm using New Build System, when I try to archive, I received the follow error and build failed:

I also tried set "Legacy Build System", Archive done, but the chats content , is completed unusable; there are also avatar and content is empty like in the screenshot below:

Someone had my same problem? How can I solve it?
Thank you so much for the help, B.
Hi ya, The problem is Xcode 10.2-3 update + Cocoapods. I had the same problem. There is a link to help the problem: [https://www.ralfebert.de/ios/blog/cocoapods-clean-input-output-files/(url). Use the Legacy Build System and you have to clean before you archive (command + shift + K) and also close any simulator. I hope that help.
Hi ya, The problem is Xcode 10.2-3 update + Cocoapods. I had the same problem. There is a link to help the problem: [https://www.ralfebert.de/ios/blog/cocoapods-clean-input-output-files/(url). Use the Legacy Build System and you have to clean before you archive (command + shift + K) and also close any simulator. I hope that help.
Thank you for your reply. I added the instruction into podfile mentions into link that you shared. Run pod install again and I followed the steps you described. Archive is ok, but I still have the same problem with the chats content. :( If I run app from xcode, I havn't the problem. If I use New Build System, archive failed for the same reason described in the issue
B.
Hi there, try to use Rocket.Chat 3.4.1 version. That worked fine for me. It might be a bug with the latest release. I hope that help.
For this issue regarding the weird UI, take a look at this fix: https://github.com/RocketChat/Rocket.Chat.iOS/pull/2722
For this issue regarding the weird UI, take a look at this fix: #2722
Thank you so much. The fix resolve my problem.. :)
B.