Skip to content

Fix for [BUG] Previous developer accounts soft-locked by SideStore again #1156 - #1177

Closed
duronald wants to merge 0 commit into
SideStore:developfrom
duronald:develop
Closed

duronald wants to merge 0 commit into
SideStore:developfrom
duronald:develop

Conversation

@duronald

Copy link
Copy Markdown

Changes

  • Fixed regression where previous issue Apple Developer accounts were softlocked by Side-Store reappeared after a commit

See issue
#1156
and previous issue
#410

related commits:
551c004 (where issue was originally fixed)
3682b65 (where issue reappeared)

@mahee96

mahee96 commented Feb 20, 2026

Copy link
Copy Markdown

I reviewed this PR, there are some logic flaws.

Before:

if team.type == .free
{
    if requiredAppIDs > availableAppIDs
    {
        if let expirationDate = sortedExpirationDates.first
        {
            throw OperationError.maximumAppIDLimitReached(appName: application.name, requiredAppIDs: requiredAppIDs, availableAppIDs: availableAppIDs, expirationDate: expirationDate)
        }
        else
        {
            throw ALTAppleAPIError(.maximumAppIDLimitReached)
        }
    }
}

After:

if team.type == .free
{
    if requiredAppIDs > availableAppIDs
    {
        if let expirationDate = sortedExpirationDates.first
        {
            throw OperationError.maximumAppIDLimitReached(appName: application.name, requiredAppIDs: requiredAppIDs, availableAppIDs: availableAppIDs, expirationDate: expirationDate)
        }
    }
}

removing the check isn't going to help just like that, needs more explanation on why the fix attempts to remove the error in else part

@mahee96 mahee96 self-assigned this Feb 20, 2026
@duronald

Copy link
Copy Markdown
Author

@mahee96 if you look at the previous commit linked in the pull request it removed the check. when it was added back in it it caused a regression and broke it for previous dev accounts. that check breaks it for previous dev accounts because the team type is always free for previous dev accounts.

@mahee96 mahee96 removed their assignment Feb 20, 2026
@mahee96

mahee96 commented Feb 22, 2026

Copy link
Copy Markdown

@duronald I do understand that removing it fixes, but the check is supposed to guard it since it is already in scope of free account, the actual bug is since u said urs is a paid dev account it isn't supposed to come into this if-block at all...

that is why it kinda needs further investigation into where actually it is picking the account wrongly as free instead of hacking the check here by removing it.

if you are interested u can look into it, otherwise myself or some other sidestore team member like @nythepegasus will take a look and do a clean fix because we don't want to break something else by fixing this.

@mahee96

mahee96 commented Feb 22, 2026

Copy link
Copy Markdown

@duronald I am converting this PR to a draft for now, if u have more inputs let us know.

@mahee96
mahee96 marked this pull request as draft February 22, 2026 02:16
@duronald

Copy link
Copy Markdown
Author

sounds good, i don’t have time to look at it more deeply but it’s understandable. I’ll fork it into a different repo for now.

@mahee96

mahee96 commented Feb 22, 2026

Copy link
Copy Markdown

yes if u need fix immediately u can build from source actually and install via Xcode.

@mahee96
mahee96 force-pushed the develop branch 8 times, most recently from 9a5b9c4 to 3961688 Compare February 24, 2026 07:35
@SternXD SternXD added the Needs Rebase This needs a Rebase. label Jun 20, 2026
@mahee96

mahee96 commented Jul 16, 2026

Copy link
Copy Markdown

@duronald, we are sorry, but there has been significant refactors due to recent new developments.

This might have been fixed, or still out there, can u rebase your branch and stage the PR once again for review?

@duronald

duronald commented Jul 19, 2026 •

Copy link
Copy Markdown
Author

Unfortunately I currently do not have time to look into this but am still using SideStore, I’m going to keep my fork since there are a few others using it as well but when I have time I will take a look. @mahee96

@duronald

Copy link
Copy Markdown
Author

@mahee96 I did a quick test and can confirm the issue is still present in the latest nightly. I will keep my fork for now since there are at least 5 others using it.

@mahee96

mahee96 commented Sep 9, 2026

Copy link
Copy Markdown

@duronald can u confirm if this still an issue in latest nightly

@duronald duronald closed this Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Rebase This needs a Rebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants