Compiling a 64 bit binary for iOS

M Michael OBrien 3 years 5 months ago
2 1 0

I am trying to compile my application as a 64 bit application for iOS. I have Xcode 6 installed on my system and have pulled Rhodes 5.0.2 from the master branch on GitHub and installed it.

When I run rake device:iphone:production, the 32 bit binary compiles fine, but the 64 bit keeps getting caught up on:

../project/iphone/Rhodes/extensions.c:15:9:  error: implicit declaration of function 'rho_ruby_is_started' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    if (rho_ruby_is_started()) Init_App47_extension();
        ^
** BUILD FAILED **

Looking at the extensions.c file, it looks like it is generated each compile by Rhodes.

Does anyone have any insights as how to possibly get around this issue?

Thanks.

Please Register or Login to post a reply

1 Replies

M Michael OBrien

I figured it out. It looks like one of our extensions doesn't like to let the app compile. Once I removed it, the compile was successful.

CONTACT
Can’t find what you’re looking for?