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

后端 未结 5 1045
长发绾君心
长发绾君心 2021-02-07 21:12

I have Jenkins server for autobuilding iOS project that has two targets. Project builds with command-line utility xcodebuild.

Full commands are

/         


        
相关标签:
5条回答
  • 2021-02-07 21:37

    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)

    0 讨论(0)
  • 2021-02-07 21:40

    I deleted derived data of the project and it resolved the issue

    0 讨论(0)
  • 2021-02-07 21:55

    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.

    0 讨论(0)
  • 2021-02-07 22:00

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

    0 讨论(0)
  • 2021-02-07 22:01

    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"

    0 讨论(0)
提交回复
热议问题