小编Geo*_*lex的帖子

找不到模块“audio_session”

我尝试在带有 M1 芯片的新 Mac 上构建现有的 flutter 项目。\n由于缺少 audio_session 模块,我遇到以下错误。

\n
Launching lib/main.dart on iPhone 12 in debug mode...\nRunning Xcode build...                                                  \n \xe2\x94\x94\xe2\x94\x80Compiling, linking and signing...                        340ms\nXcode build done.                                            4.7s\nFailed to build iOS app\nError output from Xcode build:\n\xe2\x86\xb3\n    objc[7636]: Class AMSupportURLConnectionDelegate is implemented in both ?? (0x1f2fe0188) and ?? (0x117e8c2b8). One of the two will be used. Which one is undefined.\n    objc[7636]: Class AMSupportURLSession is implemented in both ?? (0x1f2fe01d8) and ?? (0x117e8c308). One of the two will be used. Which …
Run Code Online (Sandbox Code Playgroud)

ios flutter apple-m1

17
推荐指数
2
解决办法
1万
查看次数

构建 flutter 项目时架构 x86_64 的未定义符号

我正在尝试从 Xcode 12.4 版为带有 iOS 14.4 的 iPhone 12 模拟器构建一个颤振项目。通过运行从命令行一切正常flutter run

在 Xcode 中,我遇到了以下错误代码。

ld: warning: ignoring file /Users/epsilon/Library/Developer/Xcode/DerivedData/Runner-fukggautraualohaflrpmsjaeyto/Build/Products/Debug-iphonesimulator/Reachability/Reachability.framework/Reachability, building for iOS Simulator-x86_64 but attempting to link with file built for iOS Simulator-arm64
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_Reachability", referenced from:
      objc-class-ref in FLTConnectivityPlugin.o
  "_kReachabilityChangedNotification", referenced from:
      -[FLTConnectivityPlugin onListenWithArguments:eventSink:] in FLTConnectivityPlugin.o
ld: symbol(s) not found for architecture x86_64
Run Code Online (Sandbox Code Playgroud)

我已经按照此处发布的解决方案进行操作:https : //stackoverflow.com/a/63955114/8640235以及同一帖子中的其他人,但没有成功。

后期编辑: 在此处输入图片说明

xcode build ios flutter apple-m1

5
推荐指数
1
解决办法
682
查看次数

strace select 的“左”字段是什么意思?

我正在使用 strace 调查进程的 select 系统调用,并试图弄清楚这left意味着什么。在从 strace 日志中提取的调试行下方找到。

select(13, [6 7 8 11 12], [], NULL, {0, 10000}) = 1 (in [11], **left** {0, 9994})
Run Code Online (Sandbox Code Playgroud)

到目前为止,我在可用文档中没有找到任何内容。

c linux system-calls linux-kernel select-syscall

3
推荐指数
1
解决办法
192
查看次数

标签 统计

apple-m1 ×2

flutter ×2

ios ×2

build ×1

c ×1

linux ×1

linux-kernel ×1

select-syscall ×1

system-calls ×1

xcode ×1