-
Notifications
You must be signed in to change notification settings - Fork 49
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
Missing required module 'PINCache' #115
Comments
@chitvan832 do you have the |
Adding |
I'm having this issue and adding (I have control over that module using Giphy, tried setting static_framework to true and false, tried with and without use_frameworks!, no success) Thanks |
hey @dylmye can you please confirm your version of Xcode as well as the GIPHY SDK version? |
Hiya XCode 12.2 12B45b Thank you |
So I made a new react native project with If I use use_modular_headers! I get this instead: Stack trace
Or if I do Stack traceinfo Found Xcode workspace "FOO.xcworkspace" info Building (using "xcodebuild -workspace FOO.xcworkspace -configuration Debug -scheme FOO -destination id=...") ▸ Compiling EnumExtensions.swift ❌ /Users/.../Code/RnTest/FOO/node_modules/@.../react-native-giphy-keyboard/ios/EnumExtensions.swift:2:8: missing required module 'PINCache' import GiphyUISDK ^ ▸ Compiling RNGiphyKeyboard.swift ❌ /Users/.../Code/RnTest/FOO/node_modules/@.../react-native-giphy-keyboard/ios/EnumExtensions.swift:2:8: missing required module 'PINCache' import GiphyUISDK ^ CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'react-native-giphy-keyboard' from project 'Pods') CompileSwift [...] /Users/.../Code/RnTest/FOO/node_modules/@.../react-native-giphy-keyboard/ios/EnumExtensions.swift:2:8: error: missing required module 'PINCache' import GiphyUISDK ^ [...] ** BUILD FAILED ** The following build commands failed: CompileSwift normal x86_64 /Users/.../Code/RnTest/FOO/node_modules/@.../react-native-giphy-keyboard/ios/EnumExtensions.swift CompileSwift normal x86_64 /Users/.../Code/RnTest/FOO/node_modules/@.../react-native-giphy-keyboard/ios/RNGiphyKeyboard.swift CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler CompileSwift normal x86_64 /Users/.../Code/RnTest/FOO/ios/Pods/YogaKit/YogaKit/Source/YGLayoutExtensions.swift If I try to use
let me know if you need any other details |
Using the modular headers flag and this solution fixed the issue for me. |
In Xcode 12.1
![Screenshot 2020-11-03 at 6 01 56 PM](https://user-images.githubusercontent.com/25215903/97985723-aad64580-1dfe-11eb-9829-59fc4a0eb214.png)
After adding:
pod 'Giphy', :podspec => 'https://s3.amazonaws.com/sdk.mobile.giphy.com/SDK/2.0.7/Giphy.podspec'
and installing i am seeing error
Missing required module 'PINCache'
. Please check screenshot.This solution didn't work
#96 (comment)
The text was updated successfully, but these errors were encountered: