Ui: Error when running the application on ios simolator

Created on 16 Sep 2016  路  17Comments  路  Source: shoutem/ui

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

Error in config:

[Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier #/Users/*/Desktop/ui/examples/RestaurantsApp/ios/build/Build/Products/Debug-iphonesimulator/ShoutemRestaurants.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

All 17 comments

Have you tried running react-native upgrade?

@tenodi I upgraded but the issue persists.

Update React Native to 0.33.0 then it will pass compilation. However, I still have several problems during I try to run the example and add shoutem/ui to my project - even if it's a new project.

  1. for the example, I got this error - TransformError: /Users/prj/shoutem/examples/RestaurantsApp/index.ios.js: Couldn't find preset "react-native" relative to directory "/Users/prj/shoutem"",
  2. Not easy to connect to localhost:8081. Have to refresh many times.
  3. Once it connected to localhost, it tells me "Unable to resolve module string_decoder from /Users/prj/mobile-apps/node_modules/@shoutem/ui/node_modules/htmlparser2/lib/WritableStream.js: Unable to find this module in its module map or any of the node_modules directories"

I'm still figuring out what happens, but it looks no luck for me.

Could you tell us what version of xcode do you use? Also it looks like npm didn't resolve all the dependencies right.

xcode 8锛宼he latest one.

Just try under xcode 7.3.1. Successful compilation without changing RN version. But it still has "TransformError".

I'm also unable to run it.

Unable to resolve module react-native-lightbox from ...
Unable to find this module in its module map or any of the node_modules...

Screenshot of error

macOS Sierra 10.12
Simulator: iOS 10
Xcode 8
@shoutem/ui ^0.8.5

@kenmjlee I had the same problem with building for Android as well for iOS. The solution was deleting .babelrc file from /node-modules/@shoutem/ui . Hope it helps.

Transform error with same errormessage as @kenmjlee aswell... Hmm.

@zvoncha It seems .bablerc has been removed in 0.9.1, though, it still doesn't work.

React Native Cli 1.2.0 and React Native 0.37 still does not working.

+1 having same issue with CLI 1.2.0 and RN 0.38.0

I could not reproduce this with new version of @shoutem/ui. Could someone of you guys verify this issue doesn't exist anymore?

Issue still persists. CLI 2.0.1 and React Native 0.41.1

Same issue. CLI 2.0.1 and React Native 0.41.1

Same issue here as well. Would love to hear how to solve this.

screen shot 2017-02-16 at 19 59 15

I just had this happen last night after I upgraded to 0.40.0 (and persisted after 0.41.0) where I had to remove and reinstall shoutem/ui due to the pre 0.40.0 dependencies not working.

Could this be an issue that comes with 0.11.0 that is installed when RN is 0.40.0+?

This issue contains many unrelated issues. I am closing it now, please open new issues if anything from the comments above is still relevant.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JulianKingman picture JulianKingman  路  4Comments

tonyneel923 picture tonyneel923  路  9Comments

joshuamataaraya picture joshuamataaraya  路  7Comments

acornejo picture acornejo  路  3Comments

awnali picture awnali  路  4Comments