Comments (8)
the console output some logs as follows(many similar):
2022-03-07 09:37:15.150586+0800 edX[7971:2119488] [LayoutConstraints] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)
(
"<edX.LayoutConstraint:[email protected]#96 UIView:0x1144db0b0.bottom == edX.CourseCardView:0x1144dad10.bottom - 0.5>",
"<edX.LayoutConstraint:[email protected]#121 UIView:0x1144db870.top == edX.CourseCardView:0x1144dad10.top>",
"<edX.LayoutConstraint:[email protected]#122 UIView:0x1144db870.bottom == UIView:0x1144db0b0.top>",
"<NSAutoresizingMaskLayoutConstraint:0x2816d3200 edX.CourseCardView:0x1144dad10.height == 0>"
)
Will attempt to recover by breaking constraint
<edX.LayoutConstraint:[email protected]#96 UIView:0x1144db0b0.bottom == edX.CourseCardView:0x1144dad10.bottom - 0.5>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
......
from edx-app-ios.
@wanglong121 this is info log, not the actual crash log, can you add the actual crash log?
from edx-app-ios.
@wanglong121 this is info log, not the actual crash log, can you add the actual crash log?
Details
The app “edX” on iPhone quit unexpectedly.
Domain: IDEDebugSessionErrorDomain
Code: 10
Failure Reason: Message from debugger: Terminated due to memory issue
User Info: {
DVTErrorCreationDateKey = "2022-03-15 01:22:45 +0000";
IDERunOperationFailingWorker = DBGLLDBLauncher;
}
Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPhone9,1";
"device_osBuild" = "14.7.1 (18G82)";
"device_platform" = "com.apple.platform.iphoneos";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 2;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 86240;
"operation_errorCode" = 10;
"operation_errorDomain" = IDEDebugSessionErrorDomain;
"operation_errorWorker" = DBGLLDBLauncher;
"operation_name" = IDEiPhoneRunOperationWorkerGroup;
"param_consoleMode" = 0;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 5;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphoneos";
"param_diag_MainThreadChecker_stopOnIssue" = 0;
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
"param_diag_MallocStackLogging_enableForXPC" = 1;
"param_diag_allowLocationSimulation" = 1;
"param_diag_gpu_frameCapture_enable" = 0;
"param_diag_gpu_shaderValidation_enable" = 0;
"param_diag_gpu_validation_enable" = 0;
"param_diag_memoryGraphOnResourceException" = 0;
"param_diag_queueDebugging_enable" = 1;
"param_diag_runtimeProfile_generate" = 0;
"param_diag_sanitizer_asan_enable" = 0;
"param_diag_sanitizer_tsan_enable" = 0;
"param_diag_sanitizer_tsan_stopOnIssue" = 0;
"param_diag_sanitizer_ubsan_stopOnIssue" = 0;
"param_diag_showNonLocalizedStrings" = 0;
"param_diag_viewDebugging_enabled" = 1;
"param_diag_viewDebugging_insertDylibOnLaunch" = 1;
"param_install_style" = 0;
"param_launcher_UID" = 2;
"param_launcher_allowDeviceSensorReplayData" = 0;
"param_launcher_kind" = 0;
"param_launcher_style" = 0;
"param_launcher_substyle" = 0;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application";
"param_runnable_swiftVersion" = "5.5.2";
"param_runnable_type" = 2;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphoneos15.2";
"sdk_osVersion" = "15.2";
"sdk_variant" = iphoneos;
}
System Information
macOS Version 12.2.1 (Build 21D62)
Xcode 13.2.1 (19586) (Build 13C100)
Timestamp: 2022-03-15T09:22:45+08:00
from edx-app-ios.
@wanglong121 this is info log, not the actual crash log, can you add the actual crash log?
the console has no more crash log, Do i have any problem compile with xcode 13.2.1 ?
from edx-app-ios.
-
Are you using latest code from master? if so, it requires Xcode 13.2.1.
if you are using the last release code, you will need Xcode 12.5.1 -
Is it happening on vanilla installation of code? or do you have some modifications done?
-
Can you please check for memory leaks using Xcode's Allocations tools and also look for leak objects.
from edx-app-ios.
@mumer92
thanks for your reply!
1、I'm using the open release code :open-release-lilac3, compile it with xcode 13.2.1;
2、it is happening on vanilla installation of code
3、I‘m try to use Xcode's Allocations tools to find the leak objects, I will reply you latter.
from edx-app-ios.
from edx-app-ios.
@wanglong121 can you share recording of the app? from the logs, is looks like it is crashing somewhere in scope of UITableView.
from edx-app-ios.
Related Issues (20)
- Bluetooth permission in iOS 13 HOT 3
- Login Issue edx-app-ios-release-2.21.5 HOT 3
- Swift Compiler Error: Argument labels '(paginator:, collectionView:)' do not match any available overloads.
- ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. HOT 15
- Microsoft external auth is not showing on login view HOT 1
- App with 3rd party sign in services can't be uploaded(published) to the App Store HOT 1
- App not build for iOS 13 SDK HOT 1
- [Apple Store] In-app Purchase is required when release the app on apple store HOT 4
- Registration view seems to not work HOT 6
- AppTrackingTransparency prevent app store release HOT 1
- Invalid Signature at App Store uploading HOT 4
- Not able to run the app with Xcode 12.4 HOT 3
- Current issues i am facing with this App HOT 1
- How to update the custom icon to the material shape to use it HOT 1
- Multiple command produce error HOT 2
- IOS app registration screen error 404 HOT 1
- XCODE 14.3.1 (Mac M2 CPU) IOS OpenEDX Compilation Erro HOT 2
- Mac OS M2, (Xcode 14.3.1) Command PhaseScriptExecution failed with a nonzero exit code HOT 5
- XCODE 15 Support required : Facing gradel issue HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edx-app-ios.