HomeiOS Developmentios - warning:Unable to learn contents of XCFileList when npx react-native begin

ios – warning:Unable to learn contents of XCFileList when npx react-native begin


Whereas studying the official react-native documentation and constructing an surroundings on a Mac with an M1 chip, I encountered the next two (or three?) errors.
I am a newbie in app improvement, so I would admire it in case you may assist me perceive it clearly.
And that is my first time posting on StackOverFlow, so there could also be errors!

I ran npx react-native begin and bought the next error.

information Discovered Xcode mission "AwesomeProject.xcodeproj"
    information Discovered booted iPad Professional (12.9-inch) (sixth era)
    information Launching iPad Professional (12.9-inch) (sixth era)
    information Constructing (utilizing "xcodebuild -project AwesomeProject.xcodeproj -configuration Debug -scheme AwesomeProject -destination id=29EC4F2F-592D-4CA2-ABA0-54CC3ABA8147")
    Watchman `watch-project` completed after 26.9s.
    Command line invocation:
        /Purposes/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project AwesomeProject.xcodeproj -configuration Debug -scheme AwesomeProject -destination id=29EC4F2F-592D-4CA2-ABA0-54CC3ABA8147

    Person defaults from command line:
        IDEPackageSupportUseBuiltinSCM = YES

    Put together packages

    Computing goal dependency graph and provisioning inputs

    Create construct description
    Construct description signature: 47cfc8516d3ea3eb2629ef1e872b7a14
    Construct description path: /Customers/ken/Library/Developer/Xcode/DerivedData/AwesomeProject-euivvoflahseemdgiyuyrlnfmkgc/Construct/Intermediates.noindex/XCBuildData/47cfc8516d3ea3eb2629ef1e872b7a14.xcbuilddata

    word: Constructing targets in dependency order
    /Customers/ken/ReactNative/AwesomeProject/ios/Pods/Goal Assist Information/Pods-AwesomeProject/Pods-AwesomeProject.debug.xcconfig:1:1: error: unable to open configuration settings file
    warning: Unable to learn contents of XCFileList '/Goal Assist Information/Pods-AwesomeProject/Pods-AwesomeProject-resources-Debug-output-files.xcfilelist' (in goal 'AwesomeProject' from mission 'AwesomeProject')
    warning: Unable to learn contents of XCFileList '/Goal Assist Information/Pods-AwesomeProject/Pods-AwesomeProject-frameworks-Debug-output-files.xcfilelist' (in goal 'AwesomeProject' from mission 'AwesomeProject')
    warning: Run script construct section 'Bundle React Native code and pictures' will probably be run throughout each construct as a result of it doesn't specify any outputs. To deal with this warning, both add output dependencies to the script section, or configure it to run in each construct by unchecking "Based mostly on dependency evaluation" within the script section. (in goal 'AwesomeProject' from mission 'AwesomeProject')
    warning: Run script construct section 'Begin Packager' will probably be run throughout each construct as a result of it doesn't specify any outputs. To deal with this warning, both add output dependencies to the script section, or configure it to run in each construct by unchecking "Based mostly on dependency evaluation" within the script section. (in goal 'AwesomeProject' from mission 'AwesomeProject')
    error: Unable to load contents of file record: '/Goal Assist Information/Pods-AwesomeProject/Pods-AwesomeProject-frameworks-Debug-input-files.xcfilelist' (in goal 'AwesomeProject' from mission 'AwesomeProject')
    error: Unable to load contents of file record: '/Goal Assist Information/Pods-AwesomeProject/Pods-AwesomeProject-frameworks-Debug-output-files.xcfilelist' (in goal 'AwesomeProject' from mission 'AwesomeProject')
    warning: Run script construct section '[CP] Embed Pods Frameworks' will probably be run throughout each construct as a result of it doesn't specify any outputs. To deal with this warning, both add output dependencies to the script section, or configure it to run in each construct by unchecking "Based mostly on dependency evaluation" within the script section. (in goal 'AwesomeProject' from mission 'AwesomeProject')
    error: Unable to load contents of file record: '/Goal Assist Information/Pods-AwesomeProject/Pods-AwesomeProject-resources-Debug-input-files.xcfilelist' (in goal 'AwesomeProject' from mission 'AwesomeProject')
    error: Unable to load contents of file record: '/Goal Assist Information/Pods-AwesomeProject/Pods-AwesomeProject-resources-Debug-output-files.xcfilelist' (in goal 'AwesomeProject' from mission 'AwesomeProject')
    warning: Run script construct section '[CP] Copy Pods Assets' will probably be run throughout each construct as a result of it doesn't specify any outputs. To deal with this warning, both add output dependencies to the script section, or configure it to run in each construct by unchecking "Based mostly on dependency evaluation" within the script section. (in goal 'AwesomeProject' from mission 'AwesomeProject')

    2023-04-16 01:06:16.785 xcodebuild[27895:2112182] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set through consumer default (DVTEnableCoreDevice=disabled)
    --- xcodebuild: WARNING: Utilizing the primary of a number of matching locations:
    { platform:iOS Simulator, id:29EC4F2F-592D-4CA2-ABA0-54CC3ABA8147, OS:16.4, identify:iPad Professional (12.9-inch) (sixth era) }
    { platform:iOS Simulator, id:29EC4F2F-592D-4CA2-ABA0-54CC3ABA8147, OS:16.4, identify:iPad Professional (12.9-inch) (sixth era) }
    ** BUILD FAILED **


    information Run CLI with --verbose flag for extra particulars.

Right here is the log from working ”npx react-native physician”

Widespread
     ✓ Node.js
     ✓ yarn
     ✓ Watchman - Used for watching modifications within the filesystem when in improvement mode

    Android
     ✓ JDK
     ✖ Android Studio - Required for constructing and putting in your app on Android
     ✖ Android SDK - Required for constructing and putting in your app on Android
       - Variations discovered: N/A
       - Model supported: 33.0.0
     ✖ ANDROID_HOME

    iOS
     ✓ Xcode - Required for constructing and putting in your app on iOS
     ✓ CocoaPods - Required for putting in iOS dependencies
     ● ios-deploy - Required for putting in your app on a bodily system with the CLI
     ✖ .xcode.env - File to customise Xcode surroundings

The variations of what’s wanted are as follows
MacbookAir:Ventura 13.3.1
Node:v19.8.1
yarn:1.22.9
ruby:2.7.6p219 (2022-04-12 revision c9c2245c0a) [arm64-darwin22]
xcode:14.3
pod:1.12.0

I’ve tried reinstall pods,ruby.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments