expo / sentry-expo

MIT License
202 stars 83 forks source link

[iOS][Expo@49][v7] Upload Source Maps Fails: `Found argument 'debug-files' which wasn't expected` #360

Closed psteinroe closed 10 months ago

psteinroe commented 1 year ago

Summary

After updating to the latest of expo and expo-sentry, the production build for iOS fails at Upload Source Maps with Found argument 'debug-files' which wasn't expected. It worked before the update.

I disabled the post-publish plugin for now to have a working build.

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

managed

What platform(s) does this occur on?

iOS

SDK Version (managed workflow only)

49

Environment

 expo-env-info 1.0.5 environment info:
    System:
      OS: macOS 13.4.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
      npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
      Watchman: 2023.07.10.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.12.1 - /opt/homebrew/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    IDEs:
      Android Studio: 2022.2 AI-222.4459.24.2221.9971841
      Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
    Expo Workflow: managed

Reproducible demo or steps to reproduce from a blank project

I can provide one if required, but since there was no change other than updating the projects dependencies I suppose this might be a general issue.

felixaa commented 1 year ago

I have the same issue. PhaseScriptExecution Upload\ Debug\ Symbols\ to\ Sentry fails

felixaa commented 1 year ago

In the Expo 49 release I saw something about expo export:embed replacing the "Bundle RN code and Images" build phase Could this be one of the culprits to my source-maps not being uploaded anymore?

expo export:embed has replaced the@react-native-community/cli bundle command in the “Bundle React Native code and images” build phase

claudiofus commented 1 year ago

I'm facing the same error after the creation of Expo secret and removing authToken from my app.json. With authToken in my app.json I have a security alert but no error and the build works fine.

Tried with 7.0.1 as described here but doesn't work.

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 60 days with no activity. If there is no activity in the next 7 days, the issue will be closed.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale. Please open a new issue if you believe you are encountering a related problem.