skip to Main Content

After I’ve upgraded react-native to 0.73.4 I’ve encountered an issue while trying to Archive my Xcode project.

Multiple commands produce '/Users/user/Library/Developer/Xcode/DerivedData/MyKeyPaaS-dvusobjtabyvaehceuotkxpwtbph/Build/Intermediates.noindex/ArchiveIntermediates/ProjectName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/folly.framework'

Update:

Target 'RCT-Folly.common' (project 'Pods') has create directory command with output '/Users/robert.coroianu/Library/Developer/Xcode/DerivedData/MyKeyPaaS-dvusobjtabyvaehceuotkxpwtbph/Build/Intermediates.noindex/ArchiveIntermediates/MyKeyPaaS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/folly.framework'

    
Target 'RCT-Folly.common-Fabric' (project 'Pods') has create directory command with output '/Users/robert.coroianu/Library/Developer/Xcode/DerivedData/ProjectName-dvusobjtabyvaehceuotkxpwtbph/Build/Intermediates.noindex/ArchiveIntermediates/ProjectName/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/folly.framework'

I want to mention that for Dev Build the project works very well.

2

Answers


  1. Deintegrate the pods:

    cd ios
    
    pod deintegrate
    

    Remove the Podfile and Podfile.lock:

    rm -rf Podfile
    rm -rf Podfile.lock
    

    Remove the build folder:

    rm -rf build
    

    Remove the userdata:

    rm -rf ~/Library/Developer/Xcode/DerivedData/
    

    Update the pods:

    pod update
    

    run application:

    cd ..
    

    yarn ios or npx react-native run-ios

    or archi from xcode, hope it will help

    Login or Signup to reply.
  2. Did you solve this issue? I have same issue at the moment.

    This is my package.json

      "dependencies": {
        "@microsoft/applicationinsights-web": "^3.1.0",
        "@react-navigation/native": "^6.1.15",
        "@react-navigation/native-stack": "^6.9.24",
        "i": "^0.3.7",
        "npm": "^10.5.0",
        "react": "18.2.0",
        "react-native": "0.73.6",
        "react-native-device-info": "^10.13.1",
        "react-native-notifications": "^5.1.0",
        "react-native-safe-area-context": "^4.9.0",
        "react-native-screens": "^3.29.0",
        "react-native-splash-screen": "^3.3.0",
        "react-native-vector-icons": "^10.0.3",
        "react-native-webview": "^13.8.1"
      },
      "devDependencies": {
        "@babel/core": "^7.20.0",
        "@babel/preset-env": "^7.20.0",
        "@babel/runtime": "^7.20.0",
        "@react-native/babel-preset": "0.73.21",
        "@react-native/eslint-config": "0.73.2",
        "@react-native/metro-config": "0.73.5",
        "@react-native/typescript-config": "0.73.1",
        "@types/react": "^18.2.6",
        "@types/react-native-vector-icons": "^6.4.18",
        "@types/react-test-renderer": "^18.0.0",
        "babel-jest": "^29.6.3",
        "eslint": "^8.19.0",
        "jest": "^29.6.3",
        "prettier": "2.8.8",
        "react-test-renderer": "18.2.0",
        "typescript": "5.0.4"
      },
      "engines": {
        "node": ">=18"
      }

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search