iOS Build Failure in Xcode – Missing react-native-video module map during nativeTemplate build
0
We are facing an issue while building our Mendix Native iOS app using Xcode. The build fails during compilation of the nativeTemplate project. Issue Summary: During the iOS build process, Xcode throws errors related to Swift precompiled headers and bridging headers, specifically indicating that the react-native-video module map file is missing. Error Details: Command SwiftGeneratePch emitted errors but did not return a nonzero exit code to indicate failure Module map file'/Users/rapiddata/Library/Developer/Xcode/DerivedData/nativeTemplate-dbvqevkmsamcecebehusmxhqjlny/Build/Products/Debug-iphonesimulator/react-native-video/react_native_video.modulemap'not found Command PrecompileSwiftBridgingHeader emitted errors but did not return a nonzero exit code to indicate failure /Users/rapiddata/Desktop/Bahri CSY/CSY/ios/nativeTemplate-Bridging-Header.h/Users/rapiddata/Desktop/Bahri CSY/CSY/ios/nativeTemplate-Bridging-Header.h:6:9module map file not found Context: Platform: Mendix Native Mobile App OS: iOS Build Tool: Xcode Issue occurs during local iOS build Error relates to react-native-video dependency inside the nativeTemplate project. This prevents successful compilation and app launch on simulator/device Steps Already Attempted: - Clean build folder in Xcode - Reinstalled node modules / pods - Deleted DerivedData and rebuilt - Reopened project using .xcworkspace. Despite these steps, the issue persists.