@@ -83,24 +83,26 @@ struct FrameworkBuilder {
83
83
cacheEnabled: Bool = false ) -> ( framework: URL , resources: URL ) {
84
84
print ( " Building \( podName) " )
85
85
86
+ // Cache is temporarily disabled due to pod cache list issues.
86
87
// Get the CocoaPods cache to see if we can pull from any frameworks already built.
87
- let podsCache = CocoaPodUtils . listPodCache ( inDir: projectDir)
88
-
89
- guard let cachedVersions = podsCache [ podName] else {
90
- fatalError ( " Cannot find a pod cache for framework \( podName) . " )
91
- }
92
-
93
- guard let podInfo = cachedVersions [ version] else {
94
- fatalError ( """
95
- Cannot find a pod cache for framework \( podName) at version \( version) .
96
- Something could be wrong with your CocoaPods cache - try running the following:
97
-
98
- pod cache clean ' \( podName) ' --all
99
- """ )
100
- }
101
-
102
- // TODO: Figure out if we need the MD5 at all.
103
- let md5 = Shell . calculateMD5 ( for: podInfo. installedLocation)
88
+ // let podsCache = CocoaPodUtils.listPodCache(inDir: projectDir)
89
+ //
90
+ // guard let cachedVersions = podsCache[podName] else {
91
+ // fatalError("Cannot find a pod cache for framework \(podName).")
92
+ // }
93
+ //
94
+ // guard let podInfo = cachedVersions[version] else {
95
+ // fatalError("""
96
+ // Cannot find a pod cache for framework \(podName) at version \(version).
97
+ // Something could be wrong with your CocoaPods cache - try running the following:
98
+ //
99
+ // pod cache clean '\(podName)' --all
100
+ // """)
101
+ // }
102
+ //
103
+ // // TODO: Figure out if we need the MD5 at all.
104
+ let md5 = podName
105
+ // let md5 = Shell.calculateMD5(for: podInfo.installedLocation)
104
106
105
107
// Get (or create) the cache directory for storing built frameworks.
106
108
let fileManager = FileManager . default
0 commit comments