Skip to content

Commit

Permalink
feat/refactor: add cocoa FFI binding (#1631)
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind authored Sep 12, 2023
1 parent f124efc commit 7c822cd
Show file tree
Hide file tree
Showing 6 changed files with 71,579 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Update Dependencies
on:
# Run every day.
schedule:
- cron: '0 3 * * *'
- cron: "0 3 * * *"
# And on on every PR merge so we get the updated dependencies ASAP, and to make sure the changelog doesn't conflict.
push:
branches:
Expand All @@ -23,6 +23,7 @@ jobs:
with:
path: flutter/scripts/update-cocoa.sh
name: Cocoa SDK
runs-on: macos-latest
secrets:
api-token: ${{ secrets.CI_DEPLOY_KEY }}

Expand Down
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
Loading

0 comments on commit 7c822cd

Please sign in to comment.