Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

The script measure_cocoapod_size.py is no longer working #16

Open
charlotteliang opened this issue Aug 4, 2020 · 1 comment
Open

The script measure_cocoapod_size.py is no longer working #16

charlotteliang opened this issue Aug 4, 2020 · 1 comment

Comments

@charlotteliang
Copy link

The script measure_cocoapod_size.py seems recently breaks
Reproduce steps:
./measure_cocoapod_size.py --cocoapods FirebaseCore

I got error:
While building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8:
In file included from :1:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: fatal error:
could not build module 'CoreFoundation'
#include <CoreFoundation/CoreFoundation.h>

@jianyaoang
Copy link

I had similar issue in the past using this script as well doesn't seem to work for some pods. And recently I had to measure some other pods and gave this script another shot, seems to be working now. Probably no longer relevant to you (since it's ~2 years ago), but if it still is, I just ran the reproduce steps and worked on my end:

.....
.....
** ARCHIVE SUCCEEDED **
The pods combined add an extra size of 316728 bytes

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

No branches or pull requests

2 participants