[llvm-dev] Xcode issues
Tom Stellard via llvm-dev
llvm-dev at lists.llvm.org
Wed Sep 28 14:05:49 PDT 2016
On Wed, Sep 28, 2016 at 11:13:35AM -0700, Mehdi Amini wrote:
>
> > On Sep 28, 2016, at 11:00 AM, Rinaldini Julien via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> >
> > Hi,
> >
> > I’m using llvm+clang (+ a wrapper for swift that allow me to use my clang to compile swift files) inside Xcode and I have encountered two issues with the new clang 3.9 and Xcode 8:
> >
> > 1) when compiling with the deployment target set to 10.0, I got this error: clang-3.9: error: invalid version number in '-miphoneos-version-min=10.0’. If I set back the deployment target to 9.3 it works fine.
>
> https://reviews.llvm.org/rL275905
>
> It probably landed after the 3.9 branch and unfortunately wasn’t backported.
>
> CC Tstellar for 3.9.1
>
I created a bug to track this request: https://llvm.org/bugs/show_bug.cgi?id=30555
-Tom
> —
> Mehdi
>
>
> >
> > 2) when compiling a mixed project with both swift and objective-c source code, the compiler fail to find the “bridge” include:
> >
> > SOMEFILE.m:15:9: fatal error: 'Sparkasse-Swift.h' file not found
> > #import <SOMETHING-Swift.h>
> > ^
> > 1 error generated.
> > Command /usr/localt/bin/clang failed with exit code 1
> >
> > I guess I can add a -I/path/to/SOMETHING-Swift.h to the flags but I have a lot of those.
> >
> >
> > Does anyone encountered those issues? Do you have any pointer on how I can fix those issues?
> >
> > Cheers,
> > Julien Rinaldini
> > _______________________________________________
> > LLVM Developers mailing list
> > llvm-dev at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
More information about the llvm-dev
mailing list