Tutorial failing to build with 'modulemap'
See original GitHub issueExpected
Xcode should build the project clearly.
Current
Get Error :
<unknown>:0: error: module map file '/Users/me/Library/Developer/Xcode/DerivedData/bleplx-gevvblkqzrxbjediwbytdxcmpufo/Build/Products/Debug-iphonesimulator/react-native-ble-plx-swift/react_native_ble_plx_swift.modulemap' not found
<unknown>:0: error: module map file '/Users/me/Library/Developer/Xcode/DerivedData/bleplx-gevvblkqzrxbjediwbytdxcmpufo/Build/Products/Debug-iphonesimulator/react-native-ble-plx-swift/react_native_ble_plx_swift.modulemap' not found
2 errors generated.
<unknown>:0: error: failed to emit precompiled header '/Users/me/Library/Developer/Xcode/DerivedData/bleplx-gevvblkqzrxbjediwbytdxcmpufo/Build/Intermediates.noindex/PrecompiledHeaders/bleplx-Bridging-Header-swift_YXQHX0LCXQ6A-clang_1Y5VOCRBO1JAC.pch' for bridging header '/Users/me/Desktop/bleplx/ios/bleplx-Bridging-Header.h'
I installed it according to the manual and a problem occurred. I don’t know how to fix it. How can i solve this problem?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Tutorial failing to build with 'modulemap' · Issue #523 - GitHub
Make sure to go to the ios folder and run pod update inside it. Remember to open the workspace file in the XCode...
Read more >How to use static library and module map file with Swift?
1 Answer 1 · Configure SWIFT_INCLUDE_PATHS – a list of paths to be searched by the Swift compiler for additional Swift modules. This...
Read more >Error building objective-c module | Apple Developer Forums
The module.modulemap file looks like this: ... If bar.h includes foo (e.g. #import "Foo.h"), building the app fails with the following error:
Read more >[Solved]-`YogaKit.modulemap not found` prevents iOS build
Coding example for the question `YogaKit.modulemap not found` prevents iOS ... native ios build fails with error - 'EXUpdates/EXUpdatesAppController.h' file ...
Read more >Modules — Clang 16.0.0git documentation
Modules provide an alternative, simpler way to use software libraries that provides better compile-time scalability and eliminates many of the problems ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i just spent a couple nights on trying to figure this out. after you follow the instructions open project.xcworkspace and build from that not the xcodeproj. worked for me after that @yslee9311
I’m just going to add on to this point here that if you are running using xcodebuild, you also need to target the workspace
-workspace
instead of-project
.