An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.< br />Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/albums.app /Info.plis
Print: Entry, “:CFBundleIdentifier”, does not exist
How do you make the project run?
If you run react-native run-ios without specific parameters, react-native will run the default simulator in my case, i.e. with iOS 10.3.1 iPhone 6, I deleted this simulator by accident.
This is my error message:
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{id:F3A7BF54-B827-4517-A30D-8B3241C8EBF8 }
Available destinations for the "albums" scheme:
{platform:iOS Simulator, id: CD64F26B-045A-4E27-B05A-5255924095FB, OS:10.3.1, name:iPad Pro (9.7 inch) }
{platform:iOS Simulator, id:8FC41950-9E60-4264-B8B6-20E62FAB3BD0, OS:10.3 .1, name:iPad Pro (10.5-inch) }
{platform:iOS Simulator, id:991C8B5F-49E2-4BB7-BBB6-2F5D1776F8D2, OS:10.3.1, name:iPad Pro (12.9 inch)}
{platform:iOS Simulator, id:B9A80D04-E43F-43E3-9CA5-21137F7C673D, OS:10.3.1, name:iPhone 7 }
{platform:iOS Simulator, id:58F6514E-185B-4B12 -9336-B8A1D4E901F8, OS:10.3.1, name :iPhone 7 Plus }
.. .
Installing build/Build/Products/Debug-iphonesimulator/myapp.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator /myapp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
To get rid of these, open your Xcode and check the available simulators (with the listed The terminal is the same) and run react-native run-ios –simulator = “your device name”
For my case, I run react-native run-ios –simulator = “iPhone 7”, the problem is solved
I have tried all the solutions, but none of them seem to work.
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/albums.app/Info.plis
Print: Entry, “:CFBundleIdentifier”, does not exist p>
How do you get the project to run?
Because I deleted some simulators that I did not use in Xcode, my terminal will pop up the same message.
If you run react-native run-ios without specific parameters, react-native will run the default simulator in my case, i.e. iPhone 6, with iOS 10.3.1, I deleted this simulator by accident. /p>
This is my error message:
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{id:F3A7BF54 -B827-4517-A30D-8B3241C8EBF8 }
Available destinations for the "albums" scheme:
{platform:iOS Simulator, id:CD64F26B-045A-4E27-B05A-5255924095FB, OS: 10.3.1, name:iPad Pro (9.7 inch) }
{platform:iOS Simulator, id:8FC41950-9E60-4264-B8B6-20E62FAB3BD0, OS:10.3.1, name:iPad Pro (10.5-inch) }
{platform:iOS Simulator, id:991C8B5F-49E2-4BB7-BBB6-2F5D1776F8D2, OS:10.3.1, name:iPad Pro (12.9 inch) }
{platform:iOS Simulator, id: B9A80D04-E43F-43E3-9CA5-21137F7C673D, OS:10.3.1, name:iPhone 7 }
{platform:iOS Simulator, id:58F6514E-185B-4B12-9336-B8A1D4E901F8, OS:10.3.1, name :iPhone 7 Plus }
.. .
Instal ling build/Build/Products/Debug-iphonesimulator/myapp.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed : /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/myapp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
< p>To get rid of these, open your Xcode and check the available simulators (same as the listed terminal) and run react-native run-ios –simulator=”your device name”
For me In the situation, I ran react-native run-ios –simulator = “iPhone 7” and the problem was solved.