Comments (6)
This pod is not using use_frameworks
flag so you need to add #import <Pingpp.h>
to your aplication's bridging header.
from pingpp-ios.
I installed the SDK using Pod successfully.
I've imported the Pingpp in my bridging header like this:
#import <MBProgressHUD/MBProgressHUD.h>
#import <WebViewJavascriptBridge/WebViewJavascriptBridge.h>
#import <Pingpp/Pingpp.h>
But it's not work. I'm new in iOS and Swift. I cannot figure out what is wrong.
Hope for help, thank you~
from pingpp-ios.
@lawrenceching could you show how your Podfile looks like?
from pingpp-ios.
Yes of cause.
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
target 'PingxxDemo' do
pod 'SwiftyJSON', :git => 'https://github.com/SwiftyJSON/SwiftyJSON.git'
pod 'Alamofire', '~> 3.0'
pod 'Kingfisher', '~> 2.0'
pod 'TSMessages', :git => 'https://github.com/KrauseFx/TSMessages.git'
pod 'MBProgressHUD', '~> 0.9.2'
pod 'WebViewJavascriptBridge', '~> 5.0'
pod 'Pingpp', '~> 2.2.0'
end
target 'PingxxDemoTests' do
end
target 'PingxxDemoUITests' do
end
I import the SDK in my view controller swift file
import Pingpp
Xcode shows up the "No such module" message.
from pingpp-ios.
@lawrenceching you don't need to explicitly import it in swift files. You have already done so in bridging header. Remove the import Pingpp
from swift file and just use Pingpp (e.g. try Pingpp.setDebugMode(true)
) to see if it resolves the class.
from pingpp-ios.
Thanks a lot! You make my day!
from pingpp-ios.
Related Issues (20)
- 微信支付完成后,不能回到APP HOT 7
- "_OBJC_CLASS_$_AlipaySDK", referenced from: HOT 3
- 请问,我们app里面使用的是H5的微信支付,是否需要适配Universal Links吗? HOT 1
- pingpp SDK 需要更新一下版本 提交到App Store 显示项目中带UIWebView HOT 3
- 2.29版本也是需要iOS 适配10.0及以上吗? HOT 2
- 在 private pod 中无法 import
- Universal link 微信回调和pingpp回调冲突问题 HOT 1
- uuu
- lib WX folder missing?
- applePay
- alipaysdk 和 pingpp内部的sdk冲突,有什么解决办法 HOT 1
- 微信支付没有正确回调,已经设置了不同的urlScheme为啥还会回调到原来的应用 HOT 3
- pingpp+one.h not found HOT 1
- 广告版在成功页面的完成那边点击没有反应
- iOS 支付调转支付宝web页后点击返回后web页没有销毁,造成app 野指针崩溃 HOT 7
- pingpp v2.2.22 奔溃问题 HOT 3
- Xcode10上引入pingpp库失败 HOT 8
- pod 根本下载不下来啊 HOT 1
- pod install在install PingppAlipaySDK 时会返回403 HOT 2
- UIWebView 将被废弃,需要更新 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pingpp-ios.