[OP-SQlite] Libsql does not support iOS-simulator

未关闭
#2,216 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 11 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
ios

调研方向

使用 op-sqlite 15.1.17、React Native 0.81.6 和 Expo SDK 54 重现该失败,并以 iOS 模拟器为目标。检查负责链接 libsql_experimental 的构建配置,并比较模拟器目标与设备目标。完成标准是 iOS 模拟器构建能够完成,且不再出现缺少 framework 的链接器错误。

由索引模型根据 Issue 内容生成。

描述

Re-creating: https://github.com/OP-Engineering/op-sqlite/issues/388 here.

I think we need a new libsql build for op-sqlite that maybe removes libsql_experimental for libsql as well as allows building for iOS simulator as a target

What happened?

This is what I get:

⚠️  ld: ignoring duplicate libraries: '-lc++'

❌  ld: framework 'libsql_experimental' not found


❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Run script build phase '[CP-User] [Hermes] Replace Hermes for the right configuration, if needed' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'hermes-engine' from project 'Pods')
    Run script build phase 'Remove signature files (Xcode workaround)' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'App' from project 'App')
    Run script build phase '[CP-User] [RNFB] Core Configuration' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'App' from project 'App')
▸ ** BUILD FAILED **
▸ The following build commands failed:
▸ 	Ld /Users/expo/workingdir/build/ios/build/Build/Intermediates.noindex/App.build/Debug-iphonesimulator/Aoo.build/Objects-normal/x86_64/Binary/App.debug.dylib normal x86_64 (in target 'App' from project 'App')

op-sqlite version: 15.1.17

React Native version: 0.81.6

Expo SDK: 54

主要语言
C
星标
17.3k
派生
562
平均合并
10 天 15 小时
30 天内合并 PR
1

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

tursodatabase/libsql 的其他 Issue

查看 tursodatabase/libsql 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。