简体   繁体   English

Flutter ios 构建失败 Pods-Runner-frameworks.sh

[英]Flutter ios build fails Pods-Runner-frameworks.sh

I'm trying to build a flutter app for ios.我正在尝试为 ios 构建一个 flutter 应用程序。 The simulator runs fine, but I cannot build to test on a phone.模拟器运行良好,但我无法在手机上进行测试。

The problem occurs when I try to install url_launcher, without it everything works fine.当我尝试安装 url_launcher 时出现问题,没有它一切正常。 I already tried reinstalling the pods, creating a project from scratch, but nothing seems to work.我已经尝试重新安装 pod,从头开始创建一个项目,但似乎没有任何效果。 I also tried switching back to the legacy build system of Xcode, but still nothing我还尝试切换回 Xcode 的旧版构建系统,但仍然没有

this is the error code这是错误代码

Stripped /Users/matteo/Library/Developer/Xcode/DerivedData/Runner-fagvhlbapfiuygdkuldipojcrkxy/Build/Products/Debug-iphoneos/Eat o'clock.app/Frameworks/Flutter.framework/Flutter of architectures: x86_64 armv7
Code Signing /Users/matteo/Library/Developer/Xcode/DerivedData/Runner-fagvhlbapfiuygdkuldipojcrkxy/Build/Products/Debug-iphoneos/Eat o'clock.app/Frameworks/Flutter.framework with Identity Apple Development: mgassend@gmail.com (WYPNXJUKW6)
/usr/bin/codesign --force --sign A2192773669C062BD98ECAE7CEB4F7FF42D3B25C  --preserve-metadata=identifier,entitlements '/Users/matteo/Library/Developer/Xcode/DerivedData/Runner-fagvhlbapfiuygdkuldipojcrkxy/Build/Products/Debug-iphoneos/Eat o'clock.app/Frameworks/Flutter.framework'
/Users/matteo/foodfighter/mobile3/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh: eval: line 131: unexpected EOF while looking for matching `''

Have any of you ever experienced something like this?你们有没有人经历过这样的事情?

The problem, I found out, was due to the app's name (Eat o'clock).我发现问题出在应用程序的名称(Eat o'clock)上。 Since the command is a string that uses ' ' as separators for a variable at the end of the script, this was causing an error.由于该命令是一个字符串,它在脚本末尾使用 ' ' 作为变量的分隔符,这会导致错误。 Hope this can help someone in my same situation希望这可以帮助我遇到同样情况的人

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法使用 `Pods-Runner/Pods-Runner-frameworks.sh: Permission denied` 错误构建 Flutter - Failed to build Flutter with `Pods-Runner/Pods-Runner-frameworks.sh: Permission denied` error Flutter:目标支持文件/Pods-Runner/Pods-Runner-frameworks.sh:权限被拒绝 - Flutter: Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh: Permission denied Flutter iOS 构建问题:l[:] “Pods-Runner”目标具有传递依赖关系,包括静态链接的二进制文件: - Flutter iOS Build Issue : l[!] The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: Flutter IOS 找不到“Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig” - Flutter IOS cant find ‘Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig’ Flutter:iOS 构建失败 - Flutter: iOS build fails Flutter iOS 构建失败并在 ios/Runner/AppDelegate.swift 中出现多个错误 - Flutter iOS build fails with multiple errors in ios/Runner/AppDelegate.swift Xcode 12.4 为模拟器和设备构建,但使用 Pods-MYAPP-frameworks.sh 归档失败:第 131 行:ARCHS [@]:未绑定变量 - Xcode 12.4 Builds for Simulator and Device but Archiving Fails with Pods-MYAPP-frameworks.sh: line 131: ARCHS[@]: unbound variable “Pods-Runner”目标具有传递依赖关系,包括静态链接的二进制文件:(…/ios/Flutter/Flutter.framework) - The 'Pods-Runner' target has transitive dependencies that include statically linked binaries: (…/ios/Flutter/Flutter.framework) TeamCity iOS构建失败,并显示“无法启动构建运行器” - TeamCity iOS build fails with “Cannot start build runner” Flutter iOS 构建随机失败 - Flutter iOS build fails randomly
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM