Anuj Rajput
Anuj Rajput

Reputation: 844

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

Upvotes: 3

Views: 1134

Answers (2)

Lars Blumberg
Lars Blumberg

Reputation: 21361

Often have the same problem – crashlytics is suggesting to distribute an older version when I just archived a newer version.

I found out that there is a hard to find drop down menu to display all archived versions. Select ARCHIVES item and then distribute the desired version.

enter image description here

Upvotes: 10

Anuj Rajput
Anuj Rajput

Reputation: 844

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.

Upvotes: 0

Related Questions