我为OS X Server配置了专用的Mac mini,用于与XCode5的持续集成,添加了git repo并创建了机器人.我正在尝试集成bot并获得错误
Specified PROVISIONING_PROFILE (29DAD4E2-6155-4395-AF33-2C872BC32504) not
found and no CODE_SIGN_IDENTITY specified. Ignoring PROVISIONING_PROFILE
for now. This will become an error in the future.
Run Code Online (Sandbox Code Playgroud)
服务器已添加到开发人员团队,我可以在特殊页面"服务器"的成员中心看到它.我认为服务器应该从开发人员中心检索构建机器人的配置文件,但它不起作用.
我怎样才能解决这个问题?
continuous-integration code-signing osx-server ios-provisioning xcode5
我们确实让CI与Xcode一起工作有麻烦.我们遇到了这个问题Could not determine bundle identifier for xxxTest TEST_HOST: some path that does not exist.
到目前为止我们做了什么:
我们的项目有以下目标:
找到解决方案
题:
已知问题:
所以我的问题是在纯swift项目(差不多:-))上也用Swift写的测试我得到了每个构建.通过Fastlane 1.63开始构建.:
? DTServiceHub: Instruments wants permission to analyze other processes. Please enter an administrator username and password to allow this.
? Username (jenkins): Password:
? Failed to authorize rights (0x1) with status: -60007.
Run Code Online (Sandbox Code Playgroud)
使用OSX Server在MacPro上安装新的命令行工具和Xcode 7.3时会出现问题.Objective-C项目每次都有效.我已经完成了那些线程中的建议,但没有工作: 从命令行工具中删除授权提示(在小牛队之下) 有没有办法从Instruments(XCode)的命令行实例中删除授权提示?在我能找到的所有其他地方.我不知道如何解决它.
成功将我的测试站点(Debian Linux)升级到Zend Framework 3之后,我想重复运行Server 5.1.5的OS X El Capitan上的练习.最初安装了PHP 5.5.x,但我升级到PHP 5.6.x并使用phpinfo()显示验证了这一点.但是,当我尝试运行composer来安装Zend Framework 3模块时,它会响应它无法在安装PHP 5.5.x时完成.重启等没有区别.作曲家如何判断正在使用哪个PHP版本?我如何说服它安装了PHP 5.6.x?
有没有办法改变Mac OSX鼠标光标图像,因为我正在录制一个视频,其中我想为Mac鼠标光标使用不同的图像,我尝试了许多只改变鼠标光标尺寸但不改变图像尺寸的软件.那么如何在屏幕上替换默认的MacOSX鼠标光标图像.
我正在尝试使用OS X Server for Mavericks在Mavericks中进行持续集成设置.
我安装了服务器,我的源代码使用了来自assembla的Git在本地目录中.我正在关注Apple Xcode持续集成指南,而我正在为Xcode中的产品添加机器人.
我收到错误:
创建机器人需要一个受源代码管理的项目.该项目似乎位于本地git存储库中.为了能够创建机器人,项目必须位于服务器可以访问的存储库中,以便它可以克隆它.[取消] [配置遥控器...]
单击取消或配置遥控器会打开我的文件夹的配置,我看到我的遥控器添加得很好.我还尝试使用不同的名称再次添加远程存储库.
我该如何前进?
有人能解释Xcode开发者计算机,osx服务器和使用远程git存储库之间的关系吗?
我想将我的更改提交到远程仓库(bitbucket)并让我的os x服务器运行机器人吗?
新:经过一番乱搞,我已经设法为远程服务器制作机器人,但现在我收到以下错误
SSH Known Hosts file path is located at /Library/Server/Xcode/Config/ssh_known_hosts
SSH strict host checking is disabled (you can enable this by editing the SSHStrictHostKeyChecking key in /Library/Server/Xcode/Config/xcsbuildd.plist
Untrusted HTTPS certificates is enabled (you can disable this by editing the TrustSelfSignedSSLCertificates key in /Library/Server/Xcode/Config/xcsbuildd.plist
622a6bc3406c764e9e97ec156818b739ecb40ee9 refs/heads/master
Run Code Online (Sandbox Code Playgroud)
只有我已经这样做了,它没有改变任何东西.
还有一个错误:
xcodebuild: error: The project 'testOnlineGit3' does not contain a scheme named 'testOnlineGit3.xcscheme'.
Run Code Online (Sandbox Code Playgroud)
我的方案是共享的,这就是它的名字,所以我不确定如何修复它
新:改变我的方案名称,现在机器人工作,但我仍然得到以前的警告,我不确定他们的意思,任何人都知道如何让他们消失?
我正在尝试使用OSX服务器设置Xcode bot.配置git存储库并创建机器人后,我运行集成.它失败,因为存储库仅部分检出.更确切地说:在配置的6个子模块中,只有3个被初始化和检出.
didi@mac:/Library/Server/Xcode/Data/BotRuns/Cache/c5fda8f4-4d25-4d25-c18a-eb0b16a06692/source$ git submodule status
+c6e8420aec4147641fb1ca12d9f1d31bdd804e77 libs/asi-http-request (v1.7-320-gc6e8420)
-ae64a38766b42f236bb94f0e661cddb829f9ac43 libs/kraken
-7da02b323636bbaa0bbbf5b4eb229fcc07b1e14a libs/route-me
152f9ee5576e710705a49032253d7d5af5366f9c libs/routing (152f9ee)
347aaf74fe0c6388785095efdbf6397851514b7f libs/rtlabel (1.0-32-g347aaf7)
-562cf6b1c879f03546f5184e012cea15c4f159db libs/skmaps
Run Code Online (Sandbox Code Playgroud)
( - 表示未初始化)
查看机器人日志,它似乎只是忽略子模块初始化部分中丢失的子模块:
...
Checking connectivity... done
Submodule 'libs/asi-http-request' (https://github.com/BikeCityGuide/asi-http-request.git) registered for path 'libs/asi-http-request'
Submodule 'libs/routing' (ssh://mac_ci@rooty.bikecityguide.org/var/repos/librouting.git) registered for path 'libs/routing'
Submodule 'libs/rtlabel' (https://github.com/BikeCityGuide/RTLabel.git) registered for path 'libs/rtlabel'
Cloning into 'libs/asi-http-request'...
...
Run Code Online (Sandbox Code Playgroud)
这里或其他地方没有错误消息.在日志中的任何地方都没有提到例如"kraken"(缺少子模块的名称).
手动签出时(clone,submodule init,submodule update),所有子模块都被初始化.
.gitmodules看起来像这样:
$ cat .gitmodules
[submodule "libs/asi-http-request"]
path = libs/asi-http-request
url = https://github.com/BikeCityGuide/asi-http-request.git
[submodule "libs/rtlabel"]
path = libs/rtlabel
url = https://github.com/BikeCityGuide/RTLabel.git
[submodule "libs/routing"] …Run Code Online (Sandbox Code Playgroud) 我看到的错误如下:
Test target PrototypeTests encountered an error (The operation couldn’t be completed. Too many open files in system. Too many open files in system)
Test target Prototype Integration Tests encountered an error (The operation couldn’t be completed. Too many open files in system. Too many open files in system)
Run Code Online (Sandbox Code Playgroud)
我能够毫无问题地运行分析和归档操作,但启用测试操作会导致上述错误.我甚至尝试过空测试,问题仍然存在.
sudo launchctl limit maxfiles我服务器上的输出是:
maxfiles 256 unlimited
Run Code Online (Sandbox Code Playgroud)
如果我能提供更多信息,请告诉我.
我有一个Bot运行,它工作得很好,直到我更新我的配置文件,并将新的一个复制到XcodeServer/Provisioning Profiles文件夹.现在我收到以下错误:
首先,如本问题所述(我的项目中没有任何特殊内容):
机器人问题:错误.构建服务错误.问题:终止xcodebuild,因为它没有产生太长的输出.集成号:1.集成URL:https ://buildserver.example.com/xcode/bots/F3AF171/integrations描述:终止xcodebuild,因为它也没有产生输出长..
其次是:
机器人问题:警告.构建服务错误.问题:创建存档失败:xcodebuild退出,状态为15 ..集成编号:1.集成URL:https ://buildserver.example.com/xcode/bots/F3AF171/integrations说明:创建存档失败:xcodebuild退出,状态为15. .
有关如何修复的任何想法?
osx-server ×10
xcode ×5
ios ×3
git ×2
macos ×2
xcode-bots ×2
xcode5 ×2
bots ×1
build ×1
code-signing ×1
composer-php ×1
fastlane ×1
jenkins ×1
mouse ×1
mouseevent ×1
php ×1
swift ×1
xctest ×1