34743

How to thoroughly test a release build? [duplicate]

Question:

This question already has an answer here:

<ul><li> <a href="/questions/14977624/how-to-debug-a-crashing-release-build" dir="ltr" rel="nofollow">How to debug a crashing release build? [duplicate]</a> <span class="question-originals-answer-count"> 2 answers </span> </li> </ul>

I constantly encounter this problem:

1) I test my app thoroughly on many devices. Use Analyze and Instruments. No crashes. All fine.

2) Submit it to the App Store. App creashes all the time.

I realize the "release build" is something a little bit different than the "debug build". But how can I test a release build on my device that is built exactly the way it will appear on the App Store, technically?

Answer1:

I recommend you to use TestFlight (<a href="https://testflightapp.com/" rel="nofollow">https://testflightapp.com/</a>), I have been working with it recently and it is a great way to test your Apps before going public.

You would be using the final IPA file, so won't be any difference with the build you would submit to the AppStore... Also, you could invite other people and they could download and install your App over the air, and even more, you have remote logs about crashes...

Hope it helps you.

Answer2:

You can of course also <strong>archive your build</strong> (set the scheme to <em>iOS Device</em>, then choose <em>Product -> Archive</em>) to an IPA, sign it with your <em>Ad-Hoc distribution profile</em>, and <strong>install it on your device</strong> by dragging the IPA file onto your device in the Xcode Organizer.

When your Archive scheme is set to build in RELEASE mode, this is as close as you can get to test your final app without going to the App Store.

Testflight is doing the same thing, as you have to upload the same IPA to their website, so if you do not need to involve more people you can just do it local this way.

Answer3:

You can set your testing Scheme (under the Project menu) to build and run a release build. Or you can install an Ad Hoc build using iTunes if you want to test exactly the same install method as the reviewer.

Recommend

  • App Store Connect TestFlight showing no builds
  • Xcode beta 7.3 submission to iTunes Connect for TestFlight
  • How can we distribute iOS build using Enterprise Account?
  • Can't assign External Testers to new build after expiring the previous one
  • Converting letters using a dictionary
  • Can some data be separated in a Tcp connection?
  • How can I validate a date including “00:07 PM” in JavaScript?
  • Why is this jQuery reference '$(“”)' instead of '$(“”)'?
  • How to best manage SMTP clients
  • Swift iOS don't recognize GCM library imports?
  • WARNING:root:Some characters could not be decoded, and were replaced with REPLACEMENT CHARACTER. Wit
  • Save image as is in photo album using swift
  • MVC - @Html.CheckBoxFor
  • jquery validation - waiting for remote check to complete
  • Flask not finding files in my package's 'static' directory
  • How to access meteor package name inside package?
  • How Get arguments value using inline assembly in C without Glibc?
  • Who propagate bugfixes across branches (corporate development)?
  • How do I display a dialog that asks the user multi-choice questıon using tkInter?
  • Debugging VB6 Code From Visual Studio 2010
  • Declaring variable dynamically in VB.net
  • Allowing both email and username for authentication
  • Get one-time binding to work for ng-if
  • Exchange data b/w iOS devices using Bluetooth 4.0
  • Retrieving value from sql ExecuteScalar()
  • RectangularRangeIndicator format like triangular using dojo
  • Sony Xperia Z Tablet not found by adb
  • Cross-Platform Protobuf Serialization
  • Does CUDA 5 support STL or THRUST inside the device code?
  • Can I make an Android app that runs a web view in Chrome 39?
  • How do you troubleshoot character encoding problems?
  • Revoking OAuth Access Token Results in 404 Not Found
  • Proper folder structure for lots of source files
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • How can I remove ASP.NET Designer.cs files?
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • Django query for large number of relationships
  • Net Present Value in Excel for Grouped Recurring CF
  • playing video using jmf