4

可悲的是,我将我的 iOS 从7.0.4 更新7.1,因此被迫将 Xcode 从5.0升级到5.1,之后我不得不解决几个问题。

但我无法解决以下错误。

如果您能帮助解决它,那就太好了。

我使用iOSSdk6.1作为Xcode 5.1的目标 SDK

以下是以下日志:

Command /bin/sh failed with exit code 65



########### TESTS #############
Use the following variables when debugging this script; note that they may change on recursions
BUILD_DIR = /Users/rahulg/Library/Developer/Xcode/DerivedData/TheEngineSample-abaidaurzaogqcbzpmqjesdtvulv/Build/Products
BUILD_ROOT = /Users/rahulg/Library/Developer/Xcode/DerivedData/TheEngineSample-abaidaurzaogqcbzpmqjesdtvulv/Build/Products
CONFIGURATION_BUILD_DIR = /Users/rahulg/Library/Developer/Xcode/DerivedData/TheEngineSample-abaidaurzaogqcbzpmqjesdtvulv/Build/Products/Debug-iphoneos
BUILT_PRODUCTS_DIR = /Users/rahulg/Library/Developer/Xcode/DerivedData/TheEngineSample-abaidaurzaogqcbzpmqjesdtvulv/Build/Products/Debug-iphoneos
CONFIGURATION_TEMP_DIR = /Users/rahulg/Library/Developer/Xcode/DerivedData/TheEngineSample-abaidaurzaogqcbzpmqjesdtvulv/Build/Intermediates/TheAmazingAudioEngine.build/Debug-iphoneos
TARGET_BUILD_DIR = /Users/rahulg/Library/Developer/Xcode/DerivedData/TheEngineSample-abaidaurzaogqcbzpmqjesdtvulv/Build/Products/Debug-iphoneos
XCode has selected SDK: iphoneos with version: 6.1 (although back-targetting: 4.3)
...therefore, OTHER_SDK_TO_BUILD = iphonesimulator6.1
xcodebuild -project "/Users/rahulg/Desktop/TheAmazingAudioEngine-master/TheAmazingAudioEngine.xcodeproj" -configuration "Debug" -target "TheAmazingAudioEngine" -sdk "iphonesimulator6.1" build RUN_CLANG_STATIC_ANALYZER=NO BUILD_DIR="/Users/rahulg/Library/Developer/Xcode/DerivedData/TheEngineSample-abaidaurzaogqcbzpmqjesdtvulv/Build/Products" BUILD_ROOT="/Users/rahulg/Library/Developer/Xcode/DerivedData/TheEngineSample-abaidaurzaogqcbzpmqjesdtvulv/Build/Products" CALLED_FROM_MASTER=1
Build settings from command line:
    BUILD_DIR = /Users/rahulg/Library/Developer/Xcode/DerivedData/TheEngineSample-abaidaurzaogqcbzpmqjesdtvulv/Build/Products
    BUILD_ROOT = /Users/rahulg/Library/Developer/Xcode/DerivedData/TheEngineSample-abaidaurzaogqcbzpmqjesdtvulv/Build/Products
    CALLED_FROM_MASTER = 1
    RUN_CLANG_STATIC_ANALYZER = NO
    SDKROOT = iphonesimulator6.1

=== BUILD TARGET TheAmazingAudioEngine OF PROJECT TheAmazingAudioEngine WITH CONFIGURATION Debug ===

Check dependencies
No architectures to compile for (ARCHS=i386 x86_64, VALID_ARCHS=armv7).

** BUILD FAILED **


The following build commands failed:
    Check dependencies
(1 failure)
Command /bin/sh failed with exit code 65
4

1 回答 1

-1

I had the same issue and I resolved it by editing the scheme of my target into release mode. (Build configuration = release)

I hope that helps you to resolve your problem.

于 2014-03-26T10:40:52.037 回答