Support troubleshooting iOS Build Tools Installation

juanmarianofuentes juanmarianofuentes at gmail.com
Wed Nov 8 18:07:08 UTC 2017


Dear all,

I’m new to this list, hope to be able to get some help setting up the installation or point me to other resources that explain how to get this working. My final goal is to build a java 8 application with a JavaFX interface.

I’m trying to get the iOS build to work as explained on: http://openjdk.java.net/projects/mobile/ios.html <http://openjdk.java.net/projects/mobile/ios.html>.

I’m stuck on the first step installing libffi. Let me know if you need any extra information.

macOS Sierra: 10.12.6
Xcode: 8.3.3
I also have the command line tools for this Xcode version even if they are not explicitly asked for on the guide.

> xcodebuild -arch arm64
…
configure: error: in `/Volumes/data/code/repository/objectdb-ui-ios/src/main/libs/libffi-3.2.1/build_iphoneos-armv7':
configure: error: C compiler cannot create executables
See `config.log' for more details
Traceback (most recent call last):
  File "generate-darwin-source-and-headers.py", line 209, in <module>
    generate_source_and_headers(generate_osx=not args.only_ios, generate_ios=not args.only_osx)
  File "generate-darwin-source-and-headers.py", line 190, in generate_source_and_headers
    build_target(device_platform, platform_headers)
  File "generate-darwin-source-and-headers.py", line 149, in build_target
    subprocess.check_call(['../configure', '-host', platform.triple], env=env)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['../configure', '-host', 'arm-apple-darwin11']' returned non-zero exit status 77
Command /bin/sh failed with exit code 1

Thanks in advance,
Juan


More information about the mobile-dev mailing list