小编Aur*_*510的帖子

Swift cocoa pods 问题:'/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi_c.bundle'(mach-o 文件,但是一个不兼容的架构......'

有没有办法将 Amazon Polly 实施到 Swift 中?

\n

我遵循了 Amazon Polly 提供的 iOS 示例:https://docs.aws.amazon.com/polly/latest/dg/examples-ios.html

\n

问题是:我在尝试安装 pod 文件时收到错误。

\n

我的 pod 文件如下所示:

\n
platform :ios, \'15.0\'\nuse_frameworks!\n\ntarget \'PollySample\' do\n  pod \'AWSMobileClient\'\n  pod \'AWSPolly\'\nend\n
Run Code Online (Sandbox Code Playgroud)\n

当我执行 pod install 时,收到以下错误:

\n
Analyzing dependencies\n\n\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95 MARKDOWN TEMPLATE \xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\xe2\x80\x95\n\n### Command\n\n/usr/local/bin/pod install\n\n### Report\n\n* What did you do?\n\n* What did you expect to happen?\n\n* What happened instead?\n\n\n### Stack\n\n   CocoaPods : 1.11.3\n        Ruby : ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]\n    RubyGems : 3.0.3.1\n        Host : macOS 12.2.1 (21D62)\n       Xcode …
Run Code Online (Sandbox Code Playgroud)

cocoapods swift amazon-polly

4
推荐指数
1
解决办法
9933
查看次数

标签 统计

amazon-polly ×1

cocoapods ×1

swift ×1