You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to import multiple versions of a specific framework (Lottie; lottie-ios) in my iOS app. For instance I'm trying to do a workaround by creating a cocoapod library for each version just to expose some wrappers over the dependency framework (Lottie). I tested it in a Example project and it works fine. I am able to run the project and it imports dependency framework (lottie-ios) but also my wrapper library (LOTTIE_3.2.1) correctly.
Problem:
To avoid framework hell I would like to find a way to "embed" each version of lottie-ios framework in my cocoapods wrapper libraries (e.g. my pod LOTTIE_3.2.1 will embed lottie-ios version 3.2.1). For this I tried cocoapods-packager but it refuses to compile. (tried with both Xcode 11.7 and Xcode 12)
ERROR:
<unknown>:0: error: module map file '/var/folders/0s/5l55p26n0xv0gcnvdsk2qnsw0000gn/T/cocoapods-y48kqyis/build/Release-iphoneos/lottie-ios/Lottie.modulemap' not found
<unknown>:0: error: module map file '/var/folders/0s/5l55p26n0xv0gcnvdsk2qnsw0000gn/T/cocoapods-y48kqyis/build/Release-iphoneos/lottie-ios/Lottie.modulemap' not found
<unknown>:0: error: underlying Objective-C module 'LOTTIE_3_2_1' not found
/var/folders/0s/5l55p26n0xv0gcnvdsk2qnsw0000gn/T/cocoapods-y48kqyis/Pods/LOTTIE_3.2.1/LOTTIE_3.2.1/Classes/LottieVersionable.swift:1:8: error: cannot load underlying module for 'Lottie'
import Lottie
^
Environment:
Ruby 2.6.0
Cocoapods-Packager 1.5.0 (master, not the tag/release)
The text was updated successfully, but these errors were encountered:
mariusjcb
changed the title
Embedded Frameworks in Swift/iOS: Cocoapods-Packager dependency ModuleMap generation error:
Embedded Frameworks in Swift/iOS: Cocoapods-Packager dependency ModuleMap generation error
Feb 13, 2021
mariusjcb
changed the title
Embedded Frameworks in Swift/iOS: Cocoapods-Packager dependency ModuleMap generation error
Dependency ModuleMap generation error (.modulemap' not found / underlying Objective-C module not found)
Feb 13, 2021
Context:
I need to import multiple versions of a specific framework (Lottie; lottie-ios) in my iOS app. For instance I'm trying to do a workaround by creating a cocoapod library for each version just to expose some wrappers over the dependency framework (Lottie). I tested it in a Example project and it works fine. I am able to run the project and it imports dependency framework (lottie-ios) but also my wrapper library (LOTTIE_3.2.1) correctly.
Problem:
To avoid framework hell I would like to find a way to "embed" each version of lottie-ios framework in my cocoapods wrapper libraries (e.g. my pod LOTTIE_3.2.1 will embed lottie-ios version 3.2.1). For this I tried cocoapods-packager but it refuses to compile. (tried with both Xcode 11.7 and Xcode 12)
ERROR:
Environment:
Podspec:
LottieVersionable.swift Class:
Command:
bundle exec pod package LOTTIE_3.2.1.podspec
Command Output: terminal-output.log
The text was updated successfully, but these errors were encountered: