PythonistaAppTemplate icon indicating copy to clipboard operation
PythonistaAppTemplate copied to clipboard

Could I only get arm64 version of PythonistaKit compiled binary?

Open tomtomtong opened this issue 9 years ago • 6 comments

Hello. I will only use the framework in iPhone 6 series. So I only need arm64 version of PythonistaKit compiled binary. So my app size could then be reduced. How could I achieve this goal? Thx.

tomtomtong avatar Jul 17 '16 04:07 tomtomtong

You can't achieve this goal. You don't have access to the source, only the compiled binary. There's nothing you can do about this.

controversial avatar Jul 17 '16 08:07 controversial

Thank you for your reply. Will your team release arm64 version of the compiled binary. In fact I could pay for this extra work as I really need to reduce the size of my app.

tomtomtong avatar Jul 17 '16 10:07 tomtomtong

First of all, I'm not part of the Pythonista "team," that's solely @omz. You may be able to get him to compile one for you, but I'm not sure. FWIW, 40MB is not an unreasonable size for an app, it's very small.

controversial avatar Jul 17 '16 11:07 controversial

This isn't quite true, you can strip an architecture that's not needed from a binary using the lipo tool – it should be something like lipo PythonistaKit.framework/PythonistaKit -remove armv7 -o PythonistaKitArm64Only (check man lipo for details).

omz avatar Jul 17 '16 14:07 omz

That's a neat trick 👍 On Sun, Jul 17, 2016 at 4:04 PM Ole Zorn [email protected] wrote:

This isn't quite true, you can strip an architecture that's not needed from a binary using the lipo tool – it should be something like lipo PythonistaKit.framework/PythonistaKit -remove armv7 -o PythonistaKitArm64Only (check man lipo for details).

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/omz/PythonistaAppTemplate/issues/13#issuecomment-233183592, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ5Yr6Wu8GPEtiG-w0vj1GpjI-TGCUimks5qWjZZgaJpZM4JOJ0A .

controversial avatar Jul 17 '16 14:07 controversial

Thank you for your advice. I will try this.

tomtomtong avatar Jul 17 '16 15:07 tomtomtong