Код: Выделить всё
› Executing expo-web-browser Pods/ExpoWebBrowser » Copy generated compatibility header
› Executing native-module-test Pods/TestLocalModule » Copy generated compatibility header
› Compiling Pods/Pods-nativemoduletest » Pods-nativemoduletest-dummy.m
› Packaging Pods/Pods-nativemoduletest » libPods-nativemoduletest.a
› Executing nativemoduletest » [CP] Check Pods Manifest.lock
› Executing nativemoduletest » [Expo] Configure project
› Copying ./PrivacyInfo.xcprivacy ➜ ios/nativemoduletest/PrivacyInfo.xcprivacy
› Copying ios/nativemoduletest/Supporting/Expo.plist ➜ ./Expo.plist
› Compiling nativemoduletest » SplashScreen.storyboard
❌ (/Users/pubudu/Library/Developer/Xcode/DerivedData/nativemoduletest-denbynqwuqfmebgdbtkenakcxmew/Build/Products/Debug-iphoneos/TestLocalModule/TestLocalModule-umbrella.h:13:9)
11 | #endif
12 |
> 13 | #import "CustomBluetoothModule-umbrella.h"
| ^ 'CustomBluetoothModule-umbrella.h' file not found
14 | #import "CustomBluetoothModuleDevice.h"
15 |
16 | FOUNDATION_EXPORT double TestLocalModuleVersionNumber;
❌ (/Users/pubudu/Library/Developer/Xcode/DerivedData/nativemoduletest-denbynqwuqfmebgdbtkenakcxmew/Build/Products/Debug-iphoneos/TestLocalModule/TestLocalModule-umbrella.h:13:9)
11 | #endif
12 |
> 13 | #import "CustomBluetoothModule-umbrella.h"
| ^ 'CustomBluetoothModule-umbrella.h' file not found
14 | #import "CustomBluetoothModuleDevice.h"
15 |
16 | FOUNDATION_EXPORT double TestLocalModuleVersionNumber;
Как видите, существует файл CustomBluetoothModuleDevice.h, который был импортирован в CustomBluetoothModule-umbrella.h. Содержимое файла CustomBluetoothModule-umbrella.h следующее:
Код: Выделить всё
#import "CustomBluetoothModuleDevice.h"
Там пытаюсь запустить npx expo run:ios -- устройство выдаст вышеуказанную ошибку. Пожалуйста, помогите мне исправить это. Я не очень хорошо знаком со Swift.
Подробнее здесь: https://stackoverflow.com/questions/793 ... not-find-h