Anuj Rajput Anuj Rajput - 1 year ago 145
iOS Question

Fabric Crashlytics Beta keeps asking to distribute old build

I am trying to distribute an app to my Beta Testers using Fabric and whenever I try to archive the build it keeps asking me to distribute older build [1.5.2 (8.0)] whenever I archive a new build the build.

I want to distribute 1.6 (31) and not 1.5.2 (8.0)

Here is a screenshot of my Xcode Organizer

enter image description here
enter image description here

Answer Source

The following answers from this thread helped me resolve this issue

Answer 1

If you're using CocoaPods as well as WatchKit or a Today Extension, there is an open issue on the CocoaPods repo explaining what your problem might be.

The solution for me was to remove the Copy Pod Resources phase from the WatchKit Extension and Today Extension targets under Build Phases. The project compiled and archived as expected once I did this.

Hope this helps someone, this had me stumped for an entire day!

Answer 2

If you export the archive, open it and see /urs/local/include in Products try this suggestion:

In each pod, under Packaging, Private Headers Folder Path and Public Headers Folder Path is set to /usr/local/include. If I clear them then I get a valid archive.

enter image description here

Worked for me after upgrading my React Native app to 0.11.0, Xcode 7 and CocoaPods 0.39.0.beta.4.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download