我想用jenkins从github构建iphone项目,但是发现了一些bug

时间:2015-07-08 14:43:53

标签: ios xcode jenkins

Going to invoke xcodebuild:, scheme: testgit, sdk: iphoneos8.4, project: testgit.xcodeproj, configuration: Release, clean: YES, archive:NO, symRoot: DEFAULT, configurationBuildDir: /Users/Shared/Jenkins/Home/workspace/test12345/build, codeSignIdentity: DEFAULT
[test12345] $ /usr/bin/xcodebuild -scheme testgit -sdk iphoneos8.4 -project testgit.xcodeproj -configuration Release clean build CONFIGURATION_BUILD_DIR=/Users/Shared/Jenkins/Home/workspace/test12345/build
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/Shared/Jenkins/Home/workspace/test12345/build
SDKROOT = iphoneos8.4

xcodebuild: error: The project 'testgit' does not contain a scheme named 'testgit'.
Build step 'Xcode' marked build as failure
Sending e-mails to: ww1095@163.com
Finished: FAILURE

1 个答案:

答案 0 :(得分:0)

我会尝试将方案'testgit'标记为在Xcode中共享..导航到Product-> Scheme-> Manage Scheme

Product->Scheme-

Mark your scheme as shared