我正在尝试在 VS Code 中的真实 iOS 设备中运行我的应用程序,但我遇到了有关配置文件的错误,我已经将我的配置文件设置为自动,并且还设置了我的开发团队,一切都可以在 Xcode 中运行,但不能在 VS 代码中。
\n这是错误:
\nNo Provisioning Profile was found for your project\'s Bundle Identifier or your \ndevice. You can create a new Provisioning Profile for your project in Xcode for \nyour team by:\n 1- Open the Flutter project\'s Xcode target with\n open ios/Runner.xcworkspace\n 2- Select the \'Runner\' project in the navigator then the \'Runner\' target\n in the project settings\n 3- In the \'General\' tab, make sure a \'Development Team\' is selected. …Run Code Online (Sandbox Code Playgroud) 好吧,根据日志,我的 lambda 函数工作得很好,但它从未在 codepipeline 阶段完成,我已经为允许通知管道设置了角色权限(“codepipeline:PutJobSuccessResult”,“codepipeline:PutJobFailureResult”),甚至设置了 maximun时间到 20 秒但仍然不起作用(实际上在 800 毫秒时结束)。
const axios = require('axios')
const AWS = require('aws-sdk');
const url = 'www.exampleurl.com'
exports.handler = async (event, context) => {
const codepipeline = new AWS.CodePipeline();
const jobId = event["CodePipeline.job"].id;
const stage = event["CodePipeline.job"].data.actionConfiguration.configuration.UserParameters;
const putJobSuccess = function(message) {
var params = {
jobId: jobId
};
codepipeline.putJobSuccessResult(params, function(err, data) {
if (err) {context.fail(err); }
else {context.succeed(message);}
});
};
const putJobFailure = function(message) {
var params = {
jobId: jobId,
failureDetails: {
message: …Run Code Online (Sandbox Code Playgroud)