惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Heimdal Security Blog
A
Arctic Wolf
K
Kaspersky official blog
V
Vulnerabilities – Threatpost
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Simon Willison's Weblog
Simon Willison's Weblog
L
LINUX DO - 热门话题
MongoDB | Blog
MongoDB | Blog
T
Threat Research - Cisco Blogs
D
Docker
爱范儿
爱范儿
T
Tenable Blog
C
Check Point Blog
B
Blog
C
Cisco Blogs
Vercel News
Vercel News
The Cloudflare Blog
T
Threatpost
NISL@THU
NISL@THU
T
Tor Project blog
V2EX - 技术
V2EX - 技术
P
Palo Alto Networks Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
T
Tailwind CSS Blog
G
GRAHAM CLULEY
P
Privacy & Cybersecurity Law Blog
SecWiki News
SecWiki News
博客园 - 司徒正美
S
Security @ Cisco Blogs
GbyAI
GbyAI
S
Secure Thoughts
Microsoft Security Blog
Microsoft Security Blog
The Register - Security
The Register - Security
Recorded Future
Recorded Future
Cloudbric
Cloudbric
Webroot Blog
Webroot Blog
N
News and Events Feed by Topic
Y
Y Combinator Blog
博客园_首页
T
Troy Hunt's Blog
The Hacker News
The Hacker News
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
U
Unit 42
AWS News Blog
AWS News Blog
PCI Perspectives
PCI Perspectives
V
Visual Studio Blog
博客园 - 聂微东
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell

Xcode

Xcode 切换正式的开发者账号后,提示 Bundle Identifier 已被注册,如何解决? - V2EX xcode 登录 claude agent 时要关掉 surge 代理 Xcode 26.3 RC 终于支持 Agent 了,大家怎么看 - V2EX XCode 一致无法和 手机连接 - V2EX 苦于 Xcode 不支持国内大模型,所以我做了个 AIProxy for Xcode 来支持 - V2EX 求助关于 xcode 调试 - V2EX 把阿里百炼的 qwen3-code-plus 接入 xcode26 自定义模型,但是提问会报错 - V2EX Xcode 26 内置了免费 ChatGPT,还可以添加第三方模型,意思我可以加 Sonnet?本地 Ollama 应该没啥问题 - V2EX Xcode 26 在 macOS 26 才可用 AI 功能,国行设备也可添加第三方提供商使用 - V2EX 要升级 Xcode16 了,大佬们有遇到什么坑吗? - V2EX 来救救我的 Xcode 吧 - V2EX 2025 年了吐槽一下 Xcode 的优化真的是一坨! - V2EX 有人试过同时安装 Xcode 15 和 16 么?会有什么坑么? - V2EX 有 iOS 开发不?你们 Xcode 编译的时候会影响网速不? - V2EX Xcode 编译项目为什么一定要依赖模拟器? - V2EX xcode 里用 apple id 签名的 app 安装到自己手机只能使用 1 天多 - V2EX Xcode 能远程编译并调试吗?有一个大胆的想法... - V2EX xcode15.2 在 macOS 13 的老电脑上运行 app 时,要我升级系统,可老系统无法升级到最新的,怎么办? - V2EX xcode 更新需要更新两次? - V2EX Xcode 没有运行程序只是没有杀死却疯狂吃 CPU (diagnosticd) - V2EX 升级 Xcode 15 后真机联调时启动和进入断点巨慢,大家有遇到吗? - V2EX xcode 为啥无法打开文件夹? - V2EX 请教一个 Sparkle 2 的 appcast.xml 问题 - V2EX 让 Xcode 见鬼去 - V2EX xcode 无法连接到真机 - V2EX xcode 怎么快速将快捷键映射成 vs code 同款? - V2EX Xcode 14 / 15 Could not attach to pid: attach failed - V2EX 上传 App 到 App Store 出现 ITMS-90961 错误提示,求解决方法 - V2EX 程序员用的时间 tracking 工具 WakaTime 通过一种新的方式支持了 Xcode - V2EX 有没有什么 Xcode 的插件工具之类的可以改善 Xcode 的编程体验 - V2EX 请教一下, xcode 如何让 option+delete 表现的像 vscode 一样 - V2EX Xcode 14 中模拟器导致的异常发热和电池问题 - V2EX 求 xcode package 依赖正确下载姿势,拉取 aws-sdk- Swift 两个多小时了 - V2EX 🙋CRUD 入门: 是所有语言都这样还是 xcode 的 Vapor 不行? - V2EX 2022 年, Swift 开发用 Xcode 还是 AppCode - V2EX Xcode 个人账号配置文件 7 天有效期刷新问题? - V2EX xcode 分发 ios 应用,上传时报 Invalid Provisioning Profile Signature(90165) - V2EX 发现一个下载 Xcode 的工具--- xcodes - V2EX Xcode 就是毒瘤,是内存杀手,是硬盘杀手 - V2EX 请问,有没有云端 xcode 编译环境 - V2EX V2EX 为什么 Xcode 要自动连接 Apple Watch,好多次调试的时候都要把 watch 关机,然后重启 Xcode 。。。 - V2EX 分享一下怎么在 Monterey 上使用 Xcode 12.5 - V2EX 请问 iOS 的 DeviceToken 和 UUID 的变化时机一致么? - V2EX macOS Monterey12.0.1 xcode 13.1 Simulator 打不开,卡死, 有一样的吗? - V2EX M1 MacBook Pro, Xcode 启动时必须得卡一下,请问有解决方法么 - V2EX 如何在存储空间不足的情况下安装 Xcode - V2EX 试了下 Xcode 13 Beta 3 vim mode,终于加上了 r 和 V - V2EX Xcode 安装不上怎么办? - V2EX Xcode 13 adds Vim mode
Xcode15 build 开源项目 Mattermost 报'openssl/opensslv.h' file not found 错误,求解决方法,谢谢 - V2EX
recordnow · 2024-03-28 · via Xcode

最近工作中有用到 Mattermost 这款开源的 IM ,想本机跑一下这个项目,结果在 Xcode build 项目的 ios 部分时,报错:Flipper-Folly/folly/portability/OpenSSL.h:26:10 'openssl/opensslv.h' file not found ,请问下大家如何解决这个问题,谢谢大家,这个问题困扰好多天

环境配置,严格按照项目所需的版本进行安装:

Mac OS: Ventura 13.6.6

Xcode: 15.2 (15C500b)

Watchan: 2024.03.25.00

CocoaPods: 1.14.3

nvm: 0.39.7

node: 18.17.1

npm: 9.6.7

rvm: 1.29.12

ruby: 3.0.6p216

gem: 3.2.33

Openssl: [email protected] / openssl@3 ,系统默认使用的 openssl@3

从 GitHub 下载最新的 Mattermost-mobile 工程到本机, 进入 mattermost-mobile-main ,执行 npm install 后,输出内容摘抄部分如下:

./scripts/preinstall.sh && npx solidarity

✔︎ Solidarity checks valid

[email protected] pod-install

cd ios && pod install

Downloading dependencies

Generating Pods project

Setting REACT_NATIVE build settings

Setting CLANG_CXX_LANGUAGE_STANDARD to c++17 on mattermost/mattermost-mobile-main/ios/Mattermost.xcodeproj

Pod install took 25 [s] to run

Patching Alamofire to include X-Uncompressed-Content-Length to measure download progress

Integrating client project

Pod installation complete! There are 108 dependencies from the Podfile and 109 total pods installed.

Configuring Compass Icons font

Generating app assets

[email protected] prepare

husky install

fatal: not a git repository (or any of the parent directories): .git husky - git command not found, skipping install

added 1739 packages, and audited 1740 packages in 14m

在 Xcode 中打开 mattermost-mobile-main/ios ,并在 targets 下的 Mattermost —Signing&Capabilities 中配置了开发者账号和 Bundle Identifier 和 App Groups 等信息,然后 build 项目,报错:

mattermost-mobile-main/ios/Pods/Flipper-Folly/folly/portability/OpenSSL.h:26:10 'openssl/opensslv.h' file not found ,

就是 Fipper-Folly 在 mattermost-mobile-main/ios/Pods/Flipper-Folly/folly/io/async/ssl/SSLErrors.cpp 中引入了#include <folly/portability/OpenSSL.h>,

OpenSSL.h 中进一步 #include <openssl/opensslv.h>,然后没有找到 openssl/opensslv.h 而报错。

项目里 pod 'OpenSSL-Universal',应该是能解决引用 openssl 头的问题,OpenSSL-Universal 要求在 Xcode 中使用开发者签名证书进行签名(完成了这个配置),或者启用 Disable Library Validation 权限(在 Xcode15 里找不到这个配置)

我也试过在 Fipper-Folly 这个 pod 中的 Header Search Paths 配置了"$(PODS_ROOT)/OpenSSL-Universal",也并没有用

大家的项目在 Xcode 中对于使用了 openssl 是如何解决 include openssl 找不到头文件问题的,麻烦指点下,谢谢大家