-
-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Info and App Store Version #116
Conversation
I don't understand why the build fails. It doesn't look like the build has started on Bitrise. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is great!
AppStoreConnect_Swift_SDK.framework: Coverage: 81.18
Generated by 🚫 Danger Swift against f554e3f |
case .build: | ||
self = try .build(Build(from: decoder)) | ||
default: | ||
fatalError() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ A fatalError call should have a message. (fatal_error_message
)
This is related to Bitrise which only starts the build after manual approval from my side. Regarding the errors, do you have them after doing a clean build locally? |
It builds fine on my machine when I do a clean build in both Xcode 11.7 and Xcode 12 beta 6. In Xcode 12 I get 158 warnings saying "Immutable property will not be decoded because it is declared with an initial value which cannot be overwritten" for the let |
@MortenGregersen I'm referring to For example the |
Got it. Didn't see the .xcodeproj in Githubs file list as it was shown as a folder... :) Maybe you are right. |
@MortenGregersen Great! Looks like an easy fix, but let me know if I can help :) |
I don't have the time to look at this right now. It would be awesome if you would try and add the files 👍 |
@MortenGregersen Sure - I've added source files, but there are also some tests failing. I'll take care of them tomorrow and update |
- Sort files in the project file by the name
Add new files to the main target dependencies & update exected
Hey @AvdLee, can we ask to rerun the CI on the latest commit? |
Errors are gone, except the formatting one. Also looks like the coverage is quite low. |
Fantastic! Thank you for the help. I don't have the time to do any work on this the following weeks. |
This PR is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days. |
* Update GetAppTests for the new filtering options * Update ListAppsTests for the new filtering options * Update tests for AppRelationship * Add tests for generating the correct URL for ListAppStoreVersionsForApp endpoint * Remove `limit` parameter from ReadAppInfoOfApp (cannot be applied for this endpoint) * Fix the `appInfo` field key * Fix the method signature to reflect better the appropriate resource id * Add tests for ReadAppInfoOfAppTests endpoint * Fix AppInfo key * Add tests for ListapplnfosForApp for generating the correct URL * Remove duplicated white space * Comment out unimplemeted logic so the switch can be exhaustive
@AvdLee I can't remove the "Stale" label. The CI should be run on this PR again after the latest commit. |
We got a little bit more tests & hopefully the linter error fixed, so ideally, the CI turns green and we can close this one :) |
public let data: AppStoreVersion.Relationships.AgeRatingDeclaration.Data? | ||
public let links: AppStoreVersion.Relationships.AgeRatingDeclaration.Links | ||
|
||
public struct Data: Codable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Types should be nested at most 1 level deep (nesting
)
I think that we can ignore the nested types warnings here. I feel like it's useful in this case and helps to improve readability. |
public let data: AppStoreVersion.Relationships.AppStoreVersionLocalizations.Data? | ||
public let links: AppStoreVersion.Relationships.AppStoreVersionLocalizations.Links? | ||
|
||
public struct Data: Codable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Types should be nested at most 1 level deep (nesting
)
I agree about nested types. Also, the CI went green, so hopefully, we can merge now. |
I had to merge in the base branch. Once CI succeeds again, I'll merge it in! |
public let data: AppStoreVersion.Relationships.AppStoreVersionSubmission.Data? | ||
public let links: AppStoreVersion.Relationships.AppStoreVersionSubmission.Links? | ||
|
||
public struct Data: Codable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Types should be nested at most 1 level deep (nesting
)
public let type: String = "appStoreVersionLocalizations" | ||
} | ||
|
||
public struct Links: Codable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Types should be nested at most 1 level deep (nesting
)
Congratulations! 🎉 This was released as part of Release 1.2.0 🚀 Generated by GitBuddy |
No description provided.