Fabric 安装失败
Fabric fails to install
我正在尝试将 Fabric
添加到我的项目中,该项目使用 CocoaPods
和 Carthage
。我做了什么:
- 在
Fabric
应用中,我创建了一个新应用
- 在项目中,我创建了名为 'Fabric' 的新 运行 脚本,从
Fabric
应用程序复制了代码(该脚本是我项目中的最后一个脚本!)
- 由于找不到框架文件,我已将正确的路径添加到
Framework Search Paths
。
- 我还在我的项目
Link Binary with Libraries
阶段添加了 Fabric
框架。
该项目仍未生成。错误:
2015-07-14 10:51:30.161 run[46263:967908] Fabric.framework/run 1.3.16
2015-07-14 10:51:30.169 run[46263:967908]
Fabric: dSYM Error
Unable to process MyApp.app.dSYM at path
/Users/me/Library/Developer/Xcode/DerivedData/MyApp-gmgvycoixcnkriauasdffkzvdg/Build/Products/Debug-iphonesimulator/MyApp.app.dSYM
Make sure your project build settings are generating a dSYM file.
DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations.
This could also be a timing issue, make sure the Fabric run script build phase
is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it.
Command /bin/sh failed with exit code 1
怎么了..?如何解决?
知道了。将框架移动到不同的文件夹时,我忘记更改 运行 脚本:
./Fabric.framework/run ...
至:
./Frameworks/Fabric.framework/run ...
现在一切正常。
我正在尝试将 Fabric
添加到我的项目中,该项目使用 CocoaPods
和 Carthage
。我做了什么:
- 在
Fabric
应用中,我创建了一个新应用 - 在项目中,我创建了名为 'Fabric' 的新 运行 脚本,从
Fabric
应用程序复制了代码(该脚本是我项目中的最后一个脚本!) - 由于找不到框架文件,我已将正确的路径添加到
Framework Search Paths
。 - 我还在我的项目
Link Binary with Libraries
阶段添加了Fabric
框架。
该项目仍未生成。错误:
2015-07-14 10:51:30.161 run[46263:967908] Fabric.framework/run 1.3.16
2015-07-14 10:51:30.169 run[46263:967908]
Fabric: dSYM Error
Unable to process MyApp.app.dSYM at path
/Users/me/Library/Developer/Xcode/DerivedData/MyApp-gmgvycoixcnkriauasdffkzvdg/Build/Products/Debug-iphonesimulator/MyApp.app.dSYM
Make sure your project build settings are generating a dSYM file.
DEBUG_INFORMATION_FORMAT should be set to dwarf-with-dsym for all configurations.
This could also be a timing issue, make sure the Fabric run script build phase
is the last build phase and no other scripts have moved the dSYM from the location Xcode generated it.
Command /bin/sh failed with exit code 1
怎么了..?如何解决?
知道了。将框架移动到不同的文件夹时,我忘记更改 运行 脚本:
./Fabric.framework/run ...
至:
./Frameworks/Fabric.framework/run ...
现在一切正常。