grab / grab/cocoapods-binary-cache

Error when using *.xcdatamodeld resources

Open
#45 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
488
Forks
69
PR merge metrics
No merged PRs in 30d

Description

When the **Development Pods** that have resources declared by `spec.resources = [...]`, it throws an error saying that the **\*. xcdatamodeld** file does not exist.

Our **Development Pods** podspec file.

```
s.resources = 'Code/**/*.{xcdatamodeld}'
```
The issue occurred in the integration step when we generate the project file.
```
Errno::ENOENT - No such file or directory @ realpath_rec - /Users/dj/MyTestProject/code/ios/_Prebuild/GeneratedFrameworks/Test/Test.framework/Test.xcdatamodeld
....
```

I found when installing, it will overwrite original *. xcdatamodeld file, and make a soft link to the `GenerateFramework/Test/Test.xcdatamodeld`, but the real `xcdatamodeld ` file is `Test.framework/Test.momd`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.