AppCenter react native ios 构建失败 "usrbinxcodebuild failed with return code: 65 ”

问题描述 投票:0回答:1

** 档案失败 **

当我尝试在Appcenter上构建react-native IOS时,错误出现在这两个文件中。main.jsbundle和assets。 在本地电脑上工作正常(模拟器和物理设备)。

The following build commands failed:

CpResource /Users/runner/runners/2.169.1/work/1/s/ios/main.jsbundle /Users/runner/Library/Developer/Xcode/DerivedData/[APPNAME]-adrecrevrfgahhfyzlogcbrpednj/Build/Intermediates.noindex/ArchiveIntermediates/[APPNAME]/InstallationBuildProductsLocation/Applications/DGFonder.app/main.jsbundle CpResource /Users/runner/runners/2.169.1/work/1/s/ios/assets /Users/runner/Library/Developer/Xcode/DerivedData/[APPNAME]-adrecrevrfgahhfyzlogcbrpednj/Build/Intermediates.noindex/ArchiveIntermediates/DGFonder/InstallationBuildProductsLocation/Applications/[APPNAME].app/assets (2 failures)

[error]Error: /usr/bin/xcodebuild failed with return code: 65 [section]Finishing: Xcode build (signed) [section]Starting: Xcode build (signed)

当我尝试启用 "遗留构建系统 "时,我不再收到这个错误。但我得到另一个错误,如

**ld: library not found for -lBVLinearGradient**

ld: warning: directory not found for option '-L-L/Users/runner/Library/Developer/Xcode/DerivedData/DGFonder-adrecrevrfgahhfyzlogcbrpednj/Build/Intermediates.noindex/ArchiveIntermediates/DGFonder/BuildProductsPath/Release-iphoneos/BVLinearGradient'

clang: error: linker command failed with exit code 1 (use -v to see invocation)`

体系。

Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2


OS: macOS 10.15.3
CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
Memory: 59.17 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.2.0 - /usr/local/bin/node
Yarn: Not Found
npm: 6.14.4 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.9.1 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
Android SDK: Not Found
IDEs:
Android Studio: 3.6 AI-192.7142.36.36.6241897
Xcode: 11.4.1/11E503a - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_242 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: ^16.13.1 => 16.13.1
react-native: ^0.62.2 => 0.62.2
npmGlobalPackages:

 pod --version. 1.9.1
ios react-native build visual-studio-app-center
1个回答
0
投票

你应该首先确定你的项目中是否真的有BVLinearGradient,不管是源代码还是库。

© www.soinside.com 2019 - 2024. All rights reserved.