phoboslab / JavaScriptCore-iOS

Apple's JavaScript Engine, with modified project files for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seems to be an issue with ios 7.1 / xcode 5.1

childoftv opened this issue · comments

Running on osx with latest xcode. Other times this issue has been seen online it has been mentioned as a 7.1 issue.

$ python make.py
xcodebuild: error: SDK "iphoneos7.0" cannot be located.
Traceback (most recent call last):
  File "make.py", line 60, in <module>
    outdir = build(args.out, args.derived_data)
  File "make.py", line 30, in build
    jsc.build()
  File "/Users/ben/code/JavaScriptCore-iOS/xcodebuild.py", line 145, in build
    self.devicebuildarm64.build()
  File "/Users/ben/code/JavaScriptCore-iOS/xcodebuild.py", line 97, in build
    self._xcodebuild("build")
  File "/Users/ben/code/JavaScriptCore-iOS/xcodebuild.py", line 81, in _xcodebuild
    self.project)
xcodebuild.PebbleXcodeBuildException: Build failed. xcodebuild exitedwith non-zero return code (None)

I ran into the same issue. You can modify xcodebuild.py by changing sdk_version to 7.1 and then it will build successfully.

sdk_version is now empty and thus should default to the newest available SDK:
https://github.com/phoboslab/JavaScriptCore-iOS/blob/master/xcodebuild.py#L23