flexbox / whatwentwrong

⚛ Documenting React Native most commons issues and solutions
0 stars 0 forks source link

error code 65 #7

Open flexbox opened 5 years ago

flexbox commented 5 years ago
❌  error: Cycle in dependencies between targets 'Lottie_iOS' and 'RCTBlob'; building could produce unreliable results.

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening digitalmentor.xcodeproj

** BUILD FAILED **
flexbox commented 5 years ago
  1. Clean the build and re-install dependencies
    rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build && rm -rf node_modules/ && yarn
  2. Open you project with Xcode
    open ios/PROJECT_NAME.xcodeproj
  3. Change the build system File > Project Settings > Shared Project Settings > Build System > Legacy Build System

build-system

hzeraat2 commented 5 years ago

Hi @flexbox , Please use 'npm' and not 'yarn' at the moment. Also delete the build folder in ios and rebuild. This should resolve the issue. Also you don't need to use the Legacy Build system.

hzeraat2 commented 5 years ago

yarn

we will change to yarn in the future but for now just use npm .