小编Vin*_*ino的帖子

Fastlane对Jenkins的测试失败

我试图在Jenkins上运行fastlane扫描,测试执行良好,通过,但在最后一部分它似乎失败,因为它无法访问或启动模拟器:

[32;1m   Executed 337 tests, with 0 failures (0 unexpected) in 5.657 (5.702) seconds
[0m
2018-12-19 11:09:41.006 xcodebuild[87795:568022] [MT] IDETestOperationsObserverDebug: 34.991 elapsed -- Testing started completed.
2018-12-19 11:09:41.006 xcodebuild[87795:568022] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start
2018-12-19 11:09:41.007 xcodebuild[87795:568022] [MT] IDETestOperationsObserverDebug: 34.991 sec, +34.991 sec -- end
2018-12-19 11:09:41.007 xcodebuild[87795:568022] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted, …
Run Code Online (Sandbox Code Playgroud)

groovy ios jenkins fastlane

14
推荐指数
0
解决办法
788
查看次数

使用故事板从MasterDetail iPad应用程序更改详细信息视图

我在这里迷路了.我有一个基本的主 - 细节应用程序,我想根据MasterViewController中的选定行更改细节视图,但视图有不同的内容,一个有图像库,另一个将全屏加载视频.它不仅仅是刷新细节视图,还必须加载另一个视图.如何更好(快速)地做到这一点?

detailsview storyboard master-detail ipad ios

12
推荐指数
1
解决办法
8900
查看次数

数组Swift中的唯一对象

我有一个带有自定义对象的数组.

我想用重复的属性弹出重复的对象:

let product = Product()
product.subCategory = "one"

let product2 = Product()
product2.subCategory = "two"

let product3 = Product()
product3.subCategory = "two"

let array = [product,product2,product3]
Run Code Online (Sandbox Code Playgroud)

在这种情况下,弹出 product2 or product3

arrays ios swift

7
推荐指数
2
解决办法
5326
查看次数

Jenkins 的 Fastlane 失败了

我在 MacMini 上使用 Jenkins 的工作失败了。该作业由一个脚本组成,该脚本将使用 iOS 版 Fastlane 执行一些单元测试。该作业正确执行,但在构建之后它会记录错误:

FATAL: Remote call on SLAVE failed
java.lang.ClassNotFoundException: Classloading from system classloader disabled
    at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:834)
    at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:867)
    at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:896)
    at hudson.remoting.Request$2.run(Request.java:336)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:19)
    at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
    at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at ......remote call to channel(Native Method)
    at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1554)
    at hudson.remoting.Request.call(Request.java:172)
    at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:260)
    at com.sun.proxy.$Proxy6.fetch3(Unknown Source)
    at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:195)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:563)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:496)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:292)
    at hudson.util.ProcessTree$UnixReflection.<clinit>(ProcessTree.java:699) …
Run Code Online (Sandbox Code Playgroud)

continuous-integration ios jenkins fastlane

5
推荐指数
1
解决办法
436
查看次数