My app is rejected from iOS review.
And It says that app crashed in only iPad.
I test with iPhone and iPad (5th generation) same as tested device in review, it works fine.
But I can't read crash report.
Can you give me some advice regarding what makes my app crash only in iPad?
crash report
I just suspect that I remove some cache in resume cycle of flutter app in main.dart.
@override
void deactivate() {
removeDiaryRankingCache();
super.deactivate();
}
@override
void didChangeAppLifecycleState(AppLifecycleState state) {
super.didChangeAppLifecycleState(state);
if (state == AppLifecycleState.resumed) {
updateLastVisit();
removeDiaryRankingCache();
}
}
And this removeDiaryRankingCache() takes so much time and it is over allocated time to launch app in iPad or use so much memory over allocated storage of iPad..?
Please help me in any way.
Post
Replies
Boosts
Views
Activity
I get crash log from ios app review rejection.
I change extension name from .txt to .crash.
And I goes to Window > Devices and Simulators,
But I can't find Devices Logs but I have Open Recent Logs
After If I open previous crash file, then I make me select Runner file.
Then If I click the recent one, it crashes.
I think It is not crash file coming from my device, but from ios review..?
How can I symbolicate crash log that I get from iOS team?
crashlog-F97824BE-F5FC-4CD1-9E06-B0C878E75E49.crash
crashlog-F5525960-EB21-454C-8AAE-E68F7D5342F9.crash
I updated Xcode to 15.4 version.
I keep facing build error: Command PhaseScriptExecution failed with a nonzero exit code.
I deleted DerivedData and clean Project, etc.. but nothing works.
PhaseScriptExecution Run\ Script /Users/hayat/Library/Developer/Xcode/DerivedData/Runner-bazfaecuwmifkmalxhomfexvwejn/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-5691DA932C169C0C00404F23.sh (in target 'Runner' from project 'Runner')
...
/bin/sh -c /Users/hayat/Library/Developer/Xcode/DerivedData/Runner-bazfaecuwmifkmalxhomfexvwejn/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-5691DA932C169C0C00404F23.sh
/bin/sh: /packages/flutter_tools/bin/xcode_backend.sh: No such file or directory
/Users/hayat/Library/Developer/Xcode/DerivedData/Runner-bazfaecuwmifkmalxhomfexvwejn/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-5691DA932C169C0C00404F23.sh: line 3: build: command not found
Command PhaseScriptExecution failed with a nonzero exit code
Please help me.
My Xcode crashes with back trace.
It builds my app successfully, but when I distribute this app xcode dies, especially in process Signing App.framework...
I didn't know that xcode provides back tract when it fails, but I found it and once I see this.
It seems related to package that I use in flutter project pedometer.
Below part is the Crashed part of back trace.
Thread 10 Crashed:: Dispatch queue: com.apple.root.default-qos
0 libsystem_kernel.dylib 0x185af711c __pthread_kill + 8
1 libsystem_pthread.dylib 0x185b2ecc0 pthread_kill + 288
2 libsystem_c.dylib 0x185a3ea50 abort + 180
3 IDEKit 0x105727b64 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 972
4 IDEKit 0x105727fa4 -[IDEAssertionHandler handleFailureInMethod:object:fileName:lineNumber:assertionSignature:messageFormat:arguments:] + 872
5 DVTFoundation 0x10091a73c _DVTAssertionHandler + 424
6 DVTFoundation 0x10091a8bc _DVTAssertionFailureHandler + 196
7 DVTFoundation 0x1007e0410 +[DVTFilePath _filePathForParent:pathString:] + 512
8 DVTFoundation 0x1007e0a9c -[DVTFilePath filePathForRelativePathString:] + 48
9 IDEFoundation 0x107229edc -[IDEDistributionProcessingPipelineContext packagePathForVariant:] + 768
10 IDEFoundation 0x107240514 -[IDEDistributionCreateIPAStep name] + 88
11 IDEFoundation 0x107227e40 __98-[IDEDistributionProcessingPipeline observationForPhaseStateChanges:stepIndex:pipelineStepsCount:]_block_invoke + 96
12 DVTFoundation 0x1009265e4 -[NSObject(DVTObservingConvenience) _dvt_newObserverForKeyPath:options:owner:creationBacktrace:withHandlerBlock:] + 380
13 DVTFoundation 0x1009273ac -[NSObject(DVTObservingConvenience) dvt_newObserverForKeyPath:options:withHandlerBlock:] + 124
14 IDEFoundation 0x107227d04 -[IDEDistributionProcessingPipeline observationForPhaseStateChanges:stepIndex:pipelineStepsCount:] + 152
15 IDEFoundation 0x107228078 -[IDEDistributionProcessingPipeline processForThinningVariant:distributionItem:stepClass:stepIndex:pipelineStepsCount:error:] + 420
16 IDEFoundation 0x10722780c -[IDEDistributionProcessingPipeline process:] + 1132
17 IDEFoundation 0x106fdc594 -[IDEDistributionPackagingStep loadDrivableFromExportOptions:error:] + 204
18 IDEFoundation 0x1070a42a8 -[IDEDistributionDriver runWithDestinationPath:wantsExportStep:] + 1992
19 IDEFoundation 0x10736081c closure #1 in RecoverableDistributionDriver.run() + 188
20 IDEFoundation 0x1072f4b84 thunk for @escaping @callee_guaranteed @Sendable () -> () + 28
21 libdispatch.dylib 0x18597fcb8 _dispatch_call_block_and_release + 32
22 libdispatch.dylib 0x185981910 _dispatch_client_callout + 20
23 libdispatch.dylib 0x185984a5c _dispatch_queue_override_invoke + 928
24 libdispatch.dylib 0x1859931f4 _dispatch_root_queue_drain + 392
25 libdispatch.dylib 0x185993a04 _dispatch_worker_thread2 + 156
26 libsystem_pthread.dylib 0x185b2b0d8 _pthread_wqthread + 228
27 libsystem_pthread.dylib 0x185b29e30 start_wqthread + 8
Because class name that causes error is processForThinningVariant:distributionItem:stepClass:stepIndex:pipelineStepsCount:error:.
But Since I couldn't understand these code fully, I can't find any issue..
When I run this app with simulator or my device, it builds well and run successfully.
So I really can't know what is the problem.
Even I did all to set ios configuration for this package.
It works fine before but all of sudden, distribute app is not working even build is done.
Please please help me..
xcode version: Version 15.3
I successfully build app with xcode.
And when I tried to distribute app on appStore, Xcode keeps being killed without any error log.
I also rebooted computer.
It seems it killed in signing progress,, but it is configured singing well.
I submit my iOS app in Apple Store Connect.
And it is rejected with crash log file.
When I run this app with my real phone, it works fine even the part that they said it crashes, it works well.
So I open crash log and it seems fireStore causes error.
2 files they sent me was below.
And regarding reading crash log, there's no much reference on internet moreover it works fine on my phone I can't check debug or do something more..
Can you help me how can I proceed with this error?
If any advice would be helpful..
+ Add full crash log
crashlog-D3DE1C0F-922E-4BF6-B2BE-DFDD5A9DD8E8.txt
crashlog-E9936802-2BCC-4EA9-AD6E-2E12EF581423.txt