Code Monkey home page Code Monkey logo

Comments (24)

bitce avatar bitce commented on June 6, 2024

Hi @ubuntudroid! Can you please include an URL of a build that fails for you, so we can take a look at what are these problems exactly?

from steps-ios-auto-provision-appstoreconnect.

ubuntudroid avatar ubuntudroid commented on June 6, 2024

@bitce Sure, here you go: https://app.bitrise.io/build/17bf046e47cb8cc8 (the branch has been renamed in the meantime to feature/appwidget in case you wonder / want to trigger the build manually.

In the end I could fix this particular issue (there is still another unrelated issue with building that branch) by manually adding the following to an otherwise empty target:

CreatedOnToolsVersion = 11.4.1;
ProvisioningStyle = Automatic;

Apparently empty targets are a problem.

So in the end I'm not 100% sure it is caused by the issue fixed in xcode-project, but it might be connected?

from steps-ios-auto-provision-appstoreconnect.

bitce avatar bitce commented on June 6, 2024

I see, that would make sense. Would you be able to turn on Support User access for us? I'd forward this to our engineering team so they can take a look.

from steps-ios-auto-provision-appstoreconnect.

ubuntudroid avatar ubuntudroid commented on June 6, 2024

@bitce done ✅

from steps-ios-auto-provision-appstoreconnect.

kylebrowning avatar kylebrowning commented on June 6, 2024

I believe I have a related issue.

Creating AppstoreConnectAPI client
the client created for https://api.appstoreconnect.apple.com/
Analyzing project
configuration: Release
Failed to read project team ID: failed to parse target (1D9B2F1D23898DF7001FB5C8) attributes: key: string("1D9B2F1D23898DF7001FB5C8") not found in: serialized.Object(serialized.Object{"7CB33068200813270043F3A5":map[string]interface {}{"CreatedOnToolsVersion":"9.2", "LastSwiftMigration":"1000"}, "7CB34F1B1D362969004B639D":map[string]interface {}{"CreatedOnToolsVersion":"7.3.1", "LastSwiftMigration":"1020", "SystemCapabilities":map[string]interface {}{"com.apple.ApplicationGroups.iOS":map[string]interface {}{"enabled":"1"}, "com.apple.BackgroundModes":map[string]interface {}{"enabled":"1"}, "com.apple.InAppPurchase":map[string]interface {}{"enabled":"1"}, "com.apple.Keychain":map[string]interface {}{"enabled":"1"}, "com.apple.Push":map[string]interface {}{"enabled":"1"}, "com.apple.SafariKeychain":map[string]interface {}{"enabled":"1"}}}, "7CB6DA0C204841DA001453C5":map[string]interface {}{"CreatedOnToolsVersion":"9.2", "LastSwiftMigration":"1000", "SystemCapabilities":map[string]interface {}{"com.apple.ApplicationGroups.iOS":map[string]interface {}{"enabled":"1"}}}, "7CD7C3F1236B008300059BC8":map[string]interface {}{"CreatedOnToolsVersion":"11.2", "TestTargetID":"7CB34F1B1D362969004B639D"}})
|    

from steps-ios-auto-provision-appstoreconnect.

Robert-Bitrise avatar Robert-Bitrise commented on June 6, 2024

Hi @ubuntudroid and @kylebrowning !
Do you still notice this issue or it has been solved?

from steps-ios-auto-provision-appstoreconnect.

kylebrowning avatar kylebrowning commented on June 6, 2024

I reverted to using the deprecated auto provision step.

from steps-ios-auto-provision-appstoreconnect.

Robert-Bitrise avatar Robert-Bitrise commented on June 6, 2024

@kylebrowning Could you please send a build log with support access which I can use to investigate this issue? Thank you.

from steps-ios-auto-provision-appstoreconnect.

kylebrowning avatar kylebrowning commented on June 6, 2024

Failing
Passing before something broke

from steps-ios-auto-provision-appstoreconnect.

Robert-Bitrise avatar Robert-Bitrise commented on June 6, 2024

@kylebrowning
Could you please check the following settings?

  • Ensure that the Application Identifier exists on the Apple Developer Portal
  • Ensures that the project's Capabilities are set correctly in the Application Identifier
  • Ensures that the Provisioning Profiles exist on the Apple Developer Portal and are installed for the build
  • Ensure that all the available Test Devices exist on the Apple Developer Portal and are included in the Provisioning Profiles

These settings have to be done to be able to use the iOS Auto Provision with AppStore Connect API step.

from steps-ios-auto-provision-appstoreconnect.

kylebrowning avatar kylebrowning commented on June 6, 2024

Yes all of those are correct and, as I put in my last comment there is a build that did pass with App Store connect API and then it broke.

from steps-ios-auto-provision-appstoreconnect.

Robert-Bitrise avatar Robert-Bitrise commented on June 6, 2024

@kylebrowning

What you were using in that successful build was a step with this id: ios-auto-provision
The id of the other auto provision step is: ios-auto-provision-appstoreconnect

So this link didn't use the AppStore Connect API based step:
https://app.bitrise.io/build/26b87868df02c676#?tab=log

from steps-ios-auto-provision-appstoreconnect.

Robert-Bitrise avatar Robert-Bitrise commented on June 6, 2024

@kylebrowning
Did you notice that you have used the same iOS Auto Provision step in those 2 builds what you have sent to me in your previous comment?

from steps-ios-auto-provision-appstoreconnect.

kylebrowning avatar kylebrowning commented on June 6, 2024

I'll double check when I have time. Sorry for the delayed response.

from steps-ios-auto-provision-appstoreconnect.

Robert-Bitrise avatar Robert-Bitrise commented on June 6, 2024

@kylebrowning No problem, thank you for your reply!

from steps-ios-auto-provision-appstoreconnect.

Robert-Bitrise avatar Robert-Bitrise commented on June 6, 2024

Hi @kylebrowning !
Did you have time to double check that what we were talking about earlier?
I am looking forward to your reply.

from steps-ios-auto-provision-appstoreconnect.

JakeStoeffler avatar JakeStoeffler commented on June 6, 2024

I'm having the same issue and it's blocking me from moving off the deprecated iOS Auto Provision with Apple ID path. Here's an example of a failing build: https://app.bitrise.io/build/c33c41a2823a052b

I found a thread about this where others were affected as well: https://discuss.bitrise.io/t/failed-to-apply-code-sign-settings-for-target-failed-to-get-projects-target-attributes/13530

Please let me know what else I can help with so this gets fixed.

from steps-ios-auto-provision-appstoreconnect.

bitce avatar bitce commented on June 6, 2024

Hi @JakeStoeffler, can you please enable Support User access in the Settings of your app, so we can take a look at the project?

from steps-ios-auto-provision-appstoreconnect.

JakeStoeffler avatar JakeStoeffler commented on June 6, 2024

@bitce Done. You'll notice I was able to work around the issue by adding an empty entry for the target to the TargetAttributes section of project.pbxproj. However, I think that could be avoided if xcode-project was updated in this step.

from steps-ios-auto-provision-appstoreconnect.

bitce avatar bitce commented on June 6, 2024

Thanks for the details @JakeStoeffler. The team seems to agree, we've created a task to do this as soon as we can!

from steps-ios-auto-provision-appstoreconnect.

godrei avatar godrei commented on June 6, 2024

@ubuntudroid and @kylebrowning the xcode-project package update was pulled in version 0.1.2 on 1 Dec 2020.
Could you please test the latest version of the step?

from steps-ios-auto-provision-appstoreconnect.

ubuntudroid avatar ubuntudroid commented on June 6, 2024

@godrei I'm not actively working on our xcode project at the moment, but I'll check once I'm back on it. Might be a month or two though.

from steps-ios-auto-provision-appstoreconnect.

godrei avatar godrei commented on June 6, 2024

@JakeStoeffler and @kylebrowning could you please try the latest version of the step? There was one more code block requiring TargetAttributes, it is fixed in version 0.1.7

from steps-ios-auto-provision-appstoreconnect.

godrei avatar godrei commented on June 6, 2024

I'll close this issue, but if you need more info/help just open a new issue!

from steps-ios-auto-provision-appstoreconnect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.