Toolchain not compatible with Xcode 7
See original GitHub issueI am attempting to build kivy-ios and receiving a fatal error building python.
System: OSX 10.10.5 Xcode: 7.0
clang -Qunused-arguments -fcolor-diagnostics -lsqlite3 -lffi -L/Users/morrisde/contract/src/kivy-ios/dist/lib -o python.exe \
Modules/python.o \
libpython2.7.a -ldl -framework CoreFoundation -L/Users/morrisde/contract/src/kivy-ios/dist/hostpython/lib -lz
ld: warning: directory not found for option '-L/Users/morrisde/contract/src/kivy-ios/dist/hostpython/lib'
ld: in /Users/morrisde/contract/src/kivy-ios/dist/lib/libffi.a(ffi64_x86_64.o), building for OSX, but linking in object file built for iOS, for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [python.exe] Error 1
Traceback (most recent call last):
File "./toolchain.py", line 1224, in <module>
ToolchainCL()
File "./toolchain.py", line 1040, in __init__
getattr(self, args.command)()
File "./toolchain.py", line 1064, in build
build_recipes(args.recipe, ctx)
File "./toolchain.py", line 933, in build_recipes
recipe.execute()
File "/Users/morrisde/contract/src/kivy-ios/toolchain.py", line 556, in execute
self.build_all()
File "/Users/morrisde/contract/src/kivy-ios/toolchain.py", line 56, in _cache_execution
f(self, *args, **kwargs)
File "/Users/morrisde/contract/src/kivy-ios/toolchain.py", line 643, in build_all
self.build(arch)
File "/Users/morrisde/contract/src/kivy-ios/toolchain.py", line 56, in _cache_execution
f(self, *args, **kwargs)
File "/Users/morrisde/contract/src/kivy-ios/toolchain.py", line 630, in build
self.build_arch(arch)
File "/Users/morrisde/contract/src/kivy-ios/toolchain.py", line 678, in build_arch
getattr(self, build)()
File "/Users/morrisde/contract/src/kivy-ios/recipes/hostpython/__init__.py", line 68, in build_i386
_env=build_env)
File "/Users/morrisde/contract/src/kivy-ios/toolchain.py", line 39, in shprint
for line in command(*args, **kwargs):
File "./tools/external/sh.py", line 565, in next
self.wait()
File "./tools/external/sh.py", line 500, in wait
self.handle_command_exit_code(exit_code)
File "./tools/external/sh.py", line 516, in handle_command_exit_code
raise exc(self.ran, self.process.stdout, self.process.stderr)
sh.ErrorReturnCode_2:
RAN: '/usr/bin/make -C /Users/morrisde/contract/src/kivy-ios/build/hostpython/i386/Python-2.7.1 -j4 python.exe Parser/pgen'
STDOUT:
Makefile:1393: warning: overriding commands for target `Modules/posixmodule.o'
Makefile:1285: warning: ignoring old commands for target `Modules/posixmodule.o'
Makefile:1394: warning: overriding commands for target `Modules/posixmodule.so'
Makefile:1286: warning: ignoring old commands for target `Modules/posixmodule.so'
Makefile:1395: warning: overriding commands for target `Modules/errnomodule.o'
Makefile:1287: warning: ignoring old commands for target `Modules/errnomodule.o'
Makefile:1396: warning: overriding commands for target `Modules/errnomodule.so'
Makefile:1288: warning: ignoring old commands for target `Modules/errnomodule.so'
Makefile:1397: warning: overriding commands for target `Modules/pwdmodule.o'
Makefile:1289: warning: ignor... (77699 more, please see e.stdout)
STDERR:
Issue Analytics
- State:
- Created 8 years ago
- Comments:37 (9 by maintainers)
Top Results From Across the Web
Invalid Toolchain error with Xcode 7.0.1, too - Apple Developer
I'm getting the dreaded "Invalid Toolchain. New apps and app updates must be built with the public (GM) versions of Xcode 6 or...
Read more >xcode - Swift Version Conflict: this SDK is not supported by the ...
xcode - Swift Version Conflict: this SDK is not supported by the compiler, Please select a toolchain which matches the SDK - Stack...
Read more >SwiftSyntax parser library isn't compatible - #25 by allevato
Xcode 11.4 is compatible with the swift-5.2-branch of SwiftSyntax, ... (The parser library is in the toolchain; not the product folder of a ......
Read more >Xcode - Wikipedia
Xcode is Apple's integrated development environment (IDE) for macOS, used to develop software for macOS, iOS, iPadOS, watchOS, and tvOS.
Read more >Failed to pair to Mac with error "Could not install workload ...
First, how the mono toolchain declares it's dependency on ... The Xcode version installed on the Mac (13.4) is not compatible with this ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In project
Build Settings
findBuild Options
and set No in optionEnable Bitcode
. I hope that it help for you.same issue @MatthewGieger