Closed devmea closed 7 months ago
π Hello! I've never worked with CocoaPods, so I will look this week at how the extension works with CocoaPods project.
For now, you can try this:
Thanks for creating the issue!
Hello!
It seems like you're using a .xcworkspace
created by Xcode, not one created by CocoaPods.
... -workspace /Users/devmea/Projects/ios/app.xcodeproj/project.xcworkspace ...
To select the correct workspace (created by CocoaPods), run the command > SweetPad: Select Xcode workspace in your Command Palette (β + C) and choose the one with the CocoaPods and Recommended labels.
Here is also how it looks like in the interface:
I've also created a demo project with CocoaPods named sweetpad-demo-cocoapods, where you can try to reproduce the issue.
Could you try this and let me know if it works for you?
Hello again!
Sorry, I've been out and didn't respond to the issue. The solution you posted works great, and I'm able to build and run on the simulator! π Next step will be to be able to use breakpoints on VSCode, but I'll go through the documentation first, or maybe I'm missing something.
Thanks for the help! π
Hello!
I've recently started using VSCode to work on a project, and came across your extension. The extension looks fantastic so far, and I'm eager to continue using it in hopes I can replace Xcode with VSCode, though I know I'll still need it for some other stuff.
But I've encountered a build issue when using it with Cocoapods for managing dependencies. I have two extra targets with Notification Service Extensions, and the build fails with files not found:
Does sweetpad support configurations where dependencies for app extensions are managed through Cocoapods, and if so, are there specific steps to ensure a successful build with such a setup?
Thank you!