gpt4 book ai didi

ios - Carthage Bootstrap 构建失败 "exit code 1"

转载 作者:行者123 更新时间:2023-11-29 05:33:37 25 4
gpt4 key购买 nike

我机器上的swift版本是5.0.1。该项目的swift版本是4.0。

我的Xcode版本是10.4

我在根目录中运行carthage bootstrap --platform ios

*** Checking out CocoaAsyncSocket at "7.6.3"
*** Checking out papertraillumberjack at "0.1.8"
*** Checking out AFNetworking at "3.2.1"
*** Checking out fmdb at "2.6"
*** Checking out objective-c at "v4.8.1"
*** Checking out CocoaLumberjack at "3.4.2"
*** xcodebuild output can be found in /var/folders/7m/bb7zj_yj0_zfgjvv3lgntr040000gn/T/carthage-xcodebuild.wjVbNA.log
*** Downloading CocoaAsyncSocket.framework binary at "Version 7.6.3"
*** Building scheme "AFNetworking iOS" in AFNetworking.xcworkspace
*** Building scheme "CocoaLumberjack-iOS" in Lumberjack.xcworkspace
*** Building scheme "CocoaLumberjackSwift-iOS" in Lumberjack.xcworkspace
*** Building scheme "FMDB iOS" in fmdb.xcodeproj
*** Building scheme "Framework (iOS)" in PubNub.xcworkspace
Build Failed
Task failed with exit code 1:
/usr/bin/xcrun dsymutil /Users/benjaminlee/repositories/glass_planner/glass-planner/Carthage/Build/iOS/PubNub.framework/PubNub -o /Users/benjaminlee/repositories/glass_planner/glass-planner/Carthage/Build/iOS/PubNub.framework.dSYM

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/7m/bb7zj_yj0_zfgjvv3lgntr040000gn/T/carthage-xcodebuild.wjVbNA.log

这似乎表明它在 PubNub 中构建方案“Framework ()iOS”时可能失败了。

我走到日志的底部,这些是最后几行:

/usr/bin/codesign --force --sign - --timestamp=none /Users/benjaminlee/Library/Caches/org.carthage.CarthageKit/DerivedData/10.3_10G8/objective-c/v4.8.1/Build/Products/Release-iphonesimulator/PubNub.framework

** BUILD SUCCEEDED **

最佳答案

解决了:https://medium.com/wolox-driving-innovation/how-to-carthage-efficiently-4913b8378898

迦太基更新 --no-use-binaries --platform iOS

成功了。现在构建成功。

关于ios - Carthage Bootstrap 构建失败 "exit code 1",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57275216/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com