ITMS-90809:已弃用的 API 使用 - 自 2020 年 4 月 30 日起,Apple 将不再接受使用 UIWebView 的新应用程序的提交以及自 2020 年 12 月起使用 UIWebView 的应用程序更新。而是使用 WKWebView 来提高安全性和可靠性。
我正在尝试更新现有应用程序,而不是新应用程序。我仍然无法上传应用程序。我通过电子邮件收到此错误:
We identified one or more issues with a recent delivery for your app, "App Name" 20202.421.1 (6). Please correct the following issues, then upload again.
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).
Run Code Online (Sandbox Code Playgroud)
苹果是否改变了它的政策?还是我需要改变UIWebView?
我正在 Azure 构建管道中构建 Ionic 4 应用程序。当我尝试运行具有其他 cordova 依赖项的管道时,我在 Xcode 归档步骤中收到以下错误。
? error: AppAuth does not support provisioning profiles. AppAuth does not support provisioning profiles, but provisioning profile Beta2020 has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor. (in target 'AppAuth' from project 'Pods')
? error: GoogleUtilities does not support provisioning profiles. GoogleUtilities does not support provisioning profiles, but provisioning profile Beta2020 has been manually specified. Set the provisioning profile value to "Automatic" in …Run Code Online (Sandbox Code Playgroud) ios ionic-framework azure-devops azure-pipelines-build-task azure-pipelines
我正在尝试使用 azure devops 构建管道为 iOS 构建一个离子应用程序。我正在使用最新版本的插件,"cordova-plugin-google-analytics": "^1.9.0"我也尝试将插件降级,version 1.8.6但不起作用。
cordova-plugin-google-analytics/UniversalAnalyticsPlugin.h:6:9: fatal error: 'GoogleAnalytics/GAI.h' file not found
Run Code Online (Sandbox Code Playgroud)
有人能帮忙吗?我需要更改特定版本吗?
google-analytics ios ionic-framework cordova-plugins azure-devops
在azure构建管道中处理ionic 4 ios应用程序,尝试存档构建并遇到错误
2020-07-09 12:17:12.156 xcodebuild[5440:16936] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/myApp_2020-07-09_12-17-12.155.xcdistributionlogs'.
error: exportArchive: No 'teamID' specified and no team ID found in the archive
Error Domain=IDEFoundationErrorDomain Code=1 "No 'teamID' specified and no team ID found in the archive" UserInfo={NSLocalizedDescription=No 'teamID' specified and no team ID found in the archive}
##[error]Error: /usr/bin/xcodebuild failed with return code: 70
Run Code Online (Sandbox Code Playgroud)
我检查了我的证书,它们位于正确的位置,我也尝试使用 cmd 运行
ionic cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
Run Code Online (Sandbox Code Playgroud)
但没有用。
在运行管道时我也收到警告,但没有找到任何解决方案。我需要改变什么吗?
##[warning]Failed to automatically identify the export method to use …Run Code Online (Sandbox Code Playgroud) 这主要是Android 构建失败的重复,但还没有可用的答案,而且我的情况略有不同,所以再次放置。
就我而言,我能够正确构建 apk,并且我想在命令成功后创建一个应用程序包
ionic cordova build android --prod --release通过运行这个cmd我可以生成apk。
之后我要/platform/android运行./gradlew bundle,在这里我收到此错误
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'bundle' is ambiguous in root project 'android'. Candidates are: 'bundleAppClassesDebug', 'bundleAppClassesDebugAndroidTest', 'bundleAppClassesDebugUnitTest', 'bundleAppClassesRelease', 'bundleAppClassesReleaseUnitTest', 'bundleDebug', 'bundleRelease'
Run Code Online (Sandbox Code Playgroud)
如何修复它?
我只想在 Android 应用程序中使用 youtube API 的暂停、播放和搜索栏,但它只提供 3 种类型的默认控件。默认情况下,它显示设置按钮,有没有人知道如何删除该设置按钮,因为它让用户转到 youtube 应用程序,我不想让用户知道我的频道。
我正在尝试在 android studio 3.2.1 中构建现有项目,com.github.worker8:RadioGroupPlus:v1.0.1虽然它在 android studio 2.1 中工作,但我正在项目中使用
此依赖项,现在当我在 android studio 3.2.1 中构建它时,它会引发
Failed to resolve: com.github.worker8:RadioGroupPlus:v1.0.1此错误。任何帮助表示赞赏。
android gradle build.gradle android-gradle-plugin android-radiogroup
azure-devops ×4
ios ×4
android ×3
build.gradle ×2
app-store ×1
cordova ×1
gradle ×1
gradlew ×1
ionic3 ×1
uiwebview ×1
wkwebview ×1
xcode ×1
youtube-api ×1