Found an unexpected Mach-O header code: 0x72613c21 in Xcode 7
解决办法:Podfile中加入⬇️
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
end
end
end
OC项目引入新的Nordic蓝牙芯片DFU模块报Zip以及minizip的一系列奇奇怪怪错误
新版本的蓝牙硬件模组使用旧版SDK时升级崩溃和错误,升级新版本SDK能解决此问题.
OC工程升级新版本SDK时碰到一系列关于Swift的问题,需要改一系列的配置,于是自己制作了一个供OC调用的framework.
解决办法:自制了一个FMSwift
相关地址:https://github.com/GrayLand119/FMSwift
Cocoapods 0.39 使用use_frameworks!时,同时引入CocoaLumberjack和MagicalRecord引发的错误
Undefined symbols for architecture x86_64:"OBJC_CLASS$_DDLog", referenced from:objc-class-ref in MagicalRecord+ErrorHandling.oobjc-class-ref in NSManagedObject+MagicalDataImport.oobjc-class-ref in NSManagedObject+MagicalRecord.oobjc-class-ref in NSManagedObjectContext+MagicalObserving.oobjc-class-ref in NSManagedObjectContext+MagicalRecord.oobjc-class-ref in NSManagedObjectContext+MagicalSaves.oobjc-class-ref in NSObject+MagicalDataImport.o...
解决办法1: 分别使用MR 2.2.0, CocoaLumberjack 2.0.0
MR 2.2.0 with CocoaLumberjack 2.0.0 : Succeeds
MR 2.3.0-beta.5 with CocoaLumberjack 2.0.0 : Fails
MR 2.3.0-beta.6 module-support-branch with CocoaLumberjack 2.0.0 : Fails
解决办法2: 使用一下Pod方式
pod 'MagicalRecord', '~>2.3.0'
pod 'MagicalRecord/CocoaLumberjack'
最近使用CocoaPods遇到了一个问题,每次update的时候都会提示the command path could not be resolved
google了一下,好像是跟CocoaPods的安装路径有关,默认的搜索路径是/usr/bin 可以使用 dirname which pod
命令查看CocoaPods的安装路径,然后将GET_PATH改为:搜索到的路径
react-navi 安装慢解决办法
npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist