كل حِزم SDK
Apple (iOS / macOS)
v0.2.0sentry-cocoa
استخدم حِزمة Sentry الرسمية مع DSN الظاهر في إعداد مشروع AllStak. لا تحتاج إلى حِزمة SDK خاصة بـ AllStak.
التثبيت
تأتي أوامر Sentry الرسمية هذه من سجل حِزم SDK المُدار في AllStak.
spm
https://github.com/getsentry/sentry-cocoa.gitcarthage
github "getsentry/sentry-cocoa"cocoapods
pod 'Sentry'البدء السريع
import Sentry
SentrySDK.start { options in
options.dsn = "{{DSN}}"
options.environment = "production"
options.releaseName = "[email protected]"
options.tracesSampleRate = 1.0
// Off by default. Enable only if you accept sending usernames,
// emails and IP addresses to your telemetry backend.
options.sendDefaultPii = false
}