Rocket.Chat.iOS icon indicating copy to clipboard operation
Rocket.Chat.iOS copied to clipboard

Archive Failed using New Build System

Open BeatriceFeltre opened this issue 7 years ago • 5 comments

  • 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: image

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:

image

Someone had my same problem? How can I solve it?

Thank you so much for the help, B.

BeatriceFeltre avatar Aug 05 '19 12:08 BeatriceFeltre

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.

Vacak7 avatar Aug 05 '19 15:08 Vacak7

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.

BeatriceFeltre avatar Aug 05 '19 15:08 BeatriceFeltre

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.

Vacak7 avatar Aug 05 '19 16:08 Vacak7

For this issue regarding the weird UI, take a look at this fix: https://github.com/RocketChat/Rocket.Chat.iOS/pull/2722

ryandailey100 avatar Aug 05 '19 16:08 ryandailey100

For this issue regarding the weird UI, take a look at this fix: #2722

Thank you so much. The fix resolve my problem.. :)

B.

BeatriceFeltre avatar Aug 06 '19 07:08 BeatriceFeltre