Xcode 10 command-line building: Archive failed with Fabric Info.plist Error

*爱你&永不变心* 提交于 2019-12-03 13:40:17

Okay, I got the solution form Fabrics. For Xcode 10, add this path to the Input Files in Build phase in XCode $(BUILT_PRODUCTS_DIR)/$(INFOPLIST_PATH)

I found crutch-like solution: select Legacy Build System at File -> Workspace Settings -> Build System in Xcode GUI.

Why this solution is bad? Because of:

  • Legacy Build System is slower than New Build System (Default).

  • It's not Xcode setting but workspace. I.e. after cleaning workspace folder in Jenkins or some version control system actions will reset this setting to default, and non-working option will select again.

Bhavik Modi

Solution to complete the setup of Crashlytics and/or Fabric using following:

  1. Go to Build Settings
  2. Search "Debug Information Format"
  3. Change value of "Debug" from "DWARF" to "DWARF with dSYM File"
  4. Build your project again.

Change "DWARF"

To "DWARF with dSYM File"

I moved "Run Script" with crashlytics to the end after "Embed pods Frameworks" and "Copy pods Resources" and that helped

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!