SwiftyLab / MetaCodable

Supercharge Swift's Codable implementations with macros meta-programming.
https://swiftpackageindex.com/SwiftyLab/MetaCodable/main/documentation/metacodable
MIT License
629 stars 23 forks source link

Cocoapods installation does not work #61

Closed manelmateos closed 8 months ago

manelmateos commented 9 months ago

Hi,

when I add pod 'MetaCodable' to my project, I get this error: _env: /my_project_path/Pods/MetaCodableMacro/Utils/macro_pluginbuild.sh: No such file or directory

If I see 'Pods/MetaCodableMacro' the Utils directory doesn't exist.

soumyamahunt commented 9 months ago

Cocoapods support isn't released yet, the pod you are seeing is an experimental release as part of my CocoaPods support exploration.

The next tagged release will have CocoaPods support. You can either use the main branch or wait for the next release.

soumyamahunt commented 8 months ago

@manelmateos CocoaPods support has been released

Mioke commented 8 months ago

I create a new demo project and only pod 'MetaCodable', '1.3.0 in this project's Podfile, and it built failed. error is :

error: 'metacodablemacro': Source files for target PluginCore should be located under 'Sources/PluginCore', or a custom sources path can be set with the 'path' property in Package.swift
soumyamahunt commented 8 months ago

@Mioke can you provide the demo project?

Mioke commented 8 months ago

@Mioke can you provide the demo project?

https://github.com/Mioke/resources/blob/master/CMSTest.zip @soumyamahunt can try this.

soumyamahunt commented 8 months ago

@Mioke can you provide the demo project?

https://github.com/Mioke/resources/blob/master/CMSTest.zip @soumyamahunt can try this.

@Mioke seems like your pod install has failed, you might have to run pod install again after deleting the Pods folder.

Mioke commented 8 months ago

Still the same, confirmed deleting the Pods folder and then installing again.

crazypoo commented 8 months ago

same same