I am currently trying to run my app in release mode on my iOS device and every time the app starts up, it only displays a white screen.
In the device logs I see this when the app is first launched:
Error loading metadata for com.outlit.app: Error Domain=ASDErrorDomain Code=513 "Loading failed for '/private/var/containers/Bundle/Application/6C87729B-A97F-4D3E-BA9F-ADEADF6BD28A'" UserInfo={NSDebugDescription=Loading failed for '/private/var/containers/Bundle/Application/6C87729B-A97F-4D3E-BA9F-ADEADF6BD28A', NSUnderlyingError=0x100e11a30 {Error Domain=MIInstallerErrorDomain Code=78 "Failed to read iTunesMetadata.plist from /private/var/containers/Bundle/Application/6C87729B-A97F-4D3E-BA9F-ADEADF6BD28A/iTunesMetadata.plist" UserInfo={NSLocalizedDescription=Failed to read iTunesMetadata.plist from /private/var/containers/Bundle/Application/6C87729B-A97F-4D3E-BA9F-ADEADF6BD28A/iTunesMetadata.plist, LegacyErrorString=InvalidiTunesMetadataPlist, FunctionName=+[MIStoreMetadata metadataFromPlistAtURL:error:], SourceFileLine=650, NSUnderlyingError=0x100e11960 {Error Domain=NSCocoaErrorDomain Code=260 "The file “iTunesMetadata.plist” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/private/var/con
I have no idea what the issue is so so any advice would be much appreciated!
Here are the errors that directly follow the first error above:
AMSURLProtocolHandler: [SKUT:S:L/com.outlit.app/5568AC2C] Failed to add cookies for response. error = (null)
AMSURLSession: [AA515F2D] Session decoder failed. Result = (null); Error = Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://sandbox.itunes.apple.com/commerce/messages/app/inbox?bundleId=com.outlit.app&guid=00008110-000C3D890243801E, AMSStatusCode=412, NSLocalizedDescription=Invalid Status Code}
AMSURLSession: [AA515F2D] Task completed with error = Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://sandbox.itunes.apple.com/commerce/messages/app/inbox?bundleId=com.outlit.app&guid=00008110-000C3D890243801E, AMSStatusCode=412, NSLocalizedDescription=Invalid Status Code}
Error in messages response: Error Domain=AMSErrorDomain Code=301 "Invalid Status Code" UserInfo={NSLocalizedFailureReason=The response has an invalid status code, AMSURL=https://sandbox.itunes.apple.com/commerce/messages/app/inbox?bundleId=com.outlit.app&guid=00008110-000C3D890243801E, AMSStatusCode=412, NSLocalizedDescription=Invalid Status Code}
_ProtocolHandler: [SKUT:S:L/com.outlit.app/5568AC2C] Failed to add cookies for response. error = (null)