[GH-ISSUE #346] metadata.h and .c missing from Cocoapod? #279

Closed
opened 2026-05-05 12:05:26 -06:00 by gitea-mirror · 11 comments
Owner

Originally created by @jkichline on GitHub (Jul 22, 2021).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/346

Originally assigned to: @jmcnamara on GitHub.

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.
Originally created by @jkichline on GitHub (Jul 22, 2021). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/346 Originally assigned to: @jmcnamara on GitHub. <img width="2240" alt="Screen Shot 2021-07-22 at 4 04 04 PM" src="https://user-images.githubusercontent.com/377033/126702587-a6d77b7b-843f-4955-9a21-31e0d6211981.png"> 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.
gitea-mirror 2026-05-05 12:05:26 -06:00
Author
Owner

@jmcnamara commented on GitHub (Jul 22, 2021):

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

<!-- gh-comment-id:885212836 --> @jmcnamara commented on GitHub (Jul 22, 2021): I think this may be a known Cocoapod issue. See #337 and the workaround discussed there.
Author
Owner

@jkichline commented on GitHub (Jul 22, 2021):

The files are not being downloaded nor are they present with the v1.1.1 of the framework. 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. I am working to get the project working on an M1 but have not had issues with libxlsxwriter previously. There appears to be N issue with the pod configuration?

On Jul 22, 2021, at 4:31 PM, John McNamara @.***> wrote:


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


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<!-- gh-comment-id:885248439 --> @jkichline commented on GitHub (Jul 22, 2021): The files are not being downloaded nor are they present with the v1.1.1 of the framework. 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. I am working to get the project working on an M1 but have not had issues with libxlsxwriter previously. There appears to be N issue with the pod configuration? > On Jul 22, 2021, at 4:31 PM, John McNamara ***@***.***> wrote: > >  > I think this may be a known Cocoapod issue. See #337 and the workaround discussed there. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or unsubscribe.
Author
Owner

@jmcnamara commented on GitHub (Jul 22, 2021):

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
<!-- gh-comment-id:885263284 --> @jmcnamara commented on GitHub (Jul 22, 2021): > 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: ```bash # 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 ```
Author
Owner

@jmcnamara commented on GitHub (Jul 23, 2021):

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

<!-- gh-comment-id:885476293 --> @jmcnamara commented on GitHub (Jul 23, 2021): @FrankenApps could you have a look at this issue and see if you can reproduce it.
Author
Owner

@FrankenApps commented on GitHub (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?

<!-- gh-comment-id:886166181 --> @FrankenApps commented on GitHub (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](https://github.com/FrankenApps/LibXlsxWriterSwiftSample/tree/master/Pods/libxlsxwriter/src) and [metadata.h](https://github.com/FrankenApps/LibXlsxWriterSwiftSample/tree/master/Pods/libxlsxwriter/include/xlsxwriter) are still present. @jkichline Are you building the project for Catalyst or for iOS?
Author
Owner

@jmcnamara commented on GitHub (Jul 25, 2021):

Thanks @FrankenApps

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

<!-- gh-comment-id:886172891 --> @jmcnamara commented on GitHub (Jul 25, 2021): Thanks @FrankenApps @jkichline can you try @FrankenApps sample app: https://github.com/FrankenApps/LibXlsxWriterSwiftSample and see if it works for you
Author
Owner

@jmcnamara commented on GitHub (Jul 26, 2021):

@jkichline any update on this?

<!-- gh-comment-id:886940794 --> @jmcnamara commented on GitHub (Jul 26, 2021): @jkichline any update on this?
Author
Owner

@jkichline commented on GitHub (Jul 26, 2021):

I’m reaching out to the cocoapod catalyst support project https://github.com/fermoya/cocoapods-catalyst-support/ https://github.com/fermoya/cocoapods-catalyst-support/

One thing you had mentioned is the version of Cocoapods being used and to install Catalyst support it seems to update Cocoapods and I wonder if that’s causing the incompatibility. Of course the same exact Podfile works on Intel but on M1, event if reverting to an earlier version of the xlsxwriter, a different Cocoapod will trigger and be missing a file so I think it’s an issue with the catalyst support project on the M1 perhaps? I’ll let you know when they get back.

On Jul 26, 2021, at 2:46 PM, John McNamara @.***> wrote:

@jkichline https://github.com/jkichline any update on this?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jmcnamara/libxlsxwriter/issues/346#issuecomment-886940794, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC4BSLIV6UXM4PGZXIVS3DTZWUPXANCNFSM5A2WAI3A.

<!-- gh-comment-id:886942679 --> @jkichline commented on GitHub (Jul 26, 2021): I’m reaching out to the cocoapod catalyst support project https://github.com/fermoya/cocoapods-catalyst-support/ <https://github.com/fermoya/cocoapods-catalyst-support/> One thing you had mentioned is the version of Cocoapods being used and to install Catalyst support it seems to update Cocoapods and I wonder if that’s causing the incompatibility. Of course the same exact Podfile works on Intel but on M1, event if reverting to an earlier version of the xlsxwriter, a different Cocoapod will trigger and be missing a file so I think it’s an issue with the catalyst support project on the M1 perhaps? I’ll let you know when they get back. > On Jul 26, 2021, at 2:46 PM, John McNamara ***@***.***> wrote: > > > @jkichline <https://github.com/jkichline> any update on this? > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub <https://github.com/jmcnamara/libxlsxwriter/issues/346#issuecomment-886940794>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAC4BSLIV6UXM4PGZXIVS3DTZWUPXANCNFSM5A2WAI3A>. >
Author
Owner

@jmcnamara commented on GitHub (Jul 26, 2021):

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

<!-- gh-comment-id:887069108 --> @jmcnamara commented on GitHub (Jul 26, 2021): Interesting. What is the version number string in the xlsxwriter.h file in your project?
Author
Owner

@jkichline commented on GitHub (Jul 27, 2021):

The version that I have installed right now that does work is 1.0.9. If I pod update to the latest version, that is the one that skips the metadata files and that version is 1.1.1

On Jul 26, 2021, at 6:26 PM, John McNamara @.***> wrote:

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


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/jmcnamara/libxlsxwriter/issues/346#issuecomment-887069108, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC4BSKHCI7VW7WPFZKVQYTTZXOIPANCNFSM5A2WAI3A.

<!-- gh-comment-id:887496777 --> @jkichline commented on GitHub (Jul 27, 2021): The version that I have installed right now that does work is 1.0.9. If I pod update to the latest version, that is the one that skips the metadata files and that version is 1.1.1 > On Jul 26, 2021, at 6:26 PM, John McNamara ***@***.***> wrote: > > > Interesting. What is the version number string in the xlsxwriter.h file in your project? > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub <https://github.com/jmcnamara/libxlsxwriter/issues/346#issuecomment-887069108>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAC4BSKHCI7VW7WPFZKVQYTTZXOIPANCNFSM5A2WAI3A>. >
Author
Owner

@jmcnamara commented on GitHub (Aug 8, 2021):

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.

<!-- gh-comment-id:894851087 --> @jmcnamara commented on GitHub (Aug 8, 2021): 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 in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#279
No description provided.