-
Notifications
You must be signed in to change notification settings - Fork 313
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
I can't release app on Google Play, need to update LibPNG and OpenSSL libraries #1186
Comments
Thanks for the report!, libpng should be easy enough to replace, but openssl 1.0.0m to 1.0.2 is a bit of a pain for all platforms. Talk is underway about replacing with mbedtls. |
https://github.com/moai/moai-community branch pull-180 should get you what you need don't forget you might need to do a |
Can confirm, this builds fine, will use it as my testing MOAI bin for the week and report any issues .. thanks and well done! EDIT: it does not build fine on another machine, will investigate and find out why (libmoai-ios-3rdparty-mbedtls.a not included in build stage?) |
Thanks, I will test that branch too. I'll try building it on Mac for Android, iOS and OSX. |
Got it working for OSX and iOS, still trying to fix it for Android: These are the modifications I made for OSX and iOS:
iOS:
|
Thanks, looks like I forgot to update the host projects and ios-static osx-static. I am following along and updating (osx done and pushed). I will get to android, I think I must have not copied it to the folder, so it worked on my machine since configure had run. I will copy to correct location and push. |
@jpienbro added a bunch more commits which have your fixes above plus similar fixes to android and windows. |
OK, will check it out |
Seems to build correctly now for Android, OSX and iOS. In src/moai-ios/host.mm AKUIosAppInitialize() was empty. void AKUIosAppInitialize () {
} I noticed it before, but hadn't reported it yet My game crashes for some weird reason on Android when loading a certain menu. I'll need to do some more debugging for that one. |
looks like the right fix for the NSArray stuff is to link/include https://github.com/moai/moai-dev/blob/feature/community-1.7.5/src/moai-apple/host.mm |
Google Play requires newer versions of these libraries because of vulnerabilities:
See LibPNG requirement: https://support.google.com/faqs/answer/7011127?hl=en
See OpenSSL requirement: https://support.google.com/faqs/answer/6376725?hl=en
I tried updating them myself by updating all references I could find in project & makefiles. Only managed to get LibPNG working. OpenSSL is giving a lot of issues.
P.S. I am using the moai-community repo/branch currently. That's the only one I managed to get working/building on Mac
The text was updated successfully, but these errors were encountered: