当前位置:网站首页>Undefined symbols for architecture i386与第三方编译的静态库有关
Undefined symbols for architecture i386与第三方编译的静态库有关
2022-06-26 08:10:00 【may_he】
好多时候Xcode编译运行程序到模拟器的时候会遇到Undefined symbols for architecture i386的问题,这个问题是由于该项目中存在不支持i386架构的第三方静态库,如果把该静态库重新生成一个通用库(可在i386和armv6、armv7中使用),则该问题可以迎刃而解。
如何生成支持i386架构的静态库?
在静态库项目中,将项目build到iPhone 4.3 Simulator
如何生成支持armv6、armv7架构的静态库?
在静态库项目中,将项目build到IOS Device
如何查看静态库支持哪个架构?
用Terminal输入命令:lipo -info xxx.a (需要cd到该.a文件的目录下)
如何找到.a文件保存路径?
在Xcode中,编译运行后,在product中会有.a文件生成,选中该文件点击鼠标右键“show in Finder”
如何生成通用库?
将生成的两个静态库放到同一目录下,使用命令:lipo -create A.a B.a C.a
C.a为生成的通用库。
那两个静态库也可以不放在同一目录下,在使用命令时要将那两个静态库的存储路径也加上去
边栏推荐
- Win11 open folder Caton solution summary
- Uniapp uses uviewui
- Rewrite string() method in go language
- Comparison version number [leetcode]
- MFC writes a suggested text editor
- JWT in go
- This article will take you to learn in detail what is FTTH
- 1002: easy to remember phone number
- Getdrawingcache of view is empty. Solution: interview questions for Android audio and video development
- Database learning notes I
猜你喜欢
![[NLP] vector retrieval model landing: Bottleneck and solution!](/img/c4/784534e5504dfee1c989d19255c31b.jpg)
[NLP] vector retrieval model landing: Bottleneck and solution!

Color code

Test method - decision table learning
![[postgraduate entrance examination: planning group] clarify the relationship among memory, main memory, CPU, etc](/img/c2/d1432ab6021ee9da310103cc42beb3.jpg)
[postgraduate entrance examination: planning group] clarify the relationship among memory, main memory, CPU, etc

Can the warehouse management system help enterprises reduce storage costs

Power apps application practice | easily develop employee leave attendance management applet with power apps

Opencv mouse event + interface interaction drawing rectangle polygon selection ROI

JS Date object

Deeply analyze storage costs and find cost reduction solutions

QT之一个UI里边多界面切换
随机推荐
buuresevewp
What is the five levels of cultivation of MES management system
ASP. Net and Net framework and C #
4 best practices for wireless (OTA) updates
Jz-063- median in data stream
Technology sharing | mysql:caching_ sha2_ Password quick Q & A
Oracle 19C download installation steps
Seven important reasons for responsive Web Design
ReW_ p
JS precompile - Variable - scope - closure
Color code
Project management learning
I want to create SQL data (storage structure)
D do not assign references to non domain parameters
[UVM practice] Chapter 2: a simple UVM verification platform (3) add various components to the verification platform
[UVM practice] Chapter 2: a simple UVM verification platform (5) build test cases
手机开户哪个证券公司佣金最低?网上开户是否安全么?
我想造SQL数据(存储结构)
OSPF design principles, commands take H3C as an example
Solve the problem that pychar's terminal cannot enter the venv environment