Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 748967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:22:51+00:00 2026-05-14T14:22:51+00:00

My app needs to use a library which is only available for Python and

  • 0

My app needs to use a library which is only available for Python and Ruby. From my understanding, Apple allows Ruby to run on iPhone as long as users can’t execute arbitrary code (Rhomobile uses Ruby).

How can I bundle Ruby/Python with my app, call a function from my Obj-C code, and get the result (a string) back in C or Obj-C format?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:22:52+00:00Added an answer on May 14, 2026 at 2:22 pm

    You can’t. The new SDK agreement prohibits using original languages other than C, C++, or Objective-C, and the SDK agreement has always prohibited dynamically interpreting code. There’s some ambiguity about how these rules will be enforced, but to be safe, it’s best to avoid other languages until the kinks get worked out.

    EDIT: In addition, as far as I know, there’s no current technical way to run Python on the iPhone, as per this question. I’ve heard of embedding Lua in iPhone apps, but not Python. You can do Python with a jailbroken iPhone, but not through the app store.

    The Ruby situation is almost as bad, as per this question. The iPhone doesn’t ship with a Ruby interpreter, and compilers are a long ways off from working. Rhomobile works by packaging an interpreter and framework with the executable, which I highly doubt will make it past the new SDK agreement. If you really want to use Ruby, Rhomobile would probably be the best bet (as implementing your own interpreter would probably be a lot of work, and equally as unlikely to be approved). It’s a rather depressing landscape at the moment–the most we can hope for is that MacRuby will eventually work, and Apple will approve it. That’s a long ways off, though.

    EDIT 2: I also just found out about tinypy, which could potentially work for Python. I doubt it would run real libraries though.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm investigating which platform to use for a cross platform GUI app that needs
I have an app that needs to be able use either an sqlite3 datebase
I am writing a mono app for OSX that needs to use AppleScript. I
I need to use a plist from an existing iOS app in my android
In my app I need to download several images from a server. I use
TickZoom is a very high performance app which uses it's own parallelization library and
I have developed iPhone app which contains a 80MB audio files and 20MB images
I have a class library which is called through COM from a Third Party
I am writting an app which needs to decode H.264(AVC) bitstream. I find there
I am tasked to maintain and update a library which allows a computer to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.