-
Notifications
You must be signed in to change notification settings - Fork 147
iOS support #78
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
iOS support #78
Conversation
27e390d to
e182488
Compare
|
|
||
| curl --location --fail --output "${zip}" "${url}" | ||
|
|
||
| rm -rf "${dir}/Carthage" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Danger zone? E.g. what if we are not the only ones here?
PS.: But not sure by whom this script is supposed to be run and where (another comment at the top of the script?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the info was in the podspec, moved to ios/readme
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no danger of removing anything unintentionally, this is run by a ObjectBox-Dart publisher before a release
|
A high level readme might be nice, explaining the general approach and mentioning the download script and the pod spec. |
| @@ -0,0 +1,3 @@ | |||
| # NOTE: comment out before publishing - the binaries need to be uploaded | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like some of the process here should be documented somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all "before publishing" are covered by the release notes.
I've also added ios/README.md, moving info from the podspec and expanding upon it to make the dev's life easier.
Brings iOS support (tested on example/flutter/objectbox_demo). Fixes #47
Currently doesn't work properly because it requires objectbox-swift sourcedObjectBox.frameworkto be extracted in the ios folder to build correctly. Depends on flutter/flutter#45778While the issue is still open, we can circumvent it by packaging the
ObjectBox.frameworkdirectly when publishing to pub.dev. That's what this PR currently does.