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

required option '-t, --token <value>' not specified #1340

Open
cyburns opened this issue Jan 3, 2025 · 0 comments
Open

required option '-t, --token <value>' not specified #1340

cyburns opened this issue Jan 3, 2025 · 0 comments

Comments

@cyburns
Copy link

cyburns commented Jan 3, 2025

Steps to Reproduce the Problem

Running:

eas build --profile testflight --platform ios

Or building within xcode.

From Issue

An issue had been opened a while ago with the same problem 1179

Expected Behavior

I expected the build to succeed.

Actual Behavior

The build failed

Build Failed:
❌  error: required option '-t, --token <value>' not specified

Usage: instabug upload-sourcemaps [options]

Options:
  -p, --platform <value>  Platform (choices: "ios", "android")
  -f, --file <path>       The path of the source map file
  -t, --token <value>     Your App Token (env: INSTABUG_APP_TOKEN)
  -n, --name <value>      The app version name (env: INSTABUG_APP_VERSION_NAME)
  -c, --code <value>      The app version code (env: INSTABUG_APP_VERSION_CODE)
  -l, --label <value>     The CodePush label if it's a CodePush release (env:
                          INSTABUG_APP_VERSION_LABEL)
  -h, --help              display help for command

Work Around

When building in xcode I can navigate to my projects Build Phases section and delete the [CP-User] [Instabug-reactnative] Upload Sourcemap. However this is regenerated every time I run pod install.

Instabug integration code

Instabug.init({
      token: 'token',
      invocationEvents: [InvocationEvent.shake],
    });

SDK Version

"instabug-reactnative": "^14.1.0"

React Native, iOS and Android Versions

"expo": "^52.0.23",
"react-native": "0.76.5"
System:
  OS: macOS 14.6.1
  CPU: (12) arm64 Apple M2 Max
  Memory: 108.22 MB / 32.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 23.5.0
    path: /opt/homebrew/bin/node
  Yarn: Not Found
  npm:
    version: 10.9.2
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.1
      - iOS 18.1
      - macOS 15.1
      - tvOS 18.1
      - visionOS 2.1
      - watchOS 11.1
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.21829.142.2421.12409432
  Xcode:
    version: 16.1/16B40
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.12
    path: /usr/bin/javac
  Ruby:
    version: 2.6.10
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 15.0.1
    wanted: 15.0.1
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.76.5
    wanted: 0.76.5
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: true
  newArchEnabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant