Node/ReactNative: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
No edit summary
Line 23: Line 23:
== Trouble Shooting ==
== Trouble Shooting ==


```
<source>
> Task :app:generateDebugBuildConfig FAILED
> Task :app:generateDebugBuildConfig FAILED
```
</source>


Delete folder '''android/app/build'''.
Delete folder '''android/app/build'''.

Revision as of 09:59, 7 September 2020

react-native bundle \
  --entry-file index.js \
  --platform ios \
  --dev false \
  --bundle-output ./ios/bundle/index.ios.jsbundle \
  --assets-dest ./ios/bundle
npx react-native run-android


iOS

  • Open Xcode
  • Open Workspace
  • Select Generic Device or Menu > Product > Destination > Generic Device
  • Select Menu > Product > Archive

Trouble Shooting

> Task :app:generateDebugBuildConfig FAILED

Delete folder android/app/build.