@KnightForce

React native. Pod. Что ха проблема This file should only be included when compiling with MSVC?

react-native run-ios.
In file included from /node_modules/react-native-fcm/ios/RNFIRMessaging.m:3:
In file included from /ios/build/Build/Products/Debug-iphonesimulator/include/React/RCTConvert.h:19:
In file included from /ios/build/Build/Products/Debug-iphonesimulator/include/yoga/Yoga.h:15:
../../../ios/Pods/leveldb-library/port/win/stdint.h:11:2: error: This file should only be included when compiling with MSVC.
#error This file should only be included when compiling with MSVC.
 ^
1 error generated.
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1


Файл stdin.h:
#ifndef STORAGE_LEVELDB_PORT_WIN_STDINT_H_
#define STORAGE_LEVELDB_PORT_WIN_STDINT_H_

#if !defined(_MSC_VER)
#error This file should only be included when compiling with MSVC.
#endif

// Define C99 equivalent types.
typedef signed char           int8_t;
typedef signed short          int16_t;
typedef signed int            int32_t;
typedef signed long long      int64_t;
typedef unsigned char         uint8_t;
typedef unsigned short        uint16_t;
typedef unsigned int          uint32_t;
typedef unsigned long long    uint64_t;

#endif


Как пофиксить?
  • Вопрос задан
  • 206 просмотров
Пригласить эксперта
Ответы на вопрос 1
@iMaximus
Я вообще не знаю JS, но зато, умею пользоваться google

https://stackoverflow.com/questions/46208317/xcode...
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы
02 мая 2024, в 14:44
500 руб./за проект
02 мая 2024, в 14:36
3000 руб./за проект
02 мая 2024, в 14:29
30000 руб./за проект