russell-archer / StoreHelper

Implementing In-App Purchases with StoreKit2 in Xcode 13 - 15 using SwiftUI, Swift 5.7 - 5.9, iOS 15 - 17 and macOS 12 - 14. Also supports tvOS and visionOS.
MIT License
410 stars 48 forks source link

Why the file size is more than 300MB #80

Closed fifyrio closed 1 month ago

fifyrio commented 1 month ago

Hi, Russell, my Mac is only 512GB, so could you please resize the project image

russell-archer commented 1 month ago

I'm not sure where that 300MB figure comes from, however, if I look at the size of the StoreHelper/Sources folder it's only 15MB. And looking at StoreHelperDemo the entire project's only 14MB.

In terms of what's going on in your derived data directory I can't say. I don't think it can be StoreHelper-related as it's basically just a bunch of Swift sources files. There are a few images in the project related to DocC documentation, but they won't end up in your derived data. So, sorry I don't think there's anything I can do to reduce the size of the package.

And if you've got a 512GB drive you're lucky, I've only got 256GB!!

fifyrio commented 1 month ago

Thanks Russell for your reply, I will try other ways to save Spaces

fifyrio commented 1 month ago

Hi, Russell, I found that when I use my iPhone13 for debugging, it will install all the StoreHelper DocC Documents, and it will cost almost 5 minutes to install my app, so do you know why it copy the DocC Documents to my iPhone13, thanks, I use [Swift package manager](swift-tools-version: 5.10), and StoreHelper 2.6.7 with SPM, thanks image

fifyrio commented 1 month ago

It's my fault after I removed the .build, it fixed image

russell-archer commented 1 month ago

That’s great, many thanks for letting me know!

On 26 Jul 2024, at 05:00, Will @.***> wrote:

It's my fault after I removed the .build, it fixed image.png (view on web) https://github.com/user-attachments/assets/f80baa61-001b-43ef-9390-42b7a7ed26aa — Reply to this email directly, view it on GitHub https://github.com/russell-archer/StoreHelper/issues/80#issuecomment-2251914426, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRLWA7E3ILMURWT43CRPPLZOHCUFAVCNFSM6AAAAABK55KUBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJRHEYTINBSGY. You are receiving this because you modified the open/close state.