对于Android发布自动化,有没有人知道像fastlane这样的工具/项目?上传到Playstore ......我知道在fastlane中有一些Android部分的任务,但还没有读完.Fastlane Android问题
我希望你的家伙可以帮助我:)
不看像一个直Ruby类,那么究竟是什么?一个大的Ruby"块",一些自定义元语言被解析?只是好奇.我知道你可以在Fastfile中使用Ruby; 这个范例可以达到多远,你能在Fastfile中定义类或函数,还是只能保留fastlane支持的"通道"概念?
我需要使用命令行在快速文件中的应用程序的特定包中使用 Gradle 运行测试。我正在使用这个命令
sh './gradlew test --tests "com.package.exemple.*"'
Run Code Online (Sandbox Code Playgroud)
但它给了我这个错误
从命令行配置任务 :app:test 时出现问题。
>未知的命令行选项“--tests”。
我尝试了很多变体,但没有一个有效。
感谢您的帮助 !
我正在尝试简化我的iOS开发版本并阅读有关Docker的内容.
如果我理解正确的话,我可以创建一个包含所有依赖项的图像,而我的同伴开发人员可以将其拉入并在其中构建.
点现在,这是否也适用于Fastlane(我认为使用Xcode cli工具)和"Docker for Mac"?
此外,我正在使用React-Native,它似乎启动了第二个进程,用于捆绑稍后将包含在本机构建中的JavaScript,并且我读到Docker只允许一个进程,这是一个问题吗?
我目前正在使用.env文件来获取 FASTFILE 中的环境变量,但现在我正在尝试使用 GitLab CI/CD 自动化 fastlane。
由于.env包含所有键的文件无法推送到分支,因此我必须.env在 GitLab 运行程序的环境变量中声明所有或环境变量。
我想知道如何在我的 fastfile 中使用 GitLab 运行程序的环境变量。
lane :build_staging do |options|
environment_variable(set: { 'ENVFILE' => '.env.staging' }) // I want to use the GitLab environment variable
clean
gradle(task: options[:task], build_type: 'Staging', project_dir: 'android/')
end
Run Code Online (Sandbox Code Playgroud) gym我有一个 fastlane 通道,可以使用或构建应用程序build_app,但我也想使用flutter build's--obfuscate标志。
desc "Build - Enterprise"
lane :build_enterprise do |options|
bundle_id = options[:bundle_id]
sync_certificates_and_provisioning_profiles(
type: "enterprise",
bundle_id: bundle_id,
)
cleanup
gym(
scheme: get_scheme(bundle_id),
export_method: "enterprise",
clean: true,
include_bitcode: false,
include_symbols: true,
export_options: {
signingStyle: "manual",
provisioningProfiles: generate_enterprise_profiles(bundle_id)
}
)
end
Run Code Online (Sandbox Code Playgroud)
据我了解,我可以替换gym为flutter build ios --obfuscate,但是我如何利用gym提供的其他参数。例如:export_method,export_options,include_bitcode,include_symbols?我的应用程序有多种风格,并且基于调试/发布应用程序或登台/生产应用程序使用这些参数非常有用。
在我的Xamarin iOS项目中,Entitlements.plist aps-environment设置为development,用于开发测试目的.我正在使用App Store的Visual Studio Team Services Extension自动将发布版本发布到TestFlight.但是,当它使用fastlane pilot上传应用程序时,我收到此错误:
ERROR ITMS-90046:"无效的代码签名应享权利你的应用程序包的签名包含了不支持iOS代码签名权利具体来说,值'发展'的关键'APS-环境’.项目 ’不支持.
看起来production在运行持续集成构建时应该切换到环境.我该如何自动化?
app-store xamarin.ios apple-push-notifications fastlane azure-devops
虽然这不妨碍fastlane snapshot工作,但我想知道为什么我跑步时会收到以下警告(如紫色图所示)?
[13:11:17]: ? 2018-01-23 13:11:17.281 xcodebuild[87131:11428054] iPhoneSupport: Unable to mount DeveloperDiskImage on Jack’s Apple Watch (Error Domain=com.apple.dtdevicekit Code=-402653158 "The device is passcode protected." UserInfo={NSLocalizedDescription=The device is passcode protected., com.apple.dtdevicekit.stacktrace=(
[13:11:17]: ? 0 DTDeviceKitBase 0x00000001148bffed DTDKCreateNSError + 113
[13:11:17]: ? 1 DTDeviceKitBase 0x00000001148c0831 DTDK_AMDErrorToNSError + 1135
[13:11:17]: ? 2 DTDeviceKitBase 0x0000000114901441 -[DTDKMobileDeviceToken mountDeveloperDiskImage:withError:] + 782
[13:11:17]: ? 3 DTDeviceKitBase 0x0000000114901cf8 -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 488
[13:11:17]: ? 4 IDEiOSSupportCore 0x00000001147d65ae __28-[DVTiOSDevice attachToken:]_block_invoke_4 + 216
[13:11:17]: ? 5 DVTFoundation 0x0000000108a75a4f …Run Code Online (Sandbox Code Playgroud) 致力于为swift iOS应用程序构建自动UI测试.该应用程序涉及用于登录Facebook的Web视图.每次在web视图的范围内点击并尝试登录facebook时,如果我尝试使用内置的Xcode UI记录构建UI测试,则会崩溃Xcode.无论Xcode会崩溃,我使用iPhone 6或模拟器都没关系.
我正在使用Xcode 9.以及FBSDKLoginKit和FBSDKCoreKit.
重现步骤:
1)拥有一个带有webview的应用程序
2)点击记录UI测试
3)单击webview范围内的任意位置
这种行为有原因吗?
我是否需要更改Xcode中的设置才能记录Web视图交互?
下面是Xcode崩溃时收到的错误消息.
Process: Xcode [70544]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 9.3 (14154)
Build Info: IDEFrameworks-14154000000000000~2
App Item ID: 497799835
App External ID: 826408812
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [70544]
User ID: 501
Date/Time: 2018-05-21 14:04:50.053 -0400
OS Version: Mac OS X 10.13.4 (17E199)
Report Version: 12
Anonymous UUID: 335CE1E7-B5AB-F717-E6D0-019AF52B3708
Sleep/Wake UUID: 7824F1AB-C514-4609-A447-F15EA9C86C84
Time Awake Since Boot: 99000 seconds
Time Since Wake: 1800 seconds
System …Run Code Online (Sandbox Code Playgroud) 我有一个应用程序在Xcode 9上的CircleCI上运行React Native 0.57.7时运行良好,但是我们需要将Xcode版本提高到10.1.0。
但是,当我切换它时,Ci停止工作,即使启用了旧版系统(-UseNewBuildSystem=NO或-UseModernBuildSystem=0传递给Fastlane的build_ios_app),我也会收到“ Myapp.app/main.jsbundle不存在”错误。
? + echo 'error: File /Users/distiller/project/ios/build/Build/Intermediates.noindex/ArchiveIntermediates/Myapp/BuildProductsPath/Release-iphoneos/Myapp.app/main.jsbundle does not exist. This must be a bug with'
? error: File /Users/distiller/project/ios/build/Build/Intermediates.noindex/ArchiveIntermediates/Myapp/BuildProductsPath/Release-iphoneos/Myapp.app/main.jsbundle does not exist. This must be a bug with
? + echo 'React Native, please report it here: https://github.com/facebook/react-native/issues'
? React Native, please report it here: https://github.com/facebook/react-native/issues
Run Code Online (Sandbox Code Playgroud) fastlane ×10
ios ×4
android ×2
react-native ×2
xcode ×2
app-store ×1
azure-devops ×1
circleci ×1
docker ×1
fastlane-gym ×1
flutter ×1
gitlab ×1
google-play ×1
gradle ×1
ruby ×1
swift ×1
testing ×1
xamarin.ios ×1