fastlane

Automated conversion of aps-environment from development to production in Xamarin

落爺英雄遲暮 提交于 2020-08-06 08:08:26
问题 In my Xamarin iOS project, Entitlements.plist has aps-environment set to development , for dev testing purposes. I'm using the Visual Studio Team Services Extension for the App Store to automate publishing builds to TestFlight. However, when it uses fastlane pilot to upload the app, I get this error: ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'development' for

Fastlane command not found

蓝咒 提交于 2020-07-28 05:49:52
问题 I am trying to install fastlane . I have Xcode installed. I installed fastlane using the command sudo gem install fastlane . I now go into my project folder and type fastlane init and get the error: -bash: fastlane: command not found. I see that fastlane is installed and can see it here /Users/username/.gem/ruby/2.0.0/gems/fastlane-1.70.0/bin on my Mac. I tried adding this to my PATH , but I still get the same error. My path is /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:./Users/username/

APK version code conflict despite Google Play Store showing otherwise

流过昼夜 提交于 2020-04-18 03:47:34
问题 I am using fastlane to automatically increment my version code and deploy my app. I am getting the error apkNotificationMessageKeyUpgradeVersionConflict: APK specifies a version code that has already been used. - APK specifies a version code that has already been used despite the highest versionCode of my releases is 3. Lane bump_version_code executing [03:47:41]: ------------------------------ [03:47:41]: Driving the lane 'android alpha' 🚀 [03:47:42]: ----------------------------------------

Running instrumented Android test produces “Unknown command-line option '--tests' ”

狂风中的少年 提交于 2020-03-20 07:46:43
问题 I need to run tests with Gradle in a specific package of my app with a command line, in a fastfile. I'm using this command sh './gradlew test --tests "com.package.exemple.*"' but it give me this error Problem configuring task :app:test from command line. >Unknown command-line option '--tests'. I tried a lot of variants but no one worked. Thanks for your help ! 回答1: There is an open issue related to this problem. Please star it and use a specific variant name. Currently the top-level "test"

Running instrumented Android test produces “Unknown command-line option '--tests' ”

我与影子孤独终老i 提交于 2020-03-20 07:46:23
问题 I need to run tests with Gradle in a specific package of my app with a command line, in a fastfile. I'm using this command sh './gradlew test --tests "com.package.exemple.*"' but it give me this error Problem configuring task :app:test from command line. >Unknown command-line option '--tests'. I tried a lot of variants but no one worked. Thanks for your help ! 回答1: There is an open issue related to this problem. Please star it and use a specific variant name. Currently the top-level "test"

Running instrumented Android test produces “Unknown command-line option '--tests' ”

Deadly 提交于 2020-03-20 07:46:07
问题 I need to run tests with Gradle in a specific package of my app with a command line, in a fastfile. I'm using this command sh './gradlew test --tests "com.package.exemple.*"' but it give me this error Problem configuring task :app:test from command line. >Unknown command-line option '--tests'. I tried a lot of variants but no one worked. Thanks for your help ! 回答1: There is an open issue related to this problem. Please star it and use a specific variant name. Currently the top-level "test"

How to configure build types vs. product flavors?

浪尽此生 提交于 2020-03-17 05:51:46
问题 Based on this answer https://stackoverflow.com/a/27908019/5156317 I have a follow up question: What makes an app different that speaks for product flavours? I am trying to compare this with my XCode setup which is as follows: Dev App that uses test backend Dev App that uses production backend Test App that uses test backend (enterprise distribution) Test App that uses production backend (enterprise distribution Live App that uses production backend (app store distribution) My thoughts for the

Jenkins+Git+Fastlane+Fir CI集成

[亡魂溺海] 提交于 2020-02-04 12:41:40
上一篇有讲关于 fastlane自动化部署 ,本篇将会着重讲关于fastlane的实际应用。 目标: 利用自动化jenkins打包工具,自动拉取git仓库代码 不需要通过手动 检查修改 xcode中项目配置修改(provisioning,codesigning) 支持多渠道(chanel,appstore,enterprise,develop,adhoc) 支持一键上传appstore(首次需要输入账户,密码) 企业版本自动上传序号dsym文件到对应平台(fir的hdbug平台) 创建fastlane文件 进入项目目录在终端输入fastlane init命令,会要求输入Apple ID信息按照提示输入即可,选择是否deliver等初始化工作按照上篇讲解即可。操作完成即可看到下图所示的基本内容,下面会对图中文件一一讲解: fastlane源码解析 一. 统一管理fastlane操作脚本文件 1.外界控制版本号,并且控制渠道AdHoc AppStore Develop InHouse 1234 versionNumber=$2 # 1.0.0outLaneName=$1 #"AdHoc AppStore Develop InHouse"其中的一种,外界传入curDir=`pwd`distDir="$curDir/build" 2.根据外界传递的数据控制

How can I env variables in fastlane for creating the template

雨燕双飞 提交于 2020-01-16 18:51:27
问题 I have build and distributed my iOS app using fastlane, for that I have created script in fast file, so now I want pass the env variable in this script for creating the template, this same template I can use my other iOS apps as well, so how can I pass env variables in my fastlane script? 回答1: Fastfile and Co are just Ruby code, so you can use ENV['XYZ'] to access any environment variables. To set environment variables, there are multiple options in fastlane. Some are described at https:/

Uploading to S3 with fastlane

↘锁芯ラ 提交于 2019-12-23 02:49:12
问题 I have been using fastlane for uploading app to hockey and testflight. I wanna use for S3 also and checking their document. I only have limited knowledge in S3. https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md s3( # All of these are used to make Shenzhen's `ipa distribute:s3` command access_key: ENV['S3_ACCESS_KEY'], # Required from user. secret_access_key: ENV['S3_SECRET_ACCESS_KEY'], # Required from user. bucket: ENV['S3_BUCKET'], # Required from user. ipa: 'AppName