Closed broccolii closed 7 years ago
@broccolii Have you tried master
branch?
@xiao99xiao yes
@xiao99xiao Just at the moment, I used my colleague's mac build sucessed
Make sure you are using the latest Xcode
Why was this closed @zhuhaow ?
@broccolii did you have a solution? I seem to be getting the same error. Using the latest Xcode - 8.2.1
/Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/CocoaAsyncSocket/Source/RunLoop/AsyncSocket.m:4282:38: warning: 'AsyncSocket' is deprecated: The RunLoop versions of CocoaAsyncSocket are deprecated and will be removed in a future release. Please migrate to GCDAsyncSocket. [-Wdeprecated-declarations]
/Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/CocoaAsyncSocket/Source/GCD/GCDAsyncSocket.m:1985:37: warning: multiple methods named 'initWithDelegate:delegateQueue:socketQueue:' found [-Wstrict-selector-match]
/Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/CocoaAsyncSocket/Source/RunLoop/AsyncUdpSocket.m:195:17: warning: Implementing deprecated class [-Wdeprecated-implementations]
/Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/CocoaAsyncSocket/Source/RunLoop/AsyncUdpSocket.m:2307:3: warning: 'AsyncUdpSocket' is deprecated: The RunLoop versions of CocoaAsyncSocket are deprecated and will be removed in a future release. Please migrate to GCDAsyncUdpSocket. [-Wdeprecated-declarations]
/Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/CocoaAsyncSocket/Source/RunLoop/AsyncUdpSocket.m:2307:41: warning: 'AsyncUdpSocket' is deprecated: The RunLoop versions of CocoaAsyncSocket are deprecated and will be removed in a future release. Please migrate to GCDAsyncUdpSocket. [-Wdeprecated-declarations]
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjack' does not include header '/Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/CocoaLumberjack/Classes/CLI/CLIColor.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjack' does not include header '/Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/CocoaLumberjack/Classes/CLI/CLIColor.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjack' does not include header '/Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/CocoaLumberjack/Classes/CLI/CLIColor.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjack' does not include header '/Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/CocoaLumberjack/Classes/CLI/CLIColor.h'
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjack' does not include header '/Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/CocoaLumberjack/Classes/CLI/CLIColor.h'
warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint
<module-includes>:1:1: warning: umbrella header for module 'CocoaLumberjack' does not include header 'CLIColor.h'
/Users/jorda** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)
n/Desktop/testingNEKit/Carthage/Checkouts/NEKit/src/RawSocket/NWUDPSocket.swift:58:25: error: value of optional type '[Data]?' not unwrapped; did you mean to use '!' or '?'?
A shell task (/usr/bin/xcrun xcodebuild -project /Users/jordan/Desktop/testingNEKit/Carthage/Checkouts/NEKit/NEKit.xcodeproj -scheme NEKit-macOS -configuration Release ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64
Compile
Try the latest version, 0.11.1
@zhuhaow thanks, that seemed to fix it!
Xcode: Version 8.2.1 (8C1002) macOS: 10.12.2 (16C67) Carthage: 0.18.1 Swift: 3.0
use
carthage update --no-use-binaries --platform ios
The following is an error