Comments (24)
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.
@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.
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.
@bitce done ✅
from steps-ios-auto-provision-appstoreconnect.
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.
Hi @ubuntudroid and @kylebrowning !
Do you still notice this issue or it has been solved?
from steps-ios-auto-provision-appstoreconnect.
I reverted to using the deprecated auto provision step.
from steps-ios-auto-provision-appstoreconnect.
@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.
Failing
Passing before something broke
from steps-ios-auto-provision-appstoreconnect.
@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.
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.
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.
@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.
I'll double check when I have time. Sorry for the delayed response.
from steps-ios-auto-provision-appstoreconnect.
@kylebrowning No problem, thank you for your reply!
from steps-ios-auto-provision-appstoreconnect.
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.
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.
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.
@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.
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.
@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.
@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.
@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.
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)
- Fails with App Clip target HOT 13
- Fails with app clip target HOT 1
- Apple Development are supported ? or only IOS_DEVELOPMENT ? HOT 5
- App clip provisioning failing HOT 8
- Project Path input not used? HOT 6
- Fail to match iCloud container when re-using existing provisioning profile HOT 8
- Step reformatting of "pbxproj" file is breaking ionic-archive step HOT 10
- This repo suffer the same issue with mac device id HOT 5
- ios-auto-provision-appstoreconnect breaks agvtool HOT 4
- 1.0.1 version step.zip file is not accessible HOT 1
- Not signing UITest Target HOT 2
- Difference between automatic and api_key connections HOT 7
- Fails with App Clip target HOT 7
- `apple-id` Option mismatch between config.go and step.yml HOT 2
- `Should the step manage UITest target's codesigning?` setting ignored HOT 2
- SignUITestTargets: false not respected HOT 1
- Distribution is not set based on Env Var distribution_type HOT 3
- Suddenly fails to parse provisioning profiles HOT 11
- Automatic code signing failed HOT 6
- Automatic code signing failed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steps-ios-auto-provision-appstoreconnect.