FigBug / Gin

A few extras for juce
BSD 3-Clause "New" or "Revised" License
262 stars 40 forks source link

can't compile demo to IOS phone #13

Closed shimladnb closed 5 years ago

shimladnb commented 5 years ago

i can't seem to compile the demo project to my IOS phone (iphone 6). i get about 20 errors, almost all are semantic issues.

the last couple: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/mmintrin.h:387:19: error: use of undeclared identifier '__builtin_ia32_paddw' return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/mmintrin.h:408:19: error: use of undeclared identifier '__builtin_ia32_paddd' return (__m64)__builtin_ia32_paddd((__v2si)__m1, (__v2si)__m2); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/mmintrin.h:430:19: error: use of undeclared identifier '__builtin_ia32_paddsb' return (__m64)__builtin_ia32_paddsb((__v8qi)__m1, (__v8qi)__m2); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/mmintrin.h:453:19: error: use of undeclared identifier '__builtin_ia32_paddsw' return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/mmintrin.h:475:19: error: use of undeclared identifier '__builtin_ia32_paddusb' return (__m64)__builtin_ia32_paddusb((__v8qi)__m1, (__v8qi)__m2); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated.

my steps are:

  1. I open demo in projucer
  2. Add my signing id & bundle identifier to the projucer project
  3. open iOS project with XCode
  4. select my phone as target
  5. press run.
  6. get errors
FigBug commented 5 years ago

I fixed a few compile errors. However, I currently can't get it to sign. I'll try and figure out what's going wrong later tonight.

shimladnb commented 5 years ago

Wow that's fast! it builds like a charm now thank you