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

Missing iosx64 library on jcenter #97

Closed
amytang0 opened this issue Oct 20, 2020 · 3 comments
Closed

Missing iosx64 library on jcenter #97

amytang0 opened this issue Oct 20, 2020 · 3 comments

Comments

@amytang0
Copy link

We are trying to move our PBAndK-generated protobuf models to a KMM module and while it works great on Android still,
the ./gradlew packForXCode task fails at ./gradlew :compileKotlinIosX64 since the runtime library for ios is not published.

       - https://jcenter.bintray.com/pro/streem/pbandk/runtime-iosx64/0.9.0-rc.3/runtime-iosx64-0.9.0-rc.3.pom

Thank you!

@garyp
Copy link
Collaborator

garyp commented Oct 21, 2020

Hi @amytang0. We haven't yet setup the CI to do iOS and macOS builds of pbandk. We plan to tackle it prior to the 1.0 release of pbandk, but I don't have a specific timeline for that. If you're familiar with CircleCI (or interested in learning), we'd gladly take a pull request to add this. See #88 for details. In the meantime, you'll have to build iOS and macOS libraries locally if you need them for your project.

I'll close this as a duplicate of #88.

@garyp garyp closed this as completed Oct 21, 2020
@KweBoakye
Copy link

How would we go about building the library locally? @garyp

@garyp
Copy link
Collaborator

garyp commented Jan 27, 2021

@KweBoakye You can build it using the typical gradle workflow and then publish the library to your local maven repository:

cd pbandk
./gradlew build publishToMavenLocal

If you run that command on a macOS machine, then gradle will build the iOS and macOS variants of pbandk and publish them to your local ~/.m2/repository directory. If you're building a project that depends on pbandk on the same machine, you can have it depend on your locally-built pbandk libraries by adding a mavenLocal() entry to the repositories {} section of your build.gradle file.

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

No branches or pull requests

3 participants