我正在尝试从 appcenter.ms 构建和分发 Android 应用程序。最初,我在推出第三次更新后遭到拒绝,我尝试重建更改。但是在分发到商店时我遇到了以下问题。
由于错误而无法提交编辑。更改无法自动发送以供审核。请将查询参数changesNotSentForReview设置为true。提交后,可以从 Google Play 控制台 UI 发送此编辑中的更改以供审核。
我不想从 Google Play Console UI 进行更改,只想从 appcenter.ms 进行更改。如何在代码中设置该参数。帮助将非常可观!
android android-app-indexing google-play-console visual-studio-app-center visual-studio-app-center-distribute
我继承了一个用 Carthage 构建的项目。使用 Xcode 12,我遇到了这个错误:
致命错误:/Applications/Xcode_12.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo:/Users/runner/Library/Caches/org.carthage.CarthageKit/DerivedData/12.3_12C33/AEXML/ 4.6.0/Build/Intermediates.noindex/ArchiveIntermediates/AEXML iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AEXML.framework/AEXML 和 /Users/runner/Library/Caches/org.carthage.CarthageKit/DerivedData/12.3_12C33/AEXML/4.6 .0/Build/Products/Release-iphonesimulator/AEXML.framework/AEXML 具有相同的体系结构 (arm64),并且不能位于同一个 fat 输出文件中
使用通用架构构建通用框架是不可能的。“AEXML”的设备和模拟器切片均针对以下版本构建:arm64 使用 --use-xcframeworks 重新构建以创建 xcframework 捆绑包。
快速的谷歌搜索让我发现了这个适用于我的本地机器。
第一次使用 AppCenter,我使用以下内容创建了一个预构建脚本:
#!/usr/bin/env bash
# Pre-build
# See: https://learn.microsoft.com/en-us/appcenter/build/custom/scripts/#pre-build
echo "Pre-build has started."
sh ./carthage.sh update --use-submodules
echo "Pre-build has ended."
Run Code Online (Sandbox Code Playgroud)
我认为应该使用迦太基来构建这个?我在 AppCenter 中收到错误:
*** 在 AEXML.xcodeproj 中构建方案“AEXML iOS” shell 任务 (/usr/bin/xcrun lipo -create /Users/runner/Library/Caches/org.carthage.CarthageKit/DerivedData/12.3_12C33/AEXML/4.6. 0/Build/Intermediates.noindex/ArchiveIntermediates/AEXML\ iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AEXML.framework/AEXML /Users/runner/Library/Caches/org.carthage.CarthageKit/DerivedData/12.3_12C33/AEXML/4.6.0 /Build/Products/Release-iphonesimulator/AEXML.framework/AEXML -output /Users/runner/work/1/s/Carthage/Build/iOS/AEXML.framework/AEXML) 失败,退出代码 1:致命错误:/Applications /Xcode_12.3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo:/Users/runner/Library/Caches/org.carthage.CarthageKit/DerivedData/12.3_12C33/AEXML/4.6.0/Build /Intermediates.noindex/ArchiveIntermediates/AEXML iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/AEXML.framework/AEXML 和 /Users/runner/Library/Caches/org.carthage.CarthageKit/DerivedData/12.3_12C33/AEXML/4.6.0/Build/ Products/Release-iphonesimulator/AEXML.framework/AEXML 具有相同的架构 (arm64),并且不能位于同一个 fat 输出文件中
使用通用架构构建通用框架是不可能的。“AEXML”的设备和模拟器切片均针对以下版本构建:arm64 使用 --use-xcframeworks …
mobile carthage visual-studio-app-center visual-studio-app-center-distribute
Android Studio 长颈鹿 | 2022.3.1 我将项目更新为 gradle 8.0,androidGradlePluginVersion = '8.1.0' 它要求更新 java 版本
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
Run Code Online (Sandbox Code Playgroud)
AS 工作正常
我们正在使用 Appcenter ms 来分发构建,但它不会使用此升级版本来编译构建
从 Appcenter 收到此错误
Failed to apply plugin 'com.android.internal.library'.
> Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Your current JDK is located in /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.19-7/x64/Contents/Home
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing `org.gradle.java.home` in `gradle.properties`. …Run Code Online (Sandbox Code Playgroud) 我正在尝试将IPA发布到App Center,用于我的构建定义的YAML如下:
# Xcode
# Build, test, and archive an Xcode workspace on macOS.
# Add steps that install certificates, test, sign, and distribute an app, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/xcode
pool:
vmImage: 'macOS-10.13'
trigger: none
variables:
- name: SDK
value: iphoneos
- name: Configuration
value: ReleasePPD
steps:
- task: DeleteFiles@1
inputs:
SourceFolder: '$(system.defaultWorkingDirectory)'
Contents: 'AuraApp.xcworkspace'
- task: CocoaPods@0
inputs:
forceRepoUpdate: false
displayName: 'pod install using the CocoaPods task'
- task: InstallAppleCertificate@2
inputs:
certSecureFile: 'ios_distribution.p12'
- task: InstallAppleProvisioningProfile@1 …Run Code Online (Sandbox Code Playgroud) 在https://developer.apple.com/support/account/authentication/解释了新的苹果规则:
为了让您的帐户更加安全,从 2019 年 2 月 27 日起,开发者计划的帐户持有人将需要双重身份验证才能登录他们的 Apple 开发者帐户和证书、标识符和配置文件。您的 Apple ID 有助于确保您是唯一可以访问您帐户的人。
尝试通过https://appcenter.ms 上的 CI 在商店中发布我的 iOS 应用程序时出现以下错误:
{
"mandatory_update": false,
"release_notes": "feature/navigator profile (#467)",
"destinations": [
{
"id": "678b39eb-7040-43ca-b903-REDACTED",
"name": "App Store Connect Users",
"message": "Failed to publish to store. Error: App specific password is mandatory for 2fa enabled account in service connection id: 5b1a378c-d7bc-4492-5ad6-REDACTED",
"code": "app_specific_password_missing"
}
],
"code": "partially_succeeded",
"message": "Failed to publish to store. Error: App specific password is mandatory for …Run Code Online (Sandbox Code Playgroud) testflight visual-studio-app-center visual-studio-app-center-distribute
我的一个 Android 应用程序是使用 React-Native 开发的,我计划使用应用程序中心分发它,因为该应用程序面向内部用户。在应用程序中心,我有针对不同环境的不同项目(创建了新应用程序) - 一个用于开发,一个用于 uat,一个用于生产。
我的问题是每当我创建构建包(apk 文件)以部署到应用程序中心项目时,我需要手动更改应用程序中心配置。我使用 .env配置文件来获取不同环境的配置。但我无法使用它来设置应用程序中心配置。谁能指导我如何通过在 .env 文件或代码中的某个位置配置应用程序中心来自动化此过程?
react-native visual-studio-app-center visual-studio-app-center-distribute
如何从命令行将iOS IPA文件推送到App Center Distribute?
我正在使用CI(持续集成)服务器来构建我的应用,并且尝试使用由App Center测试门户提供的以下命令,但该命令无法正常工作,并在下面输出错误:
appcenter distribute release -f ~/Desktop/MondayPundayApp.ipa -g Collaborators --app Punday/mondaypundayapp--ios
Run Code Online (Sandbox Code Playgroud)
命令“ appcenter Distribution release”需要一个登录用户。使用“ appcenter login”命令登录
ios visual-studio-app-center visual-studio-app-center-distribute
我已成功将我的应用帐户与 Console Developers Play Store 和 AppCenter 相关联
在 Appcenter 仪表板内,我有:
AppName => 分发 -> 商店有 3 种分发应用程序版本的方法
我已经在 PlayStore 中创建了一个 Alpha 内部轨道......但它没有显示在 AppCenter 中......我如何使用私有内部 Alpha 版本从 App Center 发布到 Play 商店
google-play-console visual-studio-app-center visual-studio-app-center-distribute
我有这个奇怪的错误,我已经使用appcenter很长时间了,但从未经历过这个。我使用 appcenter 设置了一个构建,该构建从 azure devops 存储库获取。该应用程序是 Xamarin.Android 本机应用程序。一旦我运行构建,一切都会顺利进行。直到登录步骤。当该步骤即将开始时,我收到此错误:
##[error]No matching files were found with search pattern: /Users/runner/work/1/s/**/*.apk
尽管构建成功运行且没有错误,但似乎未找到 APK。请我需要你的帮助来找到解决这个问题的方法。
android build xamarin visual-studio-app-center visual-studio-app-center-distribute
我在应用程序中心上的管道运行良好。现在我尝试进行推送,但失败了:
##[command]git fetch --tags --prune --progress --no-recurse-submodules origin
remote: Invalid username or password
fatal: Authentication failed for 'https://***:***@bitbucket.org/company/react-native-proj.git/'
##[error]Git fetch failed with exit code: 128
Run Code Online (Sandbox Code Playgroud)
如何解决这个问题?我已经检查过并说我必须检查禁用的网络挂钩 https://learn.microsoft.com/en-us/appcenter/build/troubleshooting/code-repos#im-connected-to-bitbucket-and-my-builds -失败并出现 git 错误
但我在 bitbucket 上没有“禁用”网络挂钩?
如何修复它?原因是什么?
谢谢!
visual-studio-app-center visual-studio-app-center-distribute
visual-studio-app-center-distribute ×10
android ×3
appcenter ×1
azure-devops ×1
build ×1
carthage ×1
ios ×1
mobile ×1
react-native ×1
testflight ×1
xamarin ×1
xcodebuild ×1