Это мой заголовок: >
#include
#include
#include
#include
class NativeBoostNumber {
public:
NativeBoostNumber();
NativeBoostNumber(const NativeBoostNumber &src);
NativeBoostNumber(NativeBoostNumber &&src);
NativeBoostNumber(const std::string &numStr);
NativeBoostNumber(std::any &num, NumType type);
~NativeBoostNumber();
void set(const std::string &numStr);
void set(const std::string &numStr, NumType type);
void set(std::any &num, NumType type);
std::string str(int digital, int fmtFlag);
std::string str(NumType targetType, int digital, int fmtFlag);
NumType getType();
private:
NumType type = NumType::UNKNOWN;
std::any boostType;
};
и это сообщение об ошибке:
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/NativeBoostNumber.hpp:36:10: error: no type named 'any' in namespace 'std'
std::any boostType;
^
Я пробовал std::string, std::unique_ptr, все работает хорошо. Я знаю, что std::any — это функция C++17, я установил диалект языка C++ на c++17, а -std\=c++17 можно найти в журнал сборки.
При написании кода все в порядке, в редакторе нет подсказок об ошибках, код intelliSence работает нормально.
Думаю, это могут быть проблемы о компиляторе, но настройка сборки XCode слишком сложна, чтобы узнать, как изменить компилятор C++, доступен только Apple clang.

Более того, я считаю, что std::optional также не работает.Вот журнал сборки, где возникает ошибка:
SwiftVerifyEmittedModuleInterface normal arm64 Verifying\ emitted\ module\ interface\ BoostMath.swiftinterface /Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/Objects-normal/arm64/BoostMath.swiftinterface (in target 'BoostMath' from project 'BoostMath')
cd /Users/zu/work_space/iOSProject/BoostMath
builtin-swiftTaskExecution -- / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / T o o l c h a i n s / X c o d e D e f a u l t . x c t o o l c h a i n / u s r / b i n / s w i f t - f r o n t e n d - f r o n t e n d - t y p e c h e c k - m o d u l e - f r o m - i n t e r f a c e / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / O b j e c t s - n o r m a l / a r m 6 4 / B o o s t M a t h . s w i f t i n t e r f a c e - t a r g e t a r m 6 4 - a p p l e - i o s 1 6 . 6 - X l l v m - a a r c h 6 4 - u s e - t b i - e n a b l e - o b j c - i n t e r o p - s t a c k - c h e c k - c x x - i n t e r o p e r a b i l i t y - m o d e \ = d e f a u l t - s d k / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / P l a t f o r m s / i P h o n e O S . p l a t f o r m / D e v e l o p e r / S D K s / i P h o n e O S 1 8 . 0 . s d k - I / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / P r o d u c t s / D e b u g - i p h o n e o s - F / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / P r o d u c t s / D e b u g - i p h o n e o s - n o - c o l o r - d i a g n o s t i c s - e n a b l e - l i b r a r y - e v o l u t i o n - e n a b l e - t e s t i n g - g - d e b u g - i n f o - f o r m a t \ = d w a r f - d w a r f - v e r s i o n \ = 4 - i m p o r t - u n d e r l y i n g - m o d u l e - m o d u l e - c a c h e - p a t h / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / M o d u l e C a c h e . n o i n d e x - s w i f t - v e r s i o n 5 - e n f o r c e - e x c l u s i v i t y \ = c h e c k e d - O n o n e - D D E B U G - s e r i a l i z e - d e b u g g i n g - o p t i o n s - c o n s t - g a t h e r - p r o t o c o l s - f i l e / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / O b j e c t s - n o r m a l / a r m 6 4 / B o o s t M a t h _ c o n s t _ e x t r a c t _ p r o t o c o l s . j s o n - e n a b l e - e x p e r i m e n t a l - f e a t u r e D e b u g D e s c r i p t i o n M a c r o - e n a b l e - e x p e r i m e n t a l - f e a t u r e O p a q u e T y p e E r a s u r e - e n a b l e - b a r e - s l a s h - r e g e x - v a l i d a t e - c l a n g - m o d u l e s - o n c e - c l a n g - b u i l d - s e s s i o n - f i l e / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / M o d u l e C a c h e . n o i n d e x / S e s s i o n . m o d u l e v a l i d a t i o n - X c c - w o r k i n g - d i r e c t o r y - X c c / U s e r s / z u / w o r k _ s p a c e / i O S P r o j e c t / B o o s t M a t h - r e s o u r c e - d i r / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / T o o l c h a i n s / X c o d e D e f a u l t . x c t o o l c h a i n / u s r / l i b / s w i f t - e n a b l e - a n o n y m o u s - c o n t e x t - m a n g l e d - n a m e s - f i l e - c o m p i l a t i o n - d i r / U s e r s / z u / w o r k _ s p a c e / i O S P r o j e c t / B o o s t M a t h - X c c - s t d \ = c + + 1 7 - X c c - D _ L I B C P P _ H A R D E N I N G _ M O D E \ = _ L I B C P P _ H A R D E N I N G _ M O D E _ D E B U G - X c c - i v f s s t a t c a c h e - X c c / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / S D K S t a t C a c h e s . n o i n d e x / i p h o n e o s 1 8 . 0 - 2 2 A 3 3 6 2 - 8 e c 3 f e 4 d c a 9 1 f a 9 a 9 4 1 e a a 2 d 5 f a a d 0 e 4 . s d k s t a t c a c h e - X c c - I / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / s w i f t - o v e r r i d e s . h m a p - X c c - i q u o t e - X c c / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / B o o s t M a t h - g e n e r a t e d - f i l e s . h m a p - X c c - I / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / B o o s t M a t h - o w n - t a r g e t - h e a d e r s . h m a p - X c c - I / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / B o o s t M a t h - a l l - n o n - f r a m e w o r k - t a r g e t - h e a d e r s . h m a p - X c c - i v f s o v e r l a y - X c c / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h - 3 8 f 0 6 8 f 7 0 d 2 e f 1 0 7 5 a 5 a 8 c 4 a 7 8 0 6 8 0 6 3 - V F S - i p h o n e o s / a l l - p r o d u c t - h e a d e r s . y a m l - X c c - i q u o t e - X c c / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / B o o s t M a t h - p r o j e c t - h e a d e r s . h m a p - X c c - I / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / P r o d u c t s / D e b u g - i p h o n e o s / i n c l u d e - X c c - I B o o s t M a t h / d e p - X c c - I B o o s t M a t h / d e p / b o o s t - X c c - I B o o s t M a t h / d e p / l i b - X c c - I B o o s t M a t h / d e p / b o o s t / c o n f i g - X c c - I B o o s t M a t h / d e p / b o o s t / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h - X c c - I B o o s t M a t h / d e p / b o o s t / m u l t i p r e c i s i o n - X c c - I B o o s t M a t h / d e p / b o o s t / c o n f i g / a b i - X c c - I B o o s t M a t h / d e p / b o o s t / c o n f i g / c o m p i l e r - X c c - I B o o s t M a t h / d e p / b o o s t / c o n f i g / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / c o n f i g / n o _ t r 1 - X c c - I B o o s t M a t h / d e p / b o o s t / c o n f i g / p l a t f o r m - X c c - I B o o s t M a t h / d e p / b o o s t / c o n f i g / s t d l i b - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / b i n d i n g s - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / c c m a t h - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / c o m p l e x - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / c o n c e p t s - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / c o n s t a n t s - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / c s t d f l o a t - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / d i f f e r e n t i a t i o n - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / d i s t r i b u t i o n s - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / f i l t e r s - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / i n t e r p o l a t o r s - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / o p t i m i z a t i o n - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / p o l i c i e s - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / q u a d r a t u r e - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / s p e c i a l _ f u n c t i o n s - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / s t a t i s t i c s - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / t o o l s - X c c - I B o o s t M a t h / d e p / b o o s t / m u l t i p r e c i s i o n / c o n c e p t s - X c c - I B o o s t M a t h / d e p / b o o s t / m u l t i p r e c i s i o n / c p p _ b i n _ f l o a t - X c c - I B o o s t M a t h / d e p / b o o s t / m u l t i p r e c i s i o n / c p p _ i n t - X c c - I B o o s t M a t h / d e p / b o o s t / m u l t i p r e c i s i o n / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m u l t i p r e c i s i o n / t r a i t s - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / b i n d i n g s / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / c c m a t h / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / d i s t r i b u t i o n s / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / i n t e r p o l a t o r s / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / o p t i m i z a t i o n / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / q u a d r a t u r e / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / s p e c i a l _ f u n c t i o n s / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / s t a t i s t i c s / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m a t h / t o o l s / d e t a i l - X c c - I B o o s t M a t h / d e p / b o o s t / m u l t i p r e c i s i o n / d e t a i l / f u n c t i o n s - X c c - I / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / D e r i v e d S o u r c e s - n o r m a l / a r m 6 4 - X c c - I / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / D e r i v e d S o u r c e s / a r m 6 4 - X c c - I / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / D e r i v e d S o u r c e s - X c c - D D E B U G \ = 1 - X c c - D B O O S T _ M P _ S T A N D A L O N E \ = 1 - X c c - D B O O S T _ M A T H _ S T A N D A L O N E \ = 1 - m o d u l e - n a m e B o o s t M a t h - f r o n t e n d - p a r s e a b l e - o u t p u t - d i s a b l e - c l a n g - s p i - t a r g e t - s d k - v e r s i o n 1 8 . 0 - t a r g e t - s d k - n a m e i p h o n e o s 1 8 . 0 - e x t e r n a l - p l u g i n - p a t h / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / P l a t f o r m s / i P h o n e O S . p l a t f o r m / D e v e l o p e r / u s r / l i b / s w i f t / h o s t / p l u g i n s \ # / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / P l a t f o r m s / i P h o n e O S . p l a t f o r m / D e v e l o p e r / u s r / b i n / s w i f t - p l u g i n - s e r v e r - e x t e r n a l - p l u g i n - p a t h / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / P l a t f o r m s / i P h o n e O S . p l a t f o r m / D e v e l o p e r / u s r / l o c a l / l i b / s w i f t / h o s t / p l u g i n s \ # / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / P l a t f o r m s / i P h o n e O S . p l a t f o r m / D e v e l o p e r / u s r / b i n / s w i f t - p l u g i n - s e r v e r - p l u g i n - p a t h / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / T o o l c h a i n s / X c o d e D e f a u l t . x c t o o l c h a i n / u s r / l i b / s w i f t / h o s t / p l u g i n s - p l u g i n - p a t h / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / T o o l c h a i n s / X c o d e D e f a u l t . x c t o o l c h a i n / u s r / l o c a l / l i b / s w i f t / h o s t / p l u g i n s < b r / > < b r / > C o m m a n d S w i f t V e r i f y E m i t t e d M o d u l e I n t e r f a c e f a i l e d w i t h a n o n z e r o e x i t c o d e < b r / > < b r / > C o m m a n d S w i f t V e r i f y E m i t t e d M o d u l e I n t e r f a c e f a i l e d w i t h a n o n z e r o e x i t c o d e < b r / > < b r / > S w i f t C o m p i l e n o r m a l a r m 6 4 / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / O b j e c t s - n o r m a l / a r m 6 4 / B o o s t M a t h . s w i f t i n t e r f a c e ( i n t a r g e t ' B o o s t M a t h ' f r o m p r o j e c t ' B o o s t M a t h ' ) < b r / > c d / U s e r s / z u / w o r k _ s p a c e / i O S P r o j e c t / B o o s t M a t h < b r / > / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / T o o l c h a i n s / X c o d e D e f a u l t . x c t o o l c h a i n / u s r / b i n / s w i f t - f r o n t e n d - t y p e c h e c k - m o d u l e - f r o m - i n t e r f a c e / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / O b j e c t s - n o r m a l / a r m 6 4 / B o o s t M a t h . s w i f t i n t e r f a c e - t a r g e t a r m 6 4 - a p p l e - i o s 1 6 . 6 - X l l v m - a a r c h 6 4 - u s e - t b i - e n a b l e - o b j c - i n t e r o p - s t a c k - c h e c k - c x x - i n t e r o p e r a b i l i t y - m o d e \ = d e f a u l t - s d k / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / P l a t f o r m s / i P h o n e O S . p l a t f o r m / D e v e l o p e r / S D K s / i P h o n e O S 1 8 . 0 . s d k - I / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / P r o d u c t s / D e b u g - i p h o n e o s - F / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / P r o d u c t s / D e b u g - i p h o n e o s - n o - c o l o r - d i a g n o s t i c s - e n a b l e - l i b r a r y - e v o l u t i o n - e n a b l e - t e s t i n g - g - d e b u g - i n f o - f o r m a t \ = d w a r f - d w a r f - v e r s i o n \ = 4 - i m p o r t - u n d e r l y i n g - m o d u l e - m o d u l e - c a c h e - p a t h / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / M o d u l e C a c h e . n o i n d e x - s w i f t - v e r s i o n 5 - e n f o r c e - e x c l u s i v i t y \ = c h e c k e d - O n o n e - D D E B U G - s e r i a l i z e - d e b u g g i n g - o p t i o n s - c o n s t - g a t h e r - p r o t o c o l s - f i l e / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / B o o s t M a t h - a x c a e v r z e q e o t v g r g h h a p d j m t y u i / B u i l d / I n t e r m e d i a t e s . n o i n d e x / B o o s t M a t h . b u i l d / D e b u g - i p h o n e o s / B o o s t M a t h . b u i l d / O b j e c t s - n o r m a l / a r m 6 4 / B o o s t M a t h _ c o n s t _ e x t r a c t _ p r o t o c o l s . j s o n - e n a b l e - e x p e r i m e n t a l - f e a t u r e D e b u g D e s c r i p t i o n M a c r o - e n a b l e - e x p e r i m e n t a l - f e a t u r e O p a q u e T y p e E r a s u r e - e n a b l e - b a r e - s l a s h - r e g e x - v a l i d a t e - c l a n g - m o d u l e s - o n c e - c l a n g - b u i l d - s e s s i o n - f i l e / U s e r s / z u / L i b r a r y / D e v e l o p e r / X c o d e / D e r i v e d D a t a / M o d u l e C a c h e . n o i n d e x / S e s s i o n . m o d u l e v a l i d a t i o n - X c c - w o r k i n g - d i r e c t o r y - X c c / U s e r s / z u / w o r k _ s p a c e / i O S P r o j e c t / B o o s t M a t h - r e s o u r c e - d i r / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / T o o l c h a i n s / X c o d e D e f a u l t . x c t o o l c h a i n / u s r / l i b / s w i f t - e n a b l e - a n o n y m o u s - c o n t e x t - m a n g l e d - n a m e s - f i l e - c o m p i l a t i o n - d i r / U s e r s / z u / w o r k _ s p a c e / i O S P r o j e c t / B o o s t M a t h - X c c - s t d \ = c + + 1 7 - X c c - D _ L I B C P P _ H A R D E N I N G _ M O D E \ = _ L I B C P P _ H A R D E N I N G _ M O D E _ D E B U G - X c c - i v f s s t atcache -Xcc /Users/zu/Library/Developer/Xcode/DerivedData/SDKStatCaches.noindex/iphoneos18.0-22A3362-8ec3fe4dca91fa9a941eaa2d5faad0e4.sdkstatcache -Xcc -I/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/BoostMath-generated-files.hmap -Xcc -I/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/BoostMath-own-target-headers.hmap -Xcc -I/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/BoostMath-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath-38f068f70d2ef1075a5a8c4a78068063-VFS-iphoneos/all-product-headers.yaml -Xcc -iquote -Xcc /Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/BoostMath-project-headers.hmap -Xcc -I/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/include -Xcc -IBoostMath/dep -Xcc -IBoostMath/dep/boost -Xcc -IBoostMath/dep/lib -Xcc -IBoostMath/dep/boost/config -Xcc -IBoostMath/dep/boost/detail -Xcc -IBoostMath/dep/boost/math -Xcc -IBoostMath/dep/boost/multiprecision -Xcc -IBoostMath/dep/boost/config/abi -Xcc -IBoostMath/dep/boost/config/compiler -Xcc -IBoostMath/dep/boost/config/detail -Xcc -IBoostMath/dep/boost/config/no_tr1 -Xcc -IBoostMath/dep/boost/config/platform -Xcc -IBoostMath/dep/boost/config/stdlib -Xcc -IBoostMath/dep/boost/math/bindings -Xcc -IBoostMath/dep/boost/math/ccmath -Xcc -IBoostMath/dep/boost/math/complex -Xcc -IBoostMath/dep/boost/math/concepts -Xcc -IBoostMath/dep/boost/math/constants -Xcc -IBoostMath/dep/boost/math/cstdfloat -Xcc -IBoostMath/dep/boost/math/differentiation -Xcc -IBoostMath/dep/boost/math/distributions -Xcc -IBoostMath/dep/boost/math/filters -Xcc -IBoostMath/dep/boost/math/interpolators -Xcc -IBoostMath/dep/boost/math/optimization -Xcc -IBoostMath/dep/boost/math/policies -Xcc -IBoostMath/dep/boost/math/quadrature -Xcc -IBoostMath/dep/boost/math/special_functions -Xcc -IBoostMath/dep/boost/math/statistics -Xcc -IBoostMath/dep/boost/math/tools -Xcc -IBoostMath/dep/boost/multiprecision/concepts -Xcc -IBoostMath/dep/boost/multiprecision/cpp_bin_float -Xcc -IBoostMath/dep/boost/multiprecision/cpp_int -Xcc -IBoostMath/dep/boost/multiprecision/detail -Xcc -IBoostMath/dep/boost/multiprecision/traits -Xcc -IBoostMath/dep/boost/math/bindings/detail -Xcc -IBoostMath/dep/boost/math/ccmath/detail -Xcc -IBoostMath/dep/boost/math/distributions/detail -Xcc -IBoostMath/dep/boost/math/interpolators/detail -Xcc -IBoostMath/dep/boost/math/optimization/detail -Xcc -IBoostMath/dep/boost/math/quadrature/detail -Xcc -IBoostMath/dep/boost/math/special_functions/detail -Xcc -IBoostMath/dep/boost/math/statistics/detail -Xcc -IBoostMath/dep/boost/math/tools/detail -Xcc -IBoostMath/dep/boost/multiprecision/detail/functions -Xcc -I/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/DerivedSources-normal/arm64 -Xcc -I/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/DerivedSources/arm64 -Xcc -I/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/DerivedSources -Xcc -DDEBUG\=1 -Xcc -DBOOST_MP_STANDALONE\=1 -Xcc -DBOOST_MATH_STANDALONE\=1 -module-name BoostMath -frontend-parseable-output -disable-clang-spi -target-sdk-version 18.0 -target-sdk-name iphoneos18.0 -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins
:1:9: note: in file included from :1:
#import "Headers/BoostMath.h"
^
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/BoostMath.h:19:9: note: in file included from /Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/BoostMath.h:19:
#import
^
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/NativeBoostNumber.hpp:24:28: error: no type named 'any' in namespace 'std'
NativeBoostNumber(std::any &num, NumType type);
^
:1:9: note: in file included from :1:
#import "Headers/BoostMath.h"
^
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/BoostMath.h:19:9: note: in file included from /Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/BoostMath.h:19:
#import
^
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/NativeBoostNumber.hpp:30:19: error: no type named 'any' in namespace 'std'
void set(std::any &num, NumType type);
^
:1:9: note: in file included from :1:
#import "Headers/BoostMath.h"
^
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/BoostMath.h:19:9: note: in file included from /Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/BoostMath.h:19:
#import
^
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/NativeBoostNumber.hpp:36:10: error: no template named 'optional' in namespace 'std'
std::optional getTestStr();
^
:1:9: note: in file included from :1:
#import "Headers/BoostMath.h"
^
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/BoostMath.h:19:9: note: in file included from /Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/BoostMath.h:19:
#import
^
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Products/Debug-iphoneos/BoostMath.framework/Headers/NativeBoostNumber.hpp:40:10: error: no type named 'any' in namespace 'std'
std::any boostType;
^
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/Objects-normal/arm64/BoostMath.swiftinterface:4:19: error: could not build Objective-C module 'BoostMath'
@_exported import BoostMath
^
/Users/zu/Library/Developer/Xcode/DerivedData/BoostMath-axcaevrzeqeotvgrghhapdjmtyui/Build/Intermediates.noindex/BoostMath.build/Debug-iphoneos/BoostMath.build/Objects-normal/arm64/BoostMath.swiftinterface:1:1: error: failed to verify module interface of 'BoostMath' due to the errors above; the textual interface may be broken by project issues or a compiler bug
// swift-interface-format-version: 1.0
^
Подробнее здесь: https://stackoverflow.com/questions/791 ... espace-std
Мобильная версия