jondot / ReactNativeKatas

This is a project that lets you participate in a fully-immersive, hands-on, and fun learning experience for React Native.
947 stars 107 forks source link

Launching on Xcode 10 #29

Open mowolf opened 5 years ago

mowolf commented 5 years ago

Hey,

I am new to react-native and trying to get your project to work. I ran these commands and followed that stackoverflow answer for fixing the error I got at first: Print: Entry, “:CFBundleIdentifier”, Does Not Exist

This worked, to fix that issue. Overall I did the following:

npm install
react-native upgrade
react-native run-ios

That produced following result, which I was unfortunately unable to debug.

warning: the transform cache was reset.
Loading dependency graph, done.
 BUNDLE  [ios, dev] ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1)::1 - - [01/Nov/2018:12:05:02 +0000] "GET /index.bundle?platform=ios&dev=true&minify=false HTTP/1.1" 200 - "-" "rnk/1 CFNetwork/975.0.3 Darwin/18.0.0"
error: bundling failed: Error: The resource `/Users/Mo/Desktop/ReactNativeKatas/index.js` was not found.
    at /Users/Mo/Desktop/ReactNativeKatas/node_modules/metro/src/IncrementalBundler.js:122:24
    at gotStat (fs.js:1783:21)
    at /Users/Mo/Desktop/ReactNativeKatas/node_modules/graceful-fs/polyfills.js:284:29
    at FSReqWrap.oncomplete (fs.js:152:21)
 BUNDLE  [ios, dev] ./index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1), failed.

Is there still a way to run your project? Should I downgrade my XCode? Any help would be greatly appreciated!

morenoh149 commented 5 years ago

what Xcode version do you have?

mowolf commented 5 years ago

sorry, forgot to include: XCode 10.1