草庐IT

GitLab-Runner

全部标签

flutter - Xcode 存档中的 Flutter 应用程序命名为 Runner 可以吗?

按照https://flutter.dev/docs/deployment/ios上的说明进行操作后我来到了这一点,我在Xcode中创建应用程序存档(Xcode:产品>存档)。我在存档中的应用名为Runner,尽管这不是它的名称。这在Flutter中是预期的还是归档中的应用程序应该根据其显示名称命名? 最佳答案 这是预料之中的,不用担心,就像当你为Android构建发布版本时,你得到的apk文件名为app-releases.apk,同样你得到Runner.ipa适用于iOS,这并不意味着您的应用程序名称已更改。它在bundle中。所

ios - 错误 : Runner. xcworkspace 不存在。实现谷歌地图时出错

我正在尝试将GoogleMaps实现到我的flutter项目中,它在android版本上运行良好,但在iOS版本上我遇到了一些问题。错误的标题是:Runner.xcworkspacedoesnotexist这是我正在关注的指南:https://codelabs.developers.google.com/codelabs/google-maps-in-flutter/#4我已经完成了该指南中的所有步骤,我可以在我的项目中看到名为Runner.xcworkspace的文件(使用androidstudio),但我仍然遇到此错误.Runner.xcworkspace里面的文件如下:Runne

dart - 标志以忽略属性 build_runner 的序列化

有没有办法忽略JsonSerializable类中属性的序列化?我正在使用build_runner生成映射代码。实现此目的的一种方法是在.g.dart文件中注释该特定属性的映射,但如果可以在该属性上添加一个忽略属性就更好了。import'package:json_annotation/json_annotation.dart';part'example.g.dart';@JsonSerializable()classExample{Example({this.a,this.b,this.c,});inta;intb;///Ignorethispropertyintc;factoryEx

flutter - codemagic 保持生成错误 : '.../Pods-Runner/Pods-Runner-frameworks-Release-input-files.xcfilelist' `

PS:我可以使用Xcode构建版本成功。我在使用codemagic时遇到了类似的错误。unable-to-load-contents-of-file-.进行上述链接中提到的更改后。我在codemagic中遇到构建错误,但应该没有任何与构建错误相关的消息。 最佳答案 您可以尝试更新您的pod以匹配新版本或使用以下自定义脚本降级pod:#!/bin/shset-e#exitonfirstfailedcommandset-x#printallexecutedcommandstotheterminalyes|gemuninstallcoco

c# - VS MSTest runner 在内存测试中运行时锁定 System.Data.SQLite.dll

我正在使用FluentNHibernate通过SQLite1.0.66.0运行内存数据库测试(MS测试):[TestClass]publicabstractclassInMemoryDatabaseTest{privateNHibernate.Cfg.Configurationconfiguration;privateISessionFactorysessionFactory;[TestInitialize]publicvoidInitialize(){//All"CreateConfiguration"doesisloadFNhmappings.this.configuration=

docker - 如何让 Docker Gitlab CI 运行器访问其父主机上的 Git?

Gitlab安装在我们的内部网络http://gitlab同一台机器上的Docker容器无法连接到它。如何配置docker让它知道gitlab是它的父级?当GitlabCI尝试运行构建(在Docker容器内)时,问题就会出现:Cloninginto'/builds/ns/project'...fatal:unabletoaccess'http://gitlab-ci-token:xxxxxx@gitlab/ns/project.git/':Couldn'tresolvehost'gitlab'我已尝试将网络的DNS服务器添加到/etc/default/docker中的DOCKER_OP

docker - 如何让 Docker Gitlab CI 运行器访问其父主机上的 Git?

Gitlab安装在我们的内部网络http://gitlab同一台机器上的Docker容器无法连接到它。如何配置docker让它知道gitlab是它的父级?当GitlabCI尝试运行构建(在Docker容器内)时,问题就会出现:Cloninginto'/builds/ns/project'...fatal:unabletoaccess'http://gitlab-ci-token:xxxxxx@gitlab/ns/project.git/':Couldn'tresolvehost'gitlab'我已尝试将网络的DNS服务器添加到/etc/default/docker中的DOCKER_OP

docker - 语法错误的 Gitlab-runner

我最近使用了docker镜像gitlab/gitlab-runner:9.1.0结合一个gitlab容器来拥有一些CI。出现错误并且建议使用不同版本的类似支持请求,所以我也尝试了:latest和一些:1.11。不幸的是,它一直告诉我这个错误:Runningwithgitlab-ci-multi-runner1.11.4(5e7ba4a)onfoo(02cdacdc)UsingDockerexecutorwithimagepretzlaw/php:7.1-apache...Startingservicemariadb:latest...Pullingdockerimagemariadb:

docker - 语法错误的 Gitlab-runner

我最近使用了docker镜像gitlab/gitlab-runner:9.1.0结合一个gitlab容器来拥有一些CI。出现错误并且建议使用不同版本的类似支持请求,所以我也尝试了:latest和一些:1.11。不幸的是,它一直告诉我这个错误:Runningwithgitlab-ci-multi-runner1.11.4(5e7ba4a)onfoo(02cdacdc)UsingDockerexecutorwithimagepretzlaw/php:7.1-apache...Startingservicemariadb:latest...Pullingdockerimagemariadb:

redis - 如何在 Gitlab CI .gitlab-ci.yml 中使用 redis dockerhub 作为服务?

我的.gitlab-ci.yml是这样的:image:"python:3.5"services:-redis:4.0.2-mongo:3.4.10stages:-checkEverythingRunscheckEverythingRuns:stage:checkEverythingRunsscript:-"python--version"-"pip--version"-"redis-server-v"-"mongod--version"redis镜像下载正确:Usingdockerimageredis:4.0.2ID=sha256:blablabla但它抛出下一个错误:$redis-s