0

My app works when I download her from my repository but I can't work with the other dev.

When I git clone my app from GitLab, I have to npm install, then cd ios, pod install.

When I do that I have this warning:

[!] [Xcodeproj] Generated duplicate UUIDs:

PBXBuildFile -- Pods.xcodeproj/targets/buildConfigurationList:buildConfigurations:baseConfigurationReference:|,buildSettings:|,displayName:|,isa:|,name:|,,baseConfigurationReference:|,buildSettings:|,displayName:|,isa:|,name:|,,defaultConfigurationIsVisible:0,defaultConfigurationName:Release,displayName:ConfigurationList,isa:XCConfigurationList,,buildPhases:buildActionMask:2147483647,displayName:Headers,files:|,|,isa:PBXHeadersBuildPhase,runOnlyForDeploymentPostprocessing:0,,buildActionMask:2147483647,displayName:[CP-User] Generate Specs,files:,inputPaths:|,isa:PBXShellScriptBuildPhase,name:[CP-User] Generate Specs,outputPaths:|,|,|,runOnlyForDeploymentPostprocessing:0,shellPath:/bin/sh,shellScript:set -o pipefail

bash -l -c 'SRCS_DIR=/Users/bonnieandcloud/Documents/Bonnie and cloud/seducia-app/node_modules/react-native/scripts/../Libraries CODEGEN_MODULES_OUTPUT_DIR=/Users/bonnieandcloud/Documents/Bonnie and cloud/seducia-app/node_modules/react-native/s ....

I have also a warning from git with 5000 changes on my fork. (node_module is on gitignore)

The git repository at '/Users/bonnieandcloud/Documents/Bonnie and cloud/seducia-app' has too many active changes, only a subset of Git features will be enabled.

When I want to launch my app on iOS, I have this error:

The following build commands failed:
        PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/bonnieandcloud/Library/Developer/Xcode/DerivedData/Instadating-ftmtnrbphxvixecideesgbxvywle/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBReactNativeSpec.build/Script-662957B5B8F4CAAF910F853792BE2D71.sh
(1 failure)

Like I said, the project works very well when I don't git clone... I've been stuck for two days.

Rekovni
  • 6,319
  • 3
  • 39
  • 62
Xwingoga06
  • 99
  • 1
  • 10
  • Does this answer your question? [PhaseScriptExecution \[CP-User\] error in React Native](https://stackoverflow.com/questions/66742033/phasescriptexecution-cp-user-error-in-react-native) – pitamer Jan 11 '22 at 19:09

1 Answers1

0

Download a clean copy of the project and inside of it do: pod install --repo-update

Make sure XCode is closed during all that.

Arturo
  • 3,254
  • 2
  • 22
  • 61