Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

build error XCode 5.0.1 #43

Open
luisbebop opened this issue Nov 12, 2013 · 5 comments
Open

build error XCode 5.0.1 #43

luisbebop opened this issue Nov 12, 2013 · 5 comments

Comments

@luisbebop
Copy link

I'm trying to build the project using 'rake' but I'm getting the following error;
https://gist.github.com/luisbebop/7432205

I have tested on a Mavericks fresh install + Xcode 5.0.1 and on a Mountain Lion 10.8.5 + Xcode 5.0.1.

In both cases I'm getting the same error log output.

Any idea?

@luisbebop
Copy link
Author

The problem is:
checking for arm-apple-darwin10-gcc... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform//Developer/usr/bin/gcc
checking whether the C compiler works... no

So Xcode 5.0.1 doesn't contain GCC. I've found another threads with the same kind of problem:
https://loomsdk.com/forums/troubleshooting-and-issues/topics/bug-native-sdk-compilation-failure-on-osx-with-xcode-5
http://stackoverflow.com/questions/18922885/how-to-find-arm-apple-darwin-llvm-gcc-4-2-compiler-on-xcode-5

Did you test compilation in the branch develop with XCode 5.0.1?

@luisbebop
Copy link
Author

Using Mountain Lion 10.8.5 + Xcode 5.0 I'm getting error on simulator library.

@RodrigoAyala
Copy link

The error that stops the compiling is this:
ld: framework not found iPhoneSimulatorRemoteClient

The problem is related to the library ios-sim, not mobiruby. It tries to find a framework who doesn't exists with that name on you iOS SDK. Since XCode 5, the framework's name is "DVTiPhoneSimulatorRemoteClient".

The issue is solved right now on the official repo of ios-sim. The problem is that somehow when the Rake task tries to get each git project dependency inside of the folder "submodules", it gets an old version of the lib.

The workaround to solve this problem is this:

Go to the folder *submodules/ios-sim", and type on your terminal the next command:

git checkout master
git pull

This will retrieve the last version of ios-sim, and it will compile the project properly.

@yoshida0261
Copy link

I have fixed the problem above.
Error that there is no armv7/ffi.h Continuing the build is displayed.
Armv7 directory was empty actually.
Please let me know if you have any countermeasures.

@yoshida0261
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants