Skip to content

Commit

Permalink
feat/refactor: add cocoa FFI binding
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Sep 11, 2023
1 parent 4ad2751 commit 122ca25
Show file tree
Hide file tree
Showing 5 changed files with 69,123 additions and 0 deletions.
1 change: 1 addition & 0 deletions flutter/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ build/
.cxx/

.vscode/launch.json
cocoa_bindings_temp
16 changes: 16 additions & 0 deletions flutter/ffi-cocoa.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: SentryCocoa
description: Sentry Cocoa SDK FFI binding.
language: objc
output: lib/src/sentry_cocoa.dart
headers:
entry-points:
- ./cocoa_bindings_temp/Sentry.framework/Versions/A/PrivateHeaders/PrivateSentrySDKOnly.h
- ./cocoa_bindings_temp/Sentry.framework/Versions/A/Headers/SentryId.h
compiler-opts:
- -DSENTRY_TARGET_PROFILING_SUPPORTED=1
- -DCOCOAPODS=1
exclude-all-by-default: true
objc-interfaces:
include:
- PrivateSentrySDKOnly
- SentryId

0 comments on commit 122ca25

Please sign in to comment.