- IOS打包出现 Found an unexpected Mach
- ios开发 - Found an unexpected Mach
- Found an unexpected Mach-O heade
- react-native 集成了友盟分享后打包上架报错:Foun
- Found an unexpected Mach-O heade
- iOS开发-解决Found an unexpected Mach
- iOS打包出现 Found an unexpected Mach
- iOS 打包 "Found an unexpected Mach
- Found an unexpected Mach-O heade
- IOS开发偏门小问题记录
今天用cocoapods新增了个第三方库
模拟器运行时报错:Found an unexpected Mach-O header code: 0x72613c21

解决方法:在TARGETS → Build Settings 下搜索Mach
找到 Mach-O Type
将 Static Library修改成Executable
重新跑就可以了

原因:添加了一个外部静态库,需要设置为Executable
网友评论