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

Build and simulator works no errors.Click archive and errors out

Open S0U1SB4N3 opened this issue 7 years ago • 5 comments

  • Your Rocket.Chat app version: 3.3.0
  • Your Rocket.Chat server version: ####
  • Device (or Simulator) you're running with: iOS

I can build the project and load to the native simulator on MacBook Pro in Xcode 10 I can test the build on directly connected devices successfully, however when I need to click archive to upload to App Store it errors out as shown below

screen shot 2019-01-10 at 1 01 20 pm

S0U1SB4N3 avatar Jan 10 '19 19:01 S0U1SB4N3

Hi @S0U1SB4N3, the error output points to DifferenceKit, did you properly pod install and / or pod update ? Also, you say you're trying to compile 3.3.0, which is in development and unreleased. If you want to compile and run something stable, maybe you should work on the 3.2.0 source code

coruble avatar Jan 11 '19 11:01 coruble

@S0U1SB4N3 This is a bug in CocoaPods (they still didn't ship the fix), because we've a reference for DifferenceKit in two places... in order to fix that, you'll need to change your Workspace Settings to use the Legacy Build System, like the screenshot. That needs to be done only for Archiving.

screen shot 2019-01-11 at 09 41 48

rafaelks avatar Jan 11 '19 11:01 rafaelks

yes with error stating there are two Differencekit.Framework trying to be written. Differencekit and difference kit-core

Im in legacy as well and still errors

I will try again in a few hours

S0U1SB4N3 avatar Jan 11 '19 18:01 S0U1SB4N3

@S0U1SB4N3 This is a bug in CocoaPods (they still didn't ship the fix), because we've a reference for DifferenceKit in two places... in order to fix that, you'll need to change your Workspace Settings to use the Legacy Build System, like the screenshot. That needs to be done only for Archiving.

screen shot 2019-01-11 at 09 41 48

Select Legacy Build did work, but the messages list view is completed messed up. Run app directly from Xcode is working fine. image

andykimisgreat avatar Jul 06 '19 06:07 andykimisgreat

@S0U1SB4N3 This is a bug in CocoaPods (they still didn't ship the fix), because we've a reference for DifferenceKit in two places... in order to fix that, you'll need to change your Workspace Settings to use the Legacy Build System, like the screenshot. That needs to be done only for Archiving. screen shot 2019-01-11 at 09 41 48

Select Legacy Build did work, but the messages list view is completed messed up. Run app directly from Xcode is working fine. image

I have the same problem. How can I solve it?

BeatriceFeltre avatar Aug 02 '19 14:08 BeatriceFeltre