Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata.h and .c missing from Cocoapod? #346

Closed
jkichline opened this issue Jul 22, 2021 · 11 comments
Closed

metadata.h and .c missing from Cocoapod? #346

jkichline opened this issue Jul 22, 2021 · 11 comments
Assignees

Comments

@jkichline
Copy link

jkichline commented Jul 22, 2021

Screen Shot 2021-07-22 at 4 04 04 PM

I'm seeing an issue when setting up my project that uses libxlsxwriter where after a pod update and compile, the project is not compiling because metadata.h file not found. Is this an error in the CocoaPods as I see the code in the GitHub repository.
@jmcnamara
Copy link
Owner

I think this may be a known Cocoapod issue. See #337 and the workaround discussed there.

@jkichline
Copy link
Author

jkichline commented Jul 22, 2021 via email

@jmcnamara
Copy link
Owner

If I change my Podfile to download the previous version such as v1.0.9, the project compiles properly. It appears to be an issue that has started in v1.1.1.

Does the issue happen with v1.1.0?

Also, can you try the workaround for the know issue discussed in #337. Namely, try this version of pod:

# This took a couple of goes:
$ bundle update --bundler


$ cd /tmp
$ git clone git@github.com:CocoaPods/CocoaPods.git
$ cd CocoaPods/
$ git checkout 1-10-stable
$ bundle install
$ echo $(pwd)"/bin/pod"

# So now you should have a patched version of pod. For me this was:
$ echo $(pwd)"/bin/pod"
/tmp/CocoaPods/bin/pod

# Then use this version of pod to install libxlsxwriter:
/tmp/CocoaPods/bin/pod install

@jmcnamara
Copy link
Owner

@FrankenApps could you have a look at this issue and see if you can reproduce it.

@FrankenApps
Copy link
Contributor

FrankenApps commented Jul 25, 2021

I tried to reproduce this, but failed to do so.
I've upgraded my example project to 1.1.1 and it still builds without issues.

Both metadata.c and metadata.h are still present.

@jkichline Are you building the project for Catalyst or for iOS?

@jmcnamara
Copy link
Owner

jmcnamara commented Jul 25, 2021

Thanks @FrankenApps

@jkichline can you try @FrankenApps sample app: https://github.com/FrankenApps/LibXlsxWriterSwiftSample and see if it works for you

@jmcnamara
Copy link
Owner

@jkichline any update on this?

@jkichline
Copy link
Author

jkichline commented Jul 26, 2021 via email

@jmcnamara
Copy link
Owner

Interesting. What is the version number string in the xlsxwriter.h file in your project?

@jkichline
Copy link
Author

jkichline commented Jul 27, 2021 via email

@jmcnamara
Copy link
Owner

I'm going to close this here since I don't think it is a libxlsxwriter pod issue. BTW, there is an new libxlsxwriter pod (1.1.2) out as of today. You can try that to see if it makes any difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants