Skip to content

Commit 9e9255d

Browse files
committed
feat/refactor: add cocoa FFI binding
1 parent f124efc commit 9e9255d

File tree

5 files changed

+69123
-0
lines changed

5 files changed

+69123
-0
lines changed

flutter/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ build/
1010
.cxx/
1111

1212
.vscode/launch.json
13+
cocoa_bindings_temp

flutter/ffi-cocoa.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: SentryCocoa
2+
description: Sentry Cocoa SDK FFI binding.
3+
language: objc
4+
output: lib/src/sentry_cocoa.dart
5+
headers:
6+
entry-points:
7+
- ./cocoa_bindings_temp/Sentry.framework/Versions/A/PrivateHeaders/PrivateSentrySDKOnly.h
8+
- ./cocoa_bindings_temp/Sentry.framework/Versions/A/Headers/SentryId.h
9+
compiler-opts:
10+
- -DSENTRY_TARGET_PROFILING_SUPPORTED=1
11+
- -DCOCOAPODS=1
12+
exclude-all-by-default: true
13+
objc-interfaces:
14+
include:
15+
- PrivateSentrySDKOnly
16+
- SentryId

0 commit comments

Comments
 (0)