git 如何在出现错误后在iOS上启动应用:PhaseScriptExecution [CP-User]

rqdpfwrv  于 11个月前  发布在  Git
关注(0)|答案(2)|浏览(185)

当我从我的存储库下载她时,我的应用程序可以工作,但我不能与其他开发人员一起工作。
当我从GitLab克隆我的应用程序时,我必须npm install,然后cd iospod install
当我这样做的时候,我有这样的警告:

[!] [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 ....

字符串
我也有一个来自git的警告,在我的fork上有5000个更改。(node_module在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.


当我想在iOS上启动我的应用程序时,我有这个错误:

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)


就像我说的,当我不git clone的时候,这个项目工作得很好.我已经被卡住了两天了。

l7wslrjt

l7wslrjt1#

下载项目的干净副本,并在其中执行:pod install --repo-update
确保XCode在所有这些过程中都是关闭的。

dxpyg8gm

dxpyg8gm2#


的数据
我错误地删除了这些行,因为我得到了错误。把它放回去修复了这个问题

相关问题