嵌入支付宝SDK,出现“LaunchServices: ERROR: There is no registered handler for URL scheme alipay”错误

2023-02-15,,,

应用项目中嵌入支付宝SDK,在模拟器运行app后,会出现“LaunchServices: ERROR: There is no registered handler for URL scheme alipay”,原因是模拟器没有安装支付宝app,SDK默认调用支付宝网页版,但是出错误了,解决的办法是: 这样设置下,
在项目Xcode  Info.plist 里删除 main storyboard file base name 这一行,项目没有使用到 storyboard, 删除这一行不会影响。然后再运行会发现已经可以打开支付宝网页版了。

嵌入支付宝SDK,出现“LaunchServices: ERROR: There is no registered handler for URL scheme alipay”错误的相关教程结束。

《嵌入支付宝SDK,出现“LaunchServices: ERROR: There is no registered handler for URL scheme alipay”错误.doc》

下载本文的Word格式文档,以方便收藏与打印。