Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Failed to parse archive, error: Info.plist not exists at: #219

Closed
1 task done
tr3v3r opened this issue Mar 22, 2021 · 12 comments
Closed
1 task done

[iOS] Failed to parse archive, error: Info.plist not exists at: #219

tr3v3r opened this issue Mar 22, 2021 · 12 comments

Comments

@tr3v3r
Copy link

tr3v3r commented Mar 22, 2021

Troubleshooting

  • I've searched discuss.bitrise.io for possible solutions.
  • Which version of the step is effected? 3.2.0
  • Is the issue reproducible with the latest version? YES
  • Does the issue happen sporadically, or every time? EVERY TIME
  • Is the issue reproducible locally by following our local debug guide? NO

Issue description

Step fails after Archive Success with error:

Failed to parse archive, error: Info.plist not exists at: /var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/__archive__620951398/***.xcarchive/Info.plist

Running archive locally doesn't produce any errors.

Bitrise info

▸ Archive Succeeded
Failed to parse archive, error: Info.plist not exists at: /var/folders/6q/wgy6jtp12w5gzgm9lzcglpqw0000gn/T/__archive__620951398/***.xcarchive/Info.plist
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | xcode-archive@3 (exit code: 1)                                | 25.1 min |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-steplib/steps-xcode-archive/issues |
| Source: https://github.com/bitrise-steplib/steps-xcode-archive               |
+---+---------------------------------------------------------------+----------+
  
@lucasfronza
Copy link

lucasfronza commented Mar 23, 2021

We are having the same issue.
Build URL: https://app.bitrise.io/build/72445c3a38febbe0#?tab=log

For a bit more context, ours is a React Native app and this started happening after we upgraded from 0.63 to 0.64. Also, we tested on step versions 3.1 and 3.2 and it happens on both.


Failed to parse archive, error: Info.plist not exists at: /var/folders/r5/krgx70l166396y7gv0tvwfpm0000gn/T/__archive__935362440/***.xcarchive/Info.plist

ls -al /var/folders/r5/krgx70l166396y7gv0tvwfpm0000gn/T/__archive__935362440/***.xcarchive/

drwxr-xr-x  7 username  staff  224 23 Mar 10:27 BCSymbolMaps
drwxr-xr-x@ 3 username  staff   96 23 Mar 10:23 Products
drwxr-xr-x  5 username  staff  160 23 Mar 10:27 dSYMs

@lucasfronza
Copy link

lucasfronza commented Mar 23, 2021

Not sure what the fix should be, but I think I've found the probable cause.

ls -al /var/folders/r5/krgx70l166396y7gv0tvwfpm0000gn/T/__archive__935362440/***.xcarchive/

With CocoaPods 1.9.3:

drwxr-xr-x  7 username  staff  224 23 Mar 11:44 BCSymbolMaps
-rw-r--r--  1 username  staff  958 23 Mar 11:44 Info.plist
drwxr-xr-x@ 3 username  staff   96 23 Mar 11:41 Products
drwxr-xr-x  3 username  staff   96 23 Mar 11:44 SwiftSupport
drwxr-xr-x  5 username  staff  160 23 Mar 11:44 dSYMs

With CocoaPods 1.10.1

drwxr-xr-x  7 username  staff  224 23 Mar 10:27 BCSymbolMaps
drwxr-xr-x@ 3 username  staff   96 23 Mar 10:23 Products
drwxr-xr-x  5 username  staff  160 23 Mar 10:27 dSYMs

React Native 0.64 requires CocoaPods 1.10

@tr3v3r
Copy link
Author

tr3v3r commented Mar 23, 2021

@lucasfronza Thanks! The problem was with the Mapbox pod. We can close the issue

@lucasfronza
Copy link

Yep, our Mapbox version is not compatible with 1.10.1. Testing the latest Mapbox version at this moment to make sure that is it, but it seems like it is 👍

@tr3v3r
Copy link
Author

tr3v3r commented Mar 23, 2021

@lucasfronza actually I've updated to the latest beta version - and issue is gone ;)

@winstondu
Copy link

We are having this with a particular cocoapod. Not sure what the solution should be here...

@Roland-Bak
Copy link

Hi there @winstondu 👋

Could you please share your build URL with Support Access enabled? 🙂

@DaNiELChIoRo-backbase
Copy link

Facing same issue with native app, suddenly stop working as expected. Any advice?

@Roland-Bak
Copy link

Hello @DaNiELChIoRo-backbase 👋

Can you please send us the log file or the URL of the related build and also enable Support Access on the Settings tab of the app ( https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/ ) so that we can take a more in-depth look? 🙂

@DaNiELChIoRo-backbase
Copy link

DaNiELChIoRo-backbase commented Jul 12, 2021 via email

@DaNiELChIoRo-backbase
Copy link

DaNiELChIoRo-backbase commented Jul 12, 2021

Update, we tacked down the issue, turns out that the problem were on the Xcode configuration itself! When we tried to archive locally it turns out to be a wrong update configuration with linked libraries on the unit testing building settings which it was perform in order to make unit tests work for Xcode 12.4 version (not needed for Xcode 12.5.1) but broke the archive without us noticing it! Once this was remove it worked again smooth as before

@mefiblogger
Copy link

Hello There, 👋

Thanks for updating the issue, I'm happy that it has resolved now.

I'm going to close this one down, but please feel free to open a new issue if there's any trouble.

Happy Building 🚀
Mefi from Bitrise

@bitrise-steplib bitrise-steplib locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants