jdiehl / async-network

Cocoa and iOS Socket Networking Evolved
http://jdiehl.github.com/async-network
MIT License
91 stars 31 forks source link

Errors when running make #12

Closed AdamCampbell closed 9 years ago

AdamCampbell commented 9 years ago

Output:

=== BUILD TARGET AsyncNetwork OF PROJECT AsyncNetwork WITH THE DEFAULT CONFIGURATION (Release) === \ BUILD FAILED **

The following build commands failed: CompileC build/AsyncNetwork.build/Release/AsyncNetwork.build/Objects-normal/x86_64/GCDAsyncSocket.o ThirdParty/CocoaAsyncSocket/GCD/GCDAsyncSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/AsyncNetwork.build/Release/AsyncNetwork.build/Objects-normal/x86_64/GCDAsyncUdpSocket.o ThirdParty/CocoaAsyncSocket/GCD/GCDAsyncUdpSocket.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (2 failures)

=== BUILD TARGET AsyncNetworkIOS OF PROJECT AsyncNetwork WITH THE DEFAULT CONFIGURATION (Release) === \ BUILD FAILED **

The following build commands failed: CompileC build/AsyncNetwork.build/Release-iphoneos/AsyncNetworkIOS.build/Objects-normal/armv7/GCDAsyncUdpSocket.o ThirdParty/CocoaAsyncSocket/GCD/GCDAsyncUdpSocket.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/AsyncNetwork.build/Release-iphoneos/AsyncNetworkIOS.build/Objects-normal/armv7/GCDAsyncSocket.o ThirdParty/CocoaAsyncSocket/GCD/GCDAsyncSocket.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (2 failures)

=== BUILD TARGET AsyncNetworkIOS OF PROJECT AsyncNetwork WITH THE DEFAULT CONFIGURATION (Release) === \ BUILD FAILED **

The following build commands failed: CompileC build/AsyncNetwork.build/Release-iphonesimulator/AsyncNetworkIOS.build/Objects-normal/i386/GCDAsyncSocket.o ThirdParty/CocoaAsyncSocket/GCD/GCDAsyncSocket.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler CompileC build/AsyncNetwork.build/Release-iphonesimulator/AsyncNetworkIOS.build/Objects-normal/i386/GCDAsyncUdpSocket.o ThirdParty/CocoaAsyncSocket/GCD/GCDAsyncUdpSocket.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler (2 failures) cp: build/Release/AsyncNetwork.framework/AsyncNetwork: No such file or directory cp: build/Release/AsyncNetwork.framework/Modules: No such file or directory fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: build/Release-iphoneos/AsyncNetworkIOS.framework/AsyncNetworkIOS (No such file or directory)

jdiehl commented 9 years ago

Did you initialize the git submodules as described in the readme?

git submodule init
git submodule update
AdamCampbell commented 9 years ago

You're right, I thought I did it but failed somehow. This framework has been really useful in getting an iPhone to talk to tvOS. I intend to look into making this carthage compatible to simplify the installation. Thanks for all your work on this :)

jdiehl commented 9 years ago

Thanks for the feedback! I have added these steps to make, to make it a little easier.