Hello, I am creating an application in which I want to use the login with Facebook.
I am creating a Facebook app for it and I need to check some details.
I must upload a sample of my application to the Facebook application for the Facebook team to review
What file is it, what should I upload from XCode?
Thank you
Post
Replies
Boosts
Views
Activity
I have upgraded mac to macOS Ventura V13
XCode Version 14.0.1
Until today everything worked perfectly on my mac for React Native, it had been days since I started anything new
Today I wanted to start a new project and I got some errors.
It's been several days looking for a solution to this problem and of course I'm not giving up, but I think trying things randomly will only mess up my configuration a lot more
Can you help me with this ?
Would it be wise to remove all my React Native Development setup and environment and start over?
I have started like this:
npx react-native init MyProject
And I have received this in the terminal:
✔ Downloading template
✔ Copying template
✔ Processing template
✖ Installing Bundler
error Your Ruby version is 2.6.10, but your Gemfile specified 2.7.5
✖ Installing Bundler
error Error: Looks like your iOS environment is not properly set.
Please go to https://reactnative.dev/docs/next/environment-setup and follow the React Native CLI QuickStart guide for macOS and iOS.
When I have run npx react-native run-ios I receive the following error that prevents my Application from being compiled:
info Found Xcode project "MyAwesomeM1.xcodeproj"
info Building (using "xcodebuild -project MyAwesomeM1.xcodeproj -configuration Debug -scheme MyAwesomeM1 -destination id=")
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 MyAwesomeM1.xcodeproj.
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project MyAwesomeM1.xcodeproj -configuration Debug -scheme MyAwesomeM1 -destination id=
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature:
Build description path: /Users/miguelito/Library/Developer/Xcode/DerivedData/MyAwesomeM1-cwtqpqolrtesoxdzxrobotfpeptc/Build/Intermediates.noindex/XCBuildData/c-desc.xcbuild
note: Building targets in dependency order
/Users/miguelito/MyAwesomeM1/ios/Pods/Target Support Files/Pods-MyAwesomeM1/Pods-MyAwesomeM1.debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/miguelito/MyAwesomeM1/ios/Pods/Target Support Files/Pods-MyAwesomeM1/Pods-MyAwesomeM1.debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/miguelito/MyAwesomeM1/ios/Pods/Target Support Files/Pods-MyAwesomeM1/Pods-MyAwesomeM1.debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/miguelito/MyAwesomeM1/ios/Pods/Target Support Files/Pods-MyAwesomeM1/Pods-MyAwesomeM1.debug.xcconfig:1:1: error: unable to open configuration settings file
warning: Unable to read contents of XCFileList '/Target Support Files/Pods-MyAwesomeM1/Pods-MyAwesomeM1-resources-Debug-output-files.xcfilelist' (in target 'MyAwesomeM1' from project 'MyAwesomeM1')
warning: Unable to read contents of XCFileList '/Target Support Files/Pods-MyAwesomeM1/Pods-MyAwesomeM1-frameworks-Debug-output-files.xcfilelist' (in target 'MyAwesomeM1' from project 'MyAwesomeM1')
error: Unable to load contents of file list: '/Target Support Files/Pods-MyAwesomeM1/Pods-MyAwesomeM1-resources-Debug-input-files.xcfilelist' (in target 'MyAwesomeM1' from project 'MyAwesomeM1')
error: Unable to load contents of file list: '/Target Support Files/Pods-MyAwesomeM1/Pods-MyAwesomeM1-resources-Debug-output-files.xcfilelist' (in target 'MyAwesomeM1' from project 'MyAwesomeM1')
error: Unable to load contents of file list: '/Target Support Files/Pods-MyAwesomeM1/Pods-MyAwesomeM1-frameworks-Debug-input-files.xcfilelist' (in target 'MyAwesomeM1' from project 'MyAwesomeM1')
warning: Run script build phase '[CP] Copy Pods Resources' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'MyAwesomeM1' from project 'MyAwesomeM1')
error: Unable to load contents of file list: '/Target Support Files/Pods-MyAwesomeM1/Pods-MyAwesomeM1-frameworks-Debug-output-files.xcfilelist' (in target 'MyAwesomeM1' from project 'MyAwesomeM1')
warning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'MyAwesomeM1' from project 'MyAwesomeM1')
warning: Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'MyAwesomeM1' from project 'MyAwesomeM1')
warning: Run script build phase '[CP] Embed Pods Frameworks' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'MyAwesomeM1' from project 'MyAwesomeM1')
** BUILD FAILED **
info Run CLI with --verbose flag for more details.
I have tried to run the application in XCode, but I also get errors:
.../ios/Pods/Headers/Private/RCT-Folly/folly/portability/Time.h:52:17: Typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t')
Unable to load contents of file list: '/Target Support Files/Pods-MiguelFhasion/Pods-MiguelFhasion-frameworks-Debug-input-files.xcfilelist'
Unable to load contents of file list: '/Target Support Files/Pods-MiguelFhasion/Pods-MiguelFhasion-frameworks-Debug-output-files.xcfilelist'**
Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase.
When I try to run the project for Android ( npx react-native run-android), it doesn't work either, I get a lot of errors, but when I run the project in Android Studio, everything works
I've googled, Forums, Stack for solutions and found stuff, made changes to my React Native install, install Node again, Brew again, made a lot of changes and now nothing works.