Closed Yoric closed 6 years ago
Hmm, there is likely to be a default setting that xcodebuild
reads and screws it up. Or it could be something that was removed in newer Xcode. Clang and cmake versions look okay.
Which Xcode are you using and what is the output of xcode-select --version
?
I'm using XCode 8.2.1 and I get xcode-select version 2343
.
My xcode-select returns version 2347
. Can you try to reinstall command line tools with xcode-select --install
and try again?
And do a pod update
first, I pushed a new version that uses main OpenCV repository instead of my fork.
Can you try to reinstall command line tools with xcode-select --install and try again?
According to xcode-select --install
, it seems that it's done through the AppStore these days. Should I still do it?
Updated pod
(even CocoaPods
itself, since there was apparently a new release), got essentially the same message:
I'll look into de/re-installing the XCode command-line tools.
Well, according to both softwareupdate
and AppStore, I have the latest version of xcode. Maybe you are using XCode 8.3 beta?
I'm not using the Beta version. I'll have a detailed look, apparently there is some compiler option active that shouldn't be in your configuration.
Would this be influenced by the settings in my current XCode project or is this a system-wide stuff?
I'm targeting iOS 10.2, btw.
The target is good. Only the minimum target is defined, which is iOS 8.x. I'm doing a clean install right now, will let you know if I run into this issue.
Important configuration note: I have MacPorts installed. I suppose that it may somehow interfere.
I have tried by installing MacPorts as well, doesn't seem to be the issue. Looking more into it. It's gonna be hard to fix until I can reproduce the issue, it must be somewhere with build scripts though. Can you try cloning the opencv repository directly and building the framework manually by using this command: python opencv/platforms/ios/build_framework.py ios --dynamic
?
And if this fails, please try also without --dynamic
option.
Let me know how it goes.
I'm using the following CocoaPod:
then running
pod install
I get the following error:
Attaching full build logs.
logs.txt
I don't think it matters, but I have
cmake
3.7.2 andclang-800.0.42.1
.