Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat/refactor: add cocoa FFI binding #1631

Merged
merged 4 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading