Как я могу обновить приложение iOS 6 до iOS 10-12 и запустить на Xcode 10? - PullRequest
0 голосов
/ 03 октября 2018

Я пытаюсь обновить приложение с целью развертывания iOS 6 до цели развертывания iOS 10. Приложение не будет встроено в Xcode 10 или 9, но оно будет встроено в Xcode 8. При попытке создать и запуститьв симуляторе в Xcode 10 я получаю ошибки ниже.Я не уверен, что это значит.

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:627:18: error: index for __builtin_shufflevector must be less than the total number of vector elements
  return (__m128)__builtin_shufflevector((__v4sf)__a,
                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:672:18: error: index for __builtin_shufflevector must be less than the total number of vector elements
  return (__m128)__builtin_shufflevector((__v4sf)__a,
                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:849:18: error: index for __builtin_shufflevector must be less than the total number of vector elements
  return (__m128)__builtin_shufflevector((__v4sf)__a,
                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:896:18: error: index for __builtin_shufflevector must be less than the total number of vector elements
  return (__m128)__builtin_shufflevector((__v4sf)__a,
                 ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1609:10: error: initializing '__m128' (vector of 2 'CGFloat' values) with an expression of incompatible type '__attribute__((__vector_size__(4 * sizeof(CGFloat)))) CGFloat' (vector of 4 'CGFloat' values)
  __m128 __bb = __builtin_shufflevector(__b, __b, 0, 1, 0, 1);
         ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1636:10: error: initializing '__m128' (vector of 2 'CGFloat' values) with an expression of incompatible type '__attribute__((__vector_size__(4 * sizeof(CGFloat)))) CGFloat' (vector of 4 'CGFloat' values)
  __m128 __bb = __builtin_shufflevector(__b, __b, 0, 1, 0, 1);
         ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1743:10: error: returning '__attribute__((__vector_size__(4 * sizeof(CGFloat)))) CGFloat' (vector of 4 'CGFloat' values) from a function with incompatible result type '__m128' (vector of 2 'CGFloat' values)
  return __builtin_shufflevector((__v4sf)__a, (__v4sf)__a, 3, 2, 1, 0);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:1995:7: error: assigning to '__m128' (vector of 2 'CGFloat' values) from incompatible type '__attribute__((__vector_size__(4 * sizeof(CGFloat)))) CGFloat' (vector of 4 'CGFloat' values)
  __a = __builtin_shufflevector((__v4sf)__a, (__v4sf)__a, 0, 0, 0, 0);
      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:2034:7: error: assigning to '__m128' (vector of 2 'CGFloat' values) from incompatible type '__attribute__((__vector_size__(4 * sizeof(CGFloat)))) CGFloat' (vector of 4 'CGFloat' values)
  __a = __builtin_shufflevector((__v4sf)__a, (__v4sf)__a, 3, 2, 1, 0);
      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:2593:10: error: index for __builtin_shufflevector must be less than the total number of vector elements
  return __builtin_shufflevector((__v4sf)__a, (__v4sf)__b, 2, 6, 3, 7);
         ^                                                    ~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:2615:10: error: index for __builtin_shufflevector must be less than the total number of vector elements
  return __builtin_shufflevector((__v4sf)__a, (__v4sf)__b, 0, 4, 1, 5);
         ^                                                    ~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:2636:10: error: index for __builtin_shufflevector must be less than the total number of vector elements
  return __builtin_shufflevector((__v4sf)__a, (__v4sf)__b, 4, 1, 2, 3);
         ^                                                 ~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:2657:10: error: index for __builtin_shufflevector must be less than the total number of vector elements
  return __builtin_shufflevector((__v4sf)__a, (__v4sf)__b, 6, 7, 2, 3);
         ^                                                 ~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/xmmintrin.h:2678:10: error: index for __builtin_shufflevector must be less than the total number of vector elements
  return __builtin_shufflevector((__v4sf)__a, (__v4sf)__b, 0, 1, 4, 5);
         ^                                                       ~
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...