The react-native run-ios --device command fails with an error. The app runs on the simulator using the react-native run-ios command without any problem. I suspect some misconfiguration in the XCode settings for this project. The versions involved are as follows:
XCode: 12.0.1.
iOS: 13.7 running on IPhone X
iOS Deployment Target Version: 12.0
The full error trace is as follows:
XCode: 12.0.1.
iOS: 13.7 running on IPhone X
iOS Deployment Target Version: 12.0
The full error trace is as follows:
Code Block CopySwiftLibs /Users/username/Library/Developer/Xcode/DerivedData/app_name_with_underscores-fqgtlnpzldekfbgxpsmrqcdhskjr/Build/Products/Debug-iphoneos/app_name_with_underscores.app (in target 'app_name_with_underscores' from project 'app_name_with_underscores') cd /Users/username/Documents/Projects/app_name_with_underscores_test/ios export CODESIGN_ALLOCATE\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate export DEVELOPER_DIR\=/Applications/Xcode.app/Contents/Developer export SDKROOT\=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk builtin-swiftStdLibTool --copy --verbose --sign 462BDA81CFC8892E5E459C7C2F7088E251038BC5 --scan-executable /Users/username/Library/Developer/Xcode/DerivedData/app_name_with_underscores-fqgtlnpzldekfbgxpsmrqcdhskjr/Build/Products/Debug-iphoneos/app_name_with_underscores.app /app_name_with_underscores --scan-folder /Users/username/Library/Developer/Xcode/DerivedData/app_name_with_underscores-fqgtlnpzldekfbgxpsmrqcdhskjr/Build/Products/Debug-iphoneos/app_name_with_underscores.app/Frameworks --scan-folder /Users/username/Library/Developer/Xcode/DerivedData/app_name_with_underscores-fqgtlnpzldekfbgxpsmrqcdhskjr/Build/Products/Debug-iphoneos/app_name_with_underscores.app/PlugIns --platform iphoneos --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/username/Library/Developer/Xcode/DerivedData/app_name_with_underscores-fqgtlnpzldekfbgxpsmrqcdhskjr/Build/Products/Debug-iphoneos/app_name_with_underscores.app/Frameworks --strip-bitcode --strip-bitcode-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip --emit-dependency-info /Users/username/Library/Developer/Xcode/DerivedData/app_name_with_underscores-fqgtlnpzldekfbgxpsmrqcdhskjr/Build/ Intermediates.noindex/app_name_with_underscores.build/Debug-iphoneos/app_name_with_underscores.build/SwiftStdLibToolInputDependencies.dep error: Build input file cannot be found: '/Users/username/Library/Developer/Xcode/DerivedData/ app_name_with_underscores-fqgtlnpzldekfbgxpsmrqcdhskjr/Build/Products/Debug-iphoneos/app_name_with_underscores.app/app_name_with_underscores' (in target 'app_name_with_underscores' from project 'app_name_with_underscores')