Skip to content

Conversation

@vaind
Copy link
Contributor

@vaind vaind commented Nov 28, 2019

Brings iOS support (tested on example/flutter/objectbox_demo). Fixes #47

Currently doesn't work properly because it requires objectbox-swift sourced ObjectBox.framework to be extracted in the ios folder to build correctly. Depends on flutter/flutter#45778

While the issue is still open, we can circumvent it by packaging the ObjectBox.framework directly when publishing to pub.dev. That's what this PR currently does.

@vaind vaind requested a review from greenrobot December 18, 2019 17:17
@vaind vaind changed the title WIP iOS support iOS support Dec 18, 2019

curl --location --fail --output "${zip}" "${url}"

rm -rf "${dir}/Carthage"
Copy link
Member

@greenrobot greenrobot Dec 18, 2019

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?)

Copy link
Contributor Author

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

Copy link
Contributor Author

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

@greenrobot
Copy link
Member

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
Copy link
Member

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?

Copy link
Contributor Author

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.

@vaind vaind merged commit b5192e4 into dev Dec 19, 2019
@vaind vaind deleted the 47-ios branch December 19, 2019 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants