-
-
Notifications
You must be signed in to change notification settings - Fork 279
Open
Description
Platform
Flutter Mobile iOS
Obfuscation
Enabled
Debug Info
Enabled
Doctor
[✓] Flutter (Channel stable, 3.35.7, on macOS 26.0.1 25A362 darwin-arm64, locale
en-IN) [468ms]
• Flutter version 3.35.7 on channel stable at /Users/rajatkr/flutter/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision adc9010625 (3 months ago), 2025-10-21 14:16:03 -0400
• Engine revision 035316565a
• Dart version 3.9.2
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop,
enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-lldb-debugging
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[2.3s]
• Android SDK at /Users/rajatkr/Library/Android/sdk
• Emulator version 36.2.12.0 (build_id 14214601) (CL:N/A)
• Platform android-36, build-tools 36.1.0
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this
machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.0.1) [995ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17A400
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [22ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2025.2) [22ms]
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.8+-14196175-b1038.72)
[✓] IntelliJ IDEA Ultimate Edition (version 2025.3.1) [21ms]
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.107.1) [6ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (3 available) [6.1s]
• Rajat’s iPhone (wireless) (mobile) • 00008150-001629802628401C • ios
• iOS 26.1 23B85
• macOS (desktop) • macos • darwin-arm64
• macOS 26.0.1 25A362 darwin-arm64
• Chrome (web) • chrome •
web-javascript • Google Chrome 143.0.7499.170
! Error: Browsing on the local area network for Rajat’s iPhone. Ensure the
device is unlocked and attached with a cable or associated with the same local
area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources [1,182ms]
• All expected network resources are available.
• No issues found!
Version
9.9.1
Steps to Reproduce
await SentryFlutter.init(
(options) {
options.dsn = '<ON_PREM_SENTRY_DSN>';
options.environment = '${kIsProd ? "PROD" : "UAT"}/${kReleaseMode ? 'Release' : kProfileMode ? 'Profile' : 'Debug'}';
// Adds request headers and IP for users, for more info visit:
// https://docs.sentry.io/platforms/dart/guides/flutter/data-management/data-collected/
options.sendDefaultPii = true;
// Set tracesSampleRate to 1.0 to capture 100% of transactions for tracing.
// We recommend adjusting this value in production.
options.tracesSampleRate = 1.0;
// The sampling rate for profiling is relative to tracesSampleRate
// Setting to 1.0 will profile 100% of sampled transactions:
// Note: Profiling alpha is available for iOS and macOS since SDK version 7.12.0
options.profilesSampleRate = 1.0;
// Enable logs to be sent to Sentry
options.enableLogs = true;
// Record session replays for 100% of errors and 10% of sessions
options.replay.onErrorSampleRate = 1.0;
options.replay.sessionSampleRate = 0.1;
},
appRunner: () => runApp(
SentryWidget(
child: MyApp(),
),
),
);
on running the app using flutter run --profile on my physical iphone 17, the app launches but then does not proceed to the initial screen, it just freezes.
i am using an on-prem sentry instance
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[PrivateSentrySDKOnly startProfilerForTrace:]: unrecognized selector sent to class 0x104fc5d48'
Expected Result
I was trying to run the app on profile mode to profile the app. as only iOS is supported and not android but the app should have worked and i should have received some logs in the profiling section
The rest of the features of sentry are all working fine
Actual Result
The app freezes
Are you willing to submit a PR?
None
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Community