react-native-material-ui-demo-app icon indicating copy to clipboard operation
react-native-material-ui-demo-app copied to clipboard

Fails on iOS

Open jcollum opened this issue 7 years ago • 3 comments

Followed instructions in readme:

  414  git clone https://github.com/xotahal/react-native-material-ui-demo-app.git
  415  cd react-native-material-ui-demo-app/
  416  yarn install 
  417  git submodule init
  418  git submodule update
  419  npm start

In another window:

react-native run-ios

Result:

Installing build/Build/Products/Debug-iphonesimulator/example.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/example.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

jcollum avatar Apr 25 '17 18:04 jcollum

samething for me too

manodupont avatar May 23 '17 00:05 manodupont

I was able to run on iOS, by upgrading everything to the latest version:

npm i -g npm-check-updates npm-check-updates -u npm install react-native upgrade

Then I got "Unrecognized font family 'Roboto'", so I proceeded with this tutorial as recommended on react-native-material-ui's main README, which is basically:

  • create assets/fonts directory and copy Roboto fonts inside it
  • add the following on package.json: "rnpm": { "assets": ["./assets/fonts"] }
  • link react-native link
  • run react-native run-ios

fvicente avatar Jun 01 '17 22:06 fvicente

Still getting the error after following instructions given by @fvicente. . . Any help please. . .

shrupa avatar Jun 19 '17 21:06 shrupa