Clendar icon indicating copy to clipboard operation
Clendar copied to clipboard

Extract modular packages

Open vinhnx opened this issue 2 years ago • 5 comments

https://swiftwithmajid.com/2022/01/12/microapps-architecture-in-swift-spm-basics/

https://holyswift.app/introduction-to-app-modularisation-with-swift-package-manager-a-tale-to-be-told

vinhnx avatar Feb 26 '22 04:02 vinhnx

@vinhnx Hey! I wanted to continue contributing here but for now I just cannot to build project. Looks like xcode can fetch the dependencies but there is something with Pods. Could you give me some advice how to fix it, probably... Screenshot attached. Thanks 😊 Screenshot 2022-04-21 at 18 31 50

AlexanderSutul avatar Apr 21 '22 16:04 AlexanderSutul

Hi. You can try opening the .xcworkspace instead of the .xcproject

you can reference https://stackoverflow.com/questions/55675694/how-to-fix-cocoapod-modulemap-file-not-found

btw this issue is partially done. As I had extracted the theme and calendar view components into sub-packages https://github.com/vinhnx/Clendar/commit/2f80326dc2a51faccea96ffc19f97759b9342325

Thanks for your efforts, nevertheless! 🙏

vinhnx avatar Apr 22 '22 05:04 vinhnx

Hi. You can try opening the .xcworkspace instead of the .xcproject

you can reference https://stackoverflow.com/questions/55675694/how-to-fix-cocoapod-modulemap-file-not-found

btw this issue is partially done. As I had extracted the theme and calendar view components into sub-packages 2f80326

Thanks for your efforts, nevertheless! 🙏

Thanks for your reply and links. I'll try to figure out what it going on there.

AlexanderSutul avatar Apr 22 '22 08:04 AlexanderSutul

So, maybe someone, who wants to contribute in this repo will find the next info a very helpful. If you have Macbook on m1:

  • sudo arch -x86_64 gem install ffi
  • arch -x86_64 pod install

Or:

run terminal with Rosetta and run pod install

AlexanderSutul avatar Apr 24 '22 10:04 AlexanderSutul

Thanks @AlexanderSutul! I will add your tip to the README. 👍

vinhnx avatar Apr 24 '22 10:04 vinhnx