UI Automation在iOS5模拟器上工作得很好,但在iOS6和iOS7上没有(UI Automation worked fine with iOS5 simulator, but not with iOS6 and iOS7)
似乎小牛队不支持iOS5模拟器。 这是唯一适合我的模拟器,我在UI自动化中有一堆测试。 iOS6和iOS7模拟器的加载时间要长2-5倍(约30-50秒),我的猜测是在启动SIM卡之前仪器超时。 我得到一个“尝试运行脚本时发生错误。” 但是 - 1分钟后出现错误消息。 我有一台配备2GB内存的MacBook Air 1.4 Ghz。 很奇怪,iOS5的工作非常灵活,所有其他的模拟器都非常慢。 有任何想法吗?
It seems like iOS5 simulator is not supported on Mavericks. That was the only simulator that worked for me, and I have a bunch of tests in UI Automation. iOS6 and iOS7 simulator takes 2-5 times longer to load (about 30-50 seconds), and my guess is that instruments times out before the sim is started. I get a "An error occurred while trying to run the script." however - the error message appears after 1 minute. I have a MacBook Air 1.4 Ghz with 2GB of memory. Quite strange that iOS5 worked so snappy and all other simualtors so incredibly slow. Any ideas?
原文:https://stackoverflow.com/questions/19563746
最满意答案
这条线就行了
use Illuminate\Support\Facades\Config;
我在routes.php的顶部添加了上面的行,它运行得很好。
This line did the trick
use Illuminate\Support\Facades\Config;
I added above line at top of routes.php and it worked just fine.
相关问答
更多-
由于我不知道->exists()的用法,但基本前提是只检查当前用户是否是特定Subreddit的Moderator ,您可以简单地执行以下操作: $check = $ids->moderators()->where('user_id', Auth::id())->first(); $isModerator = $check != NULL ? true : false; // If $check doesn't return NULL (ie returns a Moderator object) then ...
-
错误很明显: 它在Illuminate\Foundation\Application类中不存在run方法 。 这是从哪里来的? 它看起来不像Laravel附带的index.php 。 try { $app->run(); } catch(\Exception $e) { echo "
"; echo $e; echo "
"; } 你尝试删除它吗? The error is pretty clear: it doesn't exists a run met ... -
这条线就行了 use Illuminate\Support\Facades\Config; 我在routes.php的顶部添加了上面的行,它运行得很好。 This line did the trick use Illuminate\Support\Facades\Config; I added above line at top of routes.php and it worked just fine.
-
确保在你的模型Artesaos\Defender\Traits\HasDefender使用这两个特征并注册服务提供者然后做一个composer dump-autoload make sure of two things use the trait in your model Artesaos\Defender\Traits\HasDefender and register the service provider then do a composer dump-autoload
-
这是拼写错误,这是: return riderect()->to('uploaded'); 应该: return redirect()->to('uploaded'); It is a spelling error, this: return riderect()->to('uploaded'); Should be: return redirect()->to('uploaded');
-
我也有这个错误,所以我只是在这里发表我的观察。 它总是可以帮助别人! 看来getAfterFilters()是L4中所有控制器所需的方法。 如果错误表明它没有被定义,你可能忘记了在你的类中扩展BaseController。 知道这一点,明显的解决办法就是扩展BaseController ...但是如果不需要的话,你不需要这样做。 就我而言,由于非常愚蠢的原因,我的班级必须是有效的管理员。 我正在使用以下路由语法: Route::get('sse', 'SSE@deamon'); SSE未扩展BaseCon ...
-
Laravel - 调用未定义的方法TrainingFacade :: save()(Laravel - Call to undefined method TrainingFacade::save())[2022-01-07]
您无需在此处更改外观别名,但此处还有其他错误。 在您的AdminTrainingsController您希望使用Training模型,以便以这种方式在类定义之前导入Training : use Training; 但是模型Training不在root命名空间中,在root命名空间中有TrainingFacade因为你可能用这种方式在你的app.php文件中定义它: 'Training' => 'Roche\Trainings\Facades\TrainingFacade', 没关系,你不需要改变这个外观 ... -
快速浏览显示TwitterProvider使用与FacebookProvider不同的AbstractProvider 。 TwitterProvider这个AbstractProvider没有实现stateless() 。 所以我想我所说的是......无状态的oAuth是开箱即用的Laravel Socialite包中的TwitterProvider无法实现的。 A quick look shows that the TwitterProvider uses a different AbstractPr ...
-
Package模型中的函数classSubjects()必须返回BelongsToMany关系才能使用attach()。 public function classSubjects() { return $this->belongsToMany('classSubjects'); } The function classSubjects() in your Package model has to return a BelongsToMany relationship in order to use ...
-
未定义的Laravel路径调用(Undefined Laravel path calls)[2022-11-16]
我做了一个干净的laravel和宅基地安装并添加了 welcome.blade.php来到welcome.blade.php并且它有效。 storage_path函数位于/vendor/laravel/framework/src/Illuminate/Foundatio ...