我让Jenkins设置为在本地计算机上运行构建作业。 我正在运行Xcode 6和Jenkins 1.598。
这是控制台输出:
Started by user anonymous
....
===========================================================
== Available provisioning profiles
[workspace] $ /usr/bin/security find-identity -p codesigning -v
0 valid identities found
== Available SDKs
[workspace] $ /usr/bin/xcodebuild -showsdks
OS X SDKs:
OS X 10.9 -sdk macosx10.9
OS X 10.10 -sdk macosx10.10
iOS SDKs:
iOS 8.1 -sdk iphoneos8.1
iOS Simulator SDKs:
Simulator - iOS 8.1 -sdk iphonesimulator8.1
== Available schemes
[workspace] $ /usr/bin/xcodebuild -list
Information about project "ToDoList":
Targets:
ToDoList
ToDoListTests
Build Configurations:
Debug
Release
If no build configuration is specified and -scheme is not passed then "Release" is used.
**This project contains no schemes.**
===========================================================
Going to invoke xcodebuild:target: ALL, sdk: DEFAULT, project: DEFAULT, configuration: Debug, clean: YES, archive:NO, symRoot: DEFAULT, configurationBuildDir: DEFAULT, codeSignIdentity: DEFAULT
[workspace] $ /usr/bin/xcodebuild -alltargets -configuration Debug clean build
=== CLEAN TARGET ToDoList OF PROJECT ToDoList WITH CONFIGURATION Debug ===
Check dependencies
[BEROR]Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
[BEROR]CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'
Create product structure
/bin/mkdir -p /Users/laura.nakano/.jenkins/jobs/ToDoList_1_DevBuild/workspace/build/Debug-iphoneos/ToDoList.app
Clean.Remove clean build/Debug-iphoneos/ToDoList.app.dSYM
builtin-rm -rf /Users/laura.nakano/.jenkins/jobs/ToDoList_1_DevBuild/workspace/build/Debug-iphoneos/ToDoList.app.dSYM
Clean.Remove clean build/Debug-iphoneos/ToDoList.app
builtin-rm -rf /Users/laura.nakano/.jenkins/jobs/ToDoList_1_DevBuild/workspace/build/Debug-iphoneos/ToDoList.app
Clean.Remove clean build/ToDoList.build/Debug-iphoneos/ToDoList.build
builtin-rm -rf /Users/laura.nakano/.jenkins/jobs/ToDoList_1_DevBuild/workspace/build/ToDoList.build/Debug-iphoneos/ToDoList.build
=== CLEAN TARGET ToDoListTests OF PROJECT ToDoList WITH CONFIGURATION Debug ===
Check dependencies
[BEROR]Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
[BEROR]CodeSign error: code signing is required for product type 'Unit Test Bundle' in SDK 'iOS 8.1'
Create product structure
/bin/mkdir -p /Users/laura.nakano/.jenkins/jobs/ToDoList_1_DevBuild/workspace/build/Debug-iphoneos/ToDoListTests.xctest
** CLEAN SUCCEEDED **
=== BUILD TARGET ToDoList OF PROJECT ToDoList WITH CONFIGURATION Debug ===
Check dependencies
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Finished: SUCCESS
我已将Xcode中的Scheme设置为共享和提交。
我只想在模拟器上运行应用程序而不是设备,所以我认为我不需要设置代码签名。
有没有人见过类似的问题?我意识到我的设置并不常见。