Post not yet marked as solved
I have a weird problem with my app. I needed to update the metadata on App Store connect and uploaded a new build to App Store. The only thing that was changed in code is two strings with version number. Everything else is exactly the same as a version that is live on the App Store (which works fine). I got a rejection with 2.1.0 Performance: App Completeness reason, turned out my app crashes on launch on reviewers device. I thought that this maybe a one time problem and tried to upload a new build with same results. Attached crash report.
crash report
Looks like Facebook SDK(?) crashing the app? And what is about Realm?
The problem is I can't reproduce the crash anywhere. Simulator or 5 real devices including same phone model as in crash log. Tried different combinations of Debug/Release, setting Exception Breakpoints without any luck.
Will be really thankful for any insight on how to approach this problem or what is going on here. Thank you very much!
Post not yet marked as solved
Hello,
I'm a Flutter developer and I'm trying to deploy my first IOS app (I don't know anything about the Apple world).
I managed to submit the app on the appstore via codeMagic, but I couldn't test it before not having an iPhone or a mac!
Apple sent me 2 crashlogs telling me that they tried to launch the app, but it crashed.
I understood that I had to symbolic logs to get more info, but I'm reaching the limits of what I can do with the CodeMagic VM (20mn sessions, and I don't know anything about macOS...)
I tried symbolizing with macSymbolicator but it doesn't work, it says it doesn't understand crashlogs (unknown format)
Could someone do it for me please and tell me what crashes??
I can provide the artifacts and the 2 crashlogs from Apple
Thank you in advance !
Sebastian, Nantes
Post not yet marked as solved
Our problems started on the 7/15 like many others but we are getting a new error now which we don't understand.
"App record request failed with error: 'AppsService:
Unwrap error: 'Unexpected nil property at path:
'App/597282476/attributes/bundleId''"
We've tried logging out of xcode and back in and many other things.
Is anyone else seeing this?
Does anyone have any suggestion?
Thanks
Post not yet marked as solved
Hello,
I'm finding that the Xcode organizer metrics window isn't showing data for my last three releases. One of those was this week, so that may be expected, but the other two were in late May and early June so I'd expect them to have data by now.
As a related note, even on previous releases I see very sparse information for hang rate so it's hard to see trends.
Is there something we need to be doing to get this data to populate? How much usage is required for data to show in metrics section of the Xcode organizer?
Post not yet marked as solved
Good afternoon
Previously, every release I got MetricKit data in xCode Organizer, but now the latest metric was 11 months ago 08/04/2021 (07/12/2022 at the time the question was created).
However, I continue to receive crash reports in xCode Organizer.
I didn't find any guides or troubleshooting about getting metrics.
Are there any conditions for the metrics to work?
Thanks
Post not yet marked as solved
Hello,
I get a lot of crashlogs in the Xcode organizer on iOS 15 all related to dyld. Does anybody has the same issue or any idea what could be the problem? Attached is the Crashlog.
Following error is shown:
Demo-2022-07-08-161436.ips
Today I'm getting this error when trying to distribute/validate my app:
Every tentative fails
Is anyone experiencing that?
I checked https://developer.apple.com/system-status/
All green but still encounter error.
Post marked as Apple Recommended
I'm getting this error when trying to distribute/validate my app (every version of it):
I have a developer account and a distribution certificate, and have had no problems uploading many versions of my app until today.
Has anyone experienced this before?
Post not yet marked as solved
Hi there,
I am developing an app where we can scan and create an OBJ out of the scanner.
I have launched my first build in the TestFlight and it works just fine.
Afterwards, without making any changes whatsoever, I archived the same app, to create another build and uploaded in TestFlight, just to test the two builds.
As you can guess from the title, the first build works, but the second build crashes. As soon as I open the camera it crashes.
I have added the privacy camera usage in the info.plist. Please find the crash log here: crashlog.crash
By looking at it, it says that it stumbles on a nil value. But why does the first build works and not the second one?
Also, I would have loved to post the code where it potentially unwraps the nil value, but unfortunately it comes from a framework that I do not have access of.
Lastly, I would like to mention that any time that I launch the app from Xcode to my iPhone11, it always works. It is only in TestFlight that it crashes.
Does anyone know what is going on? I really appreciate the help!
Thanks
Martin
Post not yet marked as solved
I am in a large org and have just been added to a project. We have just experience something strange... A build showed up in testflight that none of us claim to have uploaded. Im looking for a way to know where this build came from. We typically build from Xcode and upload via organizer.
Any insight would be helpful!
Post not yet marked as solved
Hello I get this error when trying to upload my binarie to appstore with Xcode :
ENTITY_ERROR.ATTRIBUTE.INVALID: The provided entity includes an attribute with an invalid value
I don't have any other indication on the problem. The only changes I made in my code was :
Add In App purchase
Change my laptop to a new macbook pro Apple Silicon
Post not yet marked as solved
Can someone please help, i have a game ._. And it keeps crashing whenever i try to open it, i tried lotsa things:
googled it
googled it more
again
tried to understand the logs
yea, so here are the logs:
[pretend this was a file](https://www.mediafire.com/file/9n8i6naiddum9xt/GeometryJump-2022-06-20-105938.ips/file\)
ignore the tag, it was the most related i could find, CAN’T APPLE JUST MAKE A TAG LIKE QUESTION like that’s all just make a tag “question” that’s it
Post not yet marked as solved
error desc: Reached end of file while looking for: Mach-O slice.
Xcode version :13.2.1
please, how to do it ?
Post not yet marked as solved
Hello world!
It's my first post. I'm learning to develop by myself and now I face to an app crash with Thread 1: "must pass a class of kind UITableViewCell".
I don't know what I have to do.
I also face some problems in the log in and log out with the simulator it didn't go to to the desired page. I shared the codes below. I can't go further before fixing this. Thanks a lot!. I'll be very reactive to your answers. Have a nice day!
import UIKit
@main
# class AppDelegate: UIResponder, UIApplicationDelegate { **Thread 1: "must pass a class of kind UITableViewCell" **
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
FirebaseApp.configure()
return true
}
// MARK: UISceneSession Lifecycle
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
}
func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set<UISceneSession>) {
}
}
I'm almost sure that the problem is in the SettingsViewController but with my level it's not obvious yet.
struct SettingCellModel {
let title: String
let handler: (() -> Void)
}
/// View Controller to show user settings
final class SettingsViewController: UIViewController {
private let tableView: UITableView = {
let tableView = UITableView(frame: .zero,
style: .grouped)
tableView.register(UITableViewCell.self,
forCellReuseIdentifier: "cell")
return tableView
}()
private var data = [[SettingCellModel]]()
override func viewDidLoad() {
super.viewDidLoad()
configureModels()
view.backgroundColor = .systemBackground
view.addSubview(tableView)
self.tableView.dataSource = self
self.tableView.delegate = self
}
override func viewDidLayoutSubviews() {
super.viewDidLayoutSubviews()
tableView.frame = view.bounds
}
private func configureModels() {
let section = [
SettingCellModel(title: "Log Out") { [weak self] in
self?.didTaplogOut()
}
]
data.append(section)
}
private func didTaplogOut() {
let actionSheet = UIAlertController(title: "Log Out",
message: "Are you sure you want to log out?",
preferredStyle: .actionSheet)
actionSheet.addAction(UIAlertAction(title: "Cancel",
style: .cancel,
handler: nil))
actionSheet.addAction(UIAlertAction(title: "Log Out",
style: .destructive,
handler: { _ in
AuthManager.shared.logOut(completion: { success in
DispatchQueue.main.async {
if success {
// present log in
let loginVC = LoginViewController()
loginVC.modalPresentationStyle = .fullScreen
self.present(loginVC, animated: true) {
self.navigationController?.popToRootViewController(animated: false)
self.tabBarController?.selectedIndex = 0
}
}
else {
// error occured
fatalError("Could not log Out user")
}
}
})
}))
actionSheet.popoverPresentationController?.sourceView = tableView
actionSheet.popoverPresentationController?.sourceRect = tableView.bounds
present(actionSheet, animated: true)
}
}
extension SettingsViewController: UITableViewDelegate, UITableViewDataSource {
func numberOfSections(in tableView: UITableView) -> Int {
return data.count
}
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return data[section].count
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "cell", for: indexPath)
cell.textLabel?.text = data[indexPath.section][indexPath.row].title
return UITableViewCell()
}
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
tableView.deselectRow(at: indexPath, animated: true)
// handle cell selection
}
}
Post not yet marked as solved
I am unable to download the latest crash reports in Xcode Organizer. I see the following error message :
An error occurred preventing Xcode from downloading crashes list. "xxxxx" failed with error: Waiting for future 'CrashPointNetworkListSource' to complete timed out
I am using Xcode 13.2.1. Anybody have an idea how I could fix this?
Post not yet marked as solved
22:23:48 [2022-06-01 22:23:48 CST] <main> DBG-X: parameter Version = 2.3.0
22:23:48 [2022-06-01 22:23:48 CST] <main> DBG-X: parameter iTMSTransporterMode = upload
22:23:48 [2022-06-01 22:23:48 CST] <main> INFO: id = 20220601222348-714
22:23:48 [2022-06-01 22:23:48 CST] <main> DEBUG: SMART-CLIENT: getCurrent(); using pinned data center = contentdelivery.itunes.apple.com
22:23:48 [2022-06-01 22:23:48 CST] <main> INFO: iTMSTransporter Correlation Key: cc8e6af4-1a69-4e8d-bfec-bbc07acae8a5-0001
22:23:48 [2022-06-01 22:23:48 CST] <main> DEBUG: SMART-CLIENT: Host HTTP header: contentdelivery.itunes.apple.com
22:23:50 [2022-06-01 22:23:50 CST] <main> ERROR: Received Server Error Status Code: HTTP/1.1 504 Gateway Time-out
22:23:50 [2022-06-01 22:23:50 CST] <main> ERROR: Cannot perform data center failover (data center is pinned).
22:23:50 [2022-06-01 22:23:50 CST] <main> ERROR: Error while processing package 725215315.itmsp
22:23:50 [2022-06-01 22:23:50 CST] <main> ERROR: An exception has occurred: Cannot perform data center failover (data center is pinned).
22:23:50 [2022-06-01 22:23:50 CST] <main> DEBUG: com.apple.transporter.core.api.DataCentersExhaustedException: Cannot perform data center failover (data center is pinned).
22:23:50 at com.apple.transporter.core.impl.DefaultDataCenterProvider.tryToFailOver(DefaultDataCenterProvider.java:307)
22:23:50 at com.apple.transporter.core.impl.DefaultDataCenterProvider.didFailOver(DefaultDataCenterProvider.java:283)
22:23:50 at com.apple.transporter.core.webservice.DataCentersResponseInterceptor.process(DataCentersResponseInterceptor.java:35)
22:23:50 at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:142)
22:23:50 at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:191)
22:23:50 at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
22:23:50 at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
22:23:50 at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
22:23:50 at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
22:23:50 at com.apple.transporter.JSONService.invoke(JSONService.java:512)
22:23:50 at com.apple.transporter.WebService.invokeStandard(WebService.java:1327)
22:23:50 at com.apple.transporter.WebService.invokeStandard(WebService.java:1277)
22:23:50 at com.apple.transporter.WebService.authenticateOperation(WebService.java:313)
22:23:50 at com.apple.transporter.operation.Upload$2.invoke(Upload.java:846)
22:23:50 at com.apple.transporter.operation.Upload$2.invoke(Upload.java:838)
22:23:50 at com.apple.transporter.core.ws.impl.WebServiceInvokerDefaultImpl.invokeWithRetry(WebServiceInvokerDefaultImpl.java:81)
22:23:50 at com.apple.transporter.operation.Upload.validateMetadata(Upload.java:838)
22:23:50 at com.apple.transporter.operation.Upload.performUploadRequest(Upload.java:225)
22:23:50 at com.apple.transporter.operation.Upload.performUploadRequest(Upload.java:139)
22:23:50 at com.apple.transporter.operation.Upload.performRequest(Upload.java:1375)
22:23:50 at com.apple.transporter.operation.Verify.execute(Verify.java:126)
22:23:50 at com.apple.transporter.operation.DeveloperAPIUpload.execute(DeveloperAPIUpload.java:297)
22:23:50 at com.apple.transporter.Application.reallyBegin(Application.java:280)
22:23:50 at com.apple.transporter.Application.begin(Application.java:129)
22:23:50 at com.apple.transporter.osgi.TransporterService.start(TransporterService.java:84)
22:23:50 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:23:50 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
22:23:50 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
22:23:50 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
22:23:50 at com.apple.transporter.starter.TransporterStarter.runService(TransporterStarter.java:418)
22:23:50 at com.apple.transporter.starter.TransporterStarter.runTransporterService(TransporterStarter.java:391)
22:23:50 at com.apple.transporter.starter.TransporterStarter.start(TransporterStarter.java:164)
22:23:50 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:23:50 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
22:23:50 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
22:23:50 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
22:23:50 at com.apple.transporter.bootstrap.BootstrapperPhase2.runStartable(BootstrapperPhase2.java:362)
22:23:50 at com.apple.transporter.bootstrap.BootstrapperPhase2.runStarter(BootstrapperPhase2.java:324)
22:23:50 at com.apple.transporter.bootstrap.BootstrapperPhase2.start(BootstrapperPhase2.java:167)
22:23:50 at com.apple.transporter.bootstrap.BootstrapperPhase1.startOSGiFramework(BootstrapperPhase1.java:399)
22:23:50 at com.apple.transporter.bootstrap.BootstrapperPhase1.realBootstrap(BootstrapperPhase1.java:225)
22:23:50 at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:86)
22:23:50 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:23:50 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
22:23:50 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
22:23:50 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
22:23:50 at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:107)
22:23:50 at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:78)
22:23:50 at com.apple.transporter.launcher.Launcher.launchBootstrapper(Launcher.java:37)
22:23:50 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
22:23:50 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
22:23:50 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
22:23:50 at java.base/java.lang.reflect.Method.invoke(Unknown Source)
22:23:50 at com.apple.transporter.launcher.Application.start(Application.java:450)
22:23:50 at com.apple.transporter.launcher.Application.main(Application.java:947)
22:23:50
22:23:50
22:23:50
22:23:50
22:23:50 Package Summary:
22:23:50
22:23:50 1 package(s) were not uploaded because they had problems:
- Error Messages:
22:23:50 Received Server Error Status Code: HTTP/1.1 504 Gateway Time-out
22:23:50 Cannot perform data center failover (data center is pinned).
22:23:50 Error while processing package 725215315.itmsp
22:23:50 An exception has occurred: Cannot perform data center failover (data center is pinned).
Post not yet marked as solved
Hi,
In Xcode organiser we are seeing below crash as the top most crash. We could not conclude anything with the call stack that is available. This crash is bumping our crash rates in app store connect significantly. Can someone help to figure out the root cause for this crash?
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x00000001fc4e9b78 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000235b083bc pthread_kill + 268 (pthread.c:1668)
2 libsystem_c.dylib 0x00000001cfcb444c __abort + 128 (abort.c:155)
3 libsystem_c.dylib 0x00000001cfc5c528 abort + 180 (abort.c:126)
4 libc++abi.dylib 0x00000001dd8e9b7c abort_message + 132 (abort_message.cpp:78)
5 libc++abi.dylib 0x00000001dd8d99c4 demangling_terminate_handler() + 336 (cxa_default_handlers.cpp:71)
6 libobjc.A.dylib 0x00000001dd7e4c98 _objc_terminate() + 160 (objc-exception.mm:704)
7 UnityFramework 0x00000001077acab0 CPPExceptionTerminate() + 496 (BSG_KSCrashSentry_CPPException.mm:192)
8 libc++abi.dylib 0x00000001dd8e8f18 std::__terminate(void (*)()) + 20 (cxa_handlers.cpp:59)
9 libc++abi.dylib 0x00000001dd8e8eb4 std::terminate() + 64 (cxa_handlers.cpp:88)
10 libdispatch.dylib 0x00000001c47e0a40 _dispatch_client_callout + 40 (object.m:563)
11 libdispatch.dylib 0x00000001c47e44e0 _dispatch_block_invoke_direct + 264 (queue.c:501)
12 FrontBoardServices 0x00000001d6cdac70 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 48 (FBSSerialQueue.m:157)
13 FrontBoardServices 0x00000001d6cda040 -[FBSSerialQueue _targetQueue_performNextIfPossible] + 220 (FBSSerialQueue.m:181)
14 FrontBoardServices 0x00000001d6cde700 -[FBSSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:194)
15 CoreFoundation 0x00000001c4b9bf04 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1972)
16 CoreFoundation 0x00000001c4bacc90 __CFRunLoopDoSource0 + 208 (CFRunLoop.c:2016)
17 CoreFoundation 0x00000001c4ae6184 __CFRunLoopDoSources0 + 268 (CFRunLoop.c:2053)
18 CoreFoundation 0x00000001c4aebb4c __CFRunLoopRun + 828 (CFRunLoop.c:2951)
19 CoreFoundation 0x00000001c4aff6b8 CFRunLoopRunSpecific + 600 (CFRunLoop.c:3268)
20 GraphicsServices 0x00000001e0b99374 GSEventRunModal + 164 (GSEvent.c:2200)
21 UIKitCore 0x00000001c7464e88 -[UIApplication _run] + 1100 (UIApplication.m:3511)
22 UIKitCore 0x00000001c71e65ec UIApplicationMain + 364 (UIApplication.m:5064)
23 UnityFramework 0x0000000106054c9c -[UnityFramework runUIApplicationMainWithArgc:argv:] + 108 (main.mm:124)
24 MyGame 0x0000000104c916a0 main + 22176 (main.mm:28)
25 dyld 0x000000010567dce4 start + 520 (dyldMain.cpp:879)
[2022-03-29_20-00-15.8116_-0700-583a4bdd5502a8b86aae9cb5839c125273fdb427.crash](https://developer.apple.com/forums/content/attachment/eccc16fc-dc3b-4c62-962b-e3aa27e91418)
Post not yet marked as solved
Hello, I am having trouble uploading my app to the App Store Connect. I have uploaded the same app several times before but today its showing this error:
The app references non-public selectors in Payload/Runner.app/Frameworks/webview_flutter.framework/webview_flutter: initWithFrame:configuration:, isMainFrame, setNavigationDelegate:, targetFrame, userContentController With error code STATE_ERROR.VALIDATION_ERROR.50 for id 4e50137e-2378-492a-83f7-08cc856c7520
I have not change anything that has to do with the webview_flutter dependency since the last upload.
I created an issue and they told me that I should contact apple since everything on that list is a public, documented selector.
Issue link: https://github.com/flutter/flutter/issues/105472
Post not yet marked as solved
General:
DevForums tags: Debugging, LLDB, Graphical Debugger
Xcode > Debugging documentation
Diagnosing Memory, Thread, and Crash Issues Early documentation
Diagnosing Issues Using Crash Reports and Device Logs documentation
Choosing a Network Debugging Tool documentation
What is an exception? DevForums post
Standard Memory Debugging Tools DevForums post
Posting a Crash Report DevForums post
Implementing Your Own Crash Reporter DevForums post
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Post not yet marked as solved
Hi, I was wondering if I could get some insight on this crash. it seems that the app was on the background for a couple of hours, and crashed upon returning to the foreground.
We have some parts of the app with WKWebView, I'm assuming they put the app to the background while on the screen that has the webview. I couldn't find much of the "makePlatformLayerTypeless".
Here's the full logs.
2022-04-18_08-07-38.3680_-0400-crash.txt
Thanks!