ui icon indicating copy to clipboard operation
ui copied to clipboard

Error when running the application on ios simolator

Open rachip opened this issue 10 years ago • 17 comments

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

rachip avatar Sep 16 '16 05:09 rachip

Have you tried running react-native upgrade?

tenodi avatar Sep 16 '16 09:09 tenodi

@tenodi I upgraded but the issue persists.

vpanjganj avatar Sep 19 '16 14:09 vpanjganj

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.

kenmjlee avatar Sep 20 '16 16:09 kenmjlee

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

SoHotSoup avatar Sep 20 '16 17:09 SoHotSoup

xcode 8,the latest one.

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

kenmjlee avatar Sep 20 '16 23:09 kenmjlee

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

brunolemos avatar Sep 23 '16 19:09 brunolemos

@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.

zvoncha avatar Oct 05 '16 12:10 zvoncha

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

felixaa avatar Oct 13 '16 21:10 felixaa

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

kenmjlee avatar Oct 19 '16 08:10 kenmjlee

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

aliemre avatar Nov 13 '16 00:11 aliemre

+1 having same issue with CLI 1.2.0 and RN 0.38.0

patrickdevivo avatar Nov 27 '16 22:11 patrickdevivo

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

SoHotSoup avatar Dec 07 '16 15:12 SoHotSoup

Issue still persists. CLI 2.0.1 and React Native 0.41.1

thejpanganiban avatar Feb 05 '17 18:02 thejpanganiban

Same issue. CLI 2.0.1 and React Native 0.41.1

mouthzipper avatar Feb 06 '17 17:02 mouthzipper

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

screen shot 2017-02-16 at 19 59 15

factormaarten avatar Feb 16 '17 19:02 factormaarten

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+?

MutableLoss avatar Mar 18 '17 19:03 MutableLoss

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

zrumenjak avatar Apr 06 '17 14:04 zrumenjak