React-native-ble-plx: Expo tutorial failing to build

Created on 2 Jun 2019  路  2Comments  路  Source: Polidea/react-native-ble-plx

Expected Behavior

XCode should build the project

Current Behavior

Build is failing:
fatal error: module map file '/Users/me/Library/Developer/Xcode/DerivedData/myapp-coktmzdtbaovyjfokbdvhvmbqdjl/Build/Products/Debug-iphonesimulator/react-native-ble-plx-swift/react_native_ble_plx_swift.modulemap' not found

Steps to Reproduce

I followed the guide on GitHub and also this guide:
tutorial

Context

package.json:
{ "main": "node_modules/expo/AppEntry.js", "scripts": { "start": "expo start", "android": "expo start --android", "ios": "expo start --ios", "eject": "expo eject" }, "dependencies": { "expo": "^32.0.0", "expokit": "^32.1.1", "react": "16.5.0", "react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz", "react-native-ble-plx": "^1.0.3" }, "devDependencies": { "babel-preset-expo": "^5.0.0" }, "private": true }

bug

All 2 comments

So turns out i needed to launch the application from the workspace project in XCode. Opening the workspace project and hitting the 'Play' button got the application up and running.

I'm quite new to IOS development, so i guess this was one of the first hurdles.

Resolved with the above comment.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juanjo-ramos picture juanjo-ramos  路  3Comments

SlavaInstinctools picture SlavaInstinctools  路  4Comments

KarthickCSK picture KarthickCSK  路  3Comments

cltsang picture cltsang  路  4Comments

haohcraft picture haohcraft  路  5Comments