Closed fredfortier closed 9 years ago
Does someone managed to fix this?
I'm experiencing the same problem. Any tips on how to work around this?
I'm not sure @songz 's got time to work on this plugin since december... Maybe @aullman can be able to help you on this one.
The OpenTok iOS team will need to build a 64-bit version of the SDK which I'm told is coming.
arm64 support was released today https://tokbox.com/opentok/libraries/client/ios/release-notes.html
Anyone want to volunteer to get it into the Cordova plugin?
I'm working on adding the iOS SDK v2.4 into this Cordova plugin.
However, I'm unable to push commit because the Opentok binary file is too large:
$ git push
Counting objects: 34, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (16/16), done.
Writing objects: 100% (16/16), 56.19 MiB | 2.42 MiB/s, done.
Total 16 (delta 10), reused 0 (delta 0)
remote: error: GH001: Large files detected.
remote: error: Trace: fde4887140ad56bce4ee54ab3e9af855
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File src/ios/Opentok.framework/Versions/A/Opentok is 174.89 MB; this exceeds GitHub's file size limit of 100 MB
To git@github.com:laurilehmijoki/cordova-plugin-opentok.git
! [remote rejected] arm64-support -> arm64-support (pre-receive hook declined)
error: failed to push some refs to 'git@github.com:laurilehmijoki/cordova-plugin-opentok.git'
GitHub says that If you push a file larger than 100MB to GitHub, Git will reject the push and tell you which file is too large.
Any thoughts on how we could work around this problem?
Hm, good question. Perhaps we need a script or the Grunt build can download the SDK.
This is what a GitHub support person replied to me:
HI Lauri,
Sorry for the trouble. Repositories on GitHub.com have a hard limit of 2G per repo and 100MB per file. We've put the file size limit in place for a couple of reasons. Large files tend to slow down Git operations, especially large binary files that aren't easily compressed or diffed. They also cause speed and connection issues for other repositories on the same server.
Git wasn't built with binary files in mind—which is usually the cause of large repositories. We have more than 6 million people using github.com, and sharing its resources. Large repositories don't scale well with our current infrastructure, and cause problems with our servers.
We are working to remove that limitation, although I can't promise when we'll be able to allow larger repositories like this, that can grow a lot bigger without creating infrastructure problems.
In the meantime you may want to check out this article about dealing with large files on GitHub.com:
It seems that @aullman is right: we need an installer script that downloads and installs the iOS SDK.
Yeah, it probably makes sense to have that anyway, aside from the file size limit...
Hi, I am facing same problem on iOS and i want contribute to develope new update of OpenTok cordova plugin. Anyone here help me to understand current plugins??
Developing somethings together, it will be speed up the project. @songz @aullman @laurilehmijoki
I think I've fixed this issue but unfortunately I don't have permissions to merge. In the meantime you can install the plugin from my repo manually using:
$ cordova plugin remove com.tokbox.cordova.opentok
$ cordova plugin add https://github.com/aullman/cordova-plugin-opentok#64-bit-support
This was fixed with https://github.com/songz/cordova-plugin-opentok/pull/143
Hello,
Can any one provide me libfontconfig.a with arm64 enabled.
Or Tell me the process how to achieve that.
This is a must now to submit to the Apple app store.