Fire crashes when deploying

Sorry I meant the apps.

Ive tried several and on a device the initial loading screen appears and then disappears as if its crashed.

What I posted in the previous message is all I can see in console.

In the simulator with a debugger it just sits there on the loading screen.

I can run on both device/sim with debugging (breakpoint colour is red and like John, it says not resolved, though I have had that recently with other builds but the breakpoints still work). When closing the app on the device (sim is fine), I get a dialog and output:
~> debugserver faled to start.

(should say failed)

I cannot say I can reproduce the issue with the breakpoints. They will turn red until they are resolved (ie the session is fully launched and the debugger has been able to map them to actual locations), but they do turn blue for me just fine (tested Sim only right now):

They Ould only stay red if they’d be in an invalid location (and would indeed not hit), for me.

what could I be missing?

John,

I cannot reproduce any problems launching my test apps, on simulator or device. Judging from the device log snippet you provided, this seems to be a local problem between your device and your app, somehow. Although not one I can say I have seen before:

(emphasis added).

This doesn’t seem to be something related to Fire’s debug chain. I can only recommend trying the usual stuff — rebooting the device, deleting & reinstalling the app, etc. Does the app get deployed ok? Can you laugh it manually?

As for the simulator — can you provide any more details? Whats the log output in Fire? anything in Console.app that might seem relevant? Otherwise, I don’t have much to go on; all I can say is that my apps run fine in both, here… :frowning:

Regarding the breakpoint issue I noticed I was getting the message about the appbundle being up to date.

After my original attempt at debugging I noticed I had commented out the contents of a class, so I uncommented the code and tried to debug again.

The appbundle message prompted me to try rebuilding, I’m not sure it was a coincidence but that made the breakpoints active in the menu.

I didn’t understand a word of that :wink:

I wondering if the build on the simulator was older than what was on my machine and thats why the breakpoints would work.

That could be, if there was a mismatch between the running binary and the one the debugger gets passed. So all is good now, after you made sure thats not the case (ie delete and redeploy)?

No I still have the later issue that you cant reproduce. I wont be able to look into that until this evening.

Creating a new app based off the TableView template runs fine on the simulator.

It seems like the other apps Ive deployed and run on the simulator, start crashing on startup as soon as I build them with the latest.

I’ll try building with earlier versions to see if that makes a difference.

hmm. what differentiates the old apps from the new one?

I tried deploying one of those that crashes to my iPhone with 2255 and it runs fine.

ok, not sure what to tell you. nothing of relevance has changed that could affect this. plus, i still haven’t seen a concrete error emssage beyond “it crashes”, so i can’t really work with that… :frowning:

Should I be getting all these warnings ?

              -> Phase Linking for Simulator started.

D: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -arch x86_64 -o “/Users/JohnMoshakis/Library/Application Support/RemObjects Software/EBuild/Obj/WeatherUITableView-0FB099A1-725B-4C02-BE8E-DDCB1CDFD4E6/Debug/Toffee-iOS/Simulator/x86_64/WeatherUITableView” “/Users/JohnMoshakis/Library/Application Support/RemObjects Software/EBuild/Obj/WeatherUITableView-0FB099A1-725B-4C02-BE8E-DDCB1CDFD4E6/Debug/Toffee-iOS/Simulator/x86_64/WeatherUITableView.a” -lSystem -lobjc -lElements -lThirdPartyiOS -lToffee “-L/Applications/Fire.app/Contents/Resources/Reference Paths with Data Abstract Trial/Toffee/…/…/References/Toffee/iOS Simulator” “-L/Users/JohnMoshakis/Documents/develop/Nougat/WeatherUITableView/FX/libThirdPartyiOS/iOS Simulator” -framework CloudKit -framework CoreFoundation -framework CoreGraphics -framework CoreLocation -framework Foundation -framework Intents -framework PureLayout -framework QuartzCore -framework Realm -framework UIKit “-F/Users/JohnMoshakis/Documents/develop/Nougat/MovingUITableView/FX/PureLayout/iOS Simulator” “-F/Users/JohnMoshakis/Documents/develop/Nougat/WeatherUITableView/FX/Realm/iOS Simulator” -ios_simulator_version_min 11.2 -ObjC -dynamic -demangle -force_load /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/lib/darwin/libclang_rt.ios.a -rpath @executable_path -dead_strip -objc_abi_version 2 -no_implicit_dylibs -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk
W: ld: pointer not aligned at address 0x100112804 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(05fc323a40b901913f55360bbae19e28-Convert.o))
W: ld: pointer not aligned at address 0x100112824 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(650d9944272e0fd699d2ccbb20190d40-DateFormatter.o))
W: ld: pointer not aligned at address 0x100112844 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(6908d047cdb0e9b1b8776049e895d57f-DayFormatSpecifier.o))
W: ld: pointer not aligned at address 0x1001128CC (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(e2b4312cb2e7fee41a10ddce5771ded8-KeyValuePair.o))
W: ld: pointer not aligned at address 0x100112954 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(e9810a0097d3fc9a6c634be2ccdb1abc-ArgumentNullException.o))
W: ld: pointer not aligned at address 0x100112974 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(8372be74f02f0cfb65d0d544a0a30199-ArgumentOutOfRangeException.o))
W: ld: pointer not aligned at address 0x100112994 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(8d63099123be5ba4b6c1bb5015e02c9a-FileNotFoundException.o))
W: ld: pointer not aligned at address 0x1001129B4 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(e736ebc8cc0fad2d02f61e46eceb1e35-FileHandle.o))
W: ld: pointer not aligned at address 0x1001129D4 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(7e4234e81cba6108a3168ce6f36b9de8-Folder.o))
W: ld: pointer not aligned at address 0x100112AB4 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(d97077c248e227d3882c8976440d2573-Http.o))
W: ld: pointer not aligned at address 0x100112CBC (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(546a4693bd27b28b7cbfa58ec0bbf88c-Http.c__DisplayClass0.o))
W: ld: pointer not aligned at address 0x100112E6C (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(488c12896185d103de10195b9351583d-JsonSerializer.o))
W: ld: pointer not aligned at address 0x100112F24 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(5d07d281556a3f9d0bd0a963688aa141-ImmutableList.o))
W: ld: pointer not aligned at address 0x100112F44 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(c487d4573cbee1ed4ca41ce6b5fec055-ListHelpers.o))
W: ld: pointer not aligned at address 0x100112F64 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(cc98a752c9c3f437e9fa00a2104f20e9-Path.o))
W: ld: pointer not aligned at address 0x100112F84 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(721d076310021f8e3d892a60e7c211bd-RangeHelper.o))
W: ld: pointer not aligned at address 0x100112FA4 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(94e43713fa1d0dab33444434b1ee3609-Method.o))
W: ld: pointer not aligned at address 0x100112FC4 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(c6b84b2a8e8ec3d6961602e659631c66-String.o))
W: ld: pointer not aligned at address 0x100113004 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(2ae4cafcfbf0ac010596c5ba59375c0d-StringBuilder.o))
W: ld: pointer not aligned at address 0x100113024 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(41c37fb7b03e898c177145f214afc60b-StringFormatter.o))
W: ld: pointer not aligned at address 0x100113074 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(0c5ab39d203f34396f4916ca88ae69b9-Uri.o))
W: ld: pointer not aligned at address 0x100113094 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(1adcb0debea312712c8abd1f2956427f-Url.o))
W: ld: pointer not aligned at address 0x1001130B4 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(bfeed1376dfd7292a962cc72e3a68620-XmlDocument.o))
W: ld: pointer not aligned at address 0x1001131D4 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(17088143fcd4c79eeeecdcd2d53c7142-XmlElement.o))
W: ld: pointer not aligned at address 0x100113384 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(6c812e3dc8ec9e44a3c8241134a9559c-XmlParser.o))
W: ld: pointer not aligned at address 0x1001133A4 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libElements.a(2d58454e864b18a39b8d1ef01eca8412-Foundation__Extensions.o))
W: ld: pointer not aligned at address 0x1001138A4 (l___unnamed_1 + 20 from /Applications/Fire.app/Contents/Resources/References/Toffee/iOS Simulator/libToffee.a(824193990ea3e5c216e0605dd6328740-ArrayUtils.idArrayToSequenced_.o))

Launching in the simulator, it looks to me as though its taking too long to startup

default 00:21:30.507033 -0400 SpringBoard Icon touch began: <SBIconView: 0x7fc9a5c09b50; frame: {{319, 18}, {60, 74}}; icon: <SBApplicationIcon: 0x6040001cc5d0; nodeID: com.moshine.WeatherUITableView; bundleID: com.moshine.WeatherUITableView>; location: home; contentType: default; isTouchDownInIcon: YES>
default 00:21:30.507379 -0400 SpringBoard Found a reasonable launch image for com.moshine.WeatherUITableView, not pre-warming SplashBoard.
default 00:21:30.615989 -0400 SpringBoard Icon tapped: <SBIconView: 0x7fc9a5c09b50; frame: {{319, 18}, {60, 74}}; icon: <SBApplicationIcon: 0x6040001cc5d0; nodeID: com.moshine.WeatherUITableView; bundleID: com.moshine.WeatherUITableView>; location: home; contentType: default; isHighlighted: YES; isTouchDownInIcon: YES>
default 00:21:30.616447 -0400 SpringBoard Activating com.moshine.WeatherUITableView from icon
default 00:21:30.618173 -0400 SpringBoard Running <SBAppToAppWorkspaceTransaction: 0x7fc9a5c099f0> for transition request:
<SBMainWorkspaceTransitionRequest: 0x6000002f5700; eventLabel: SBUIApplicationIconLaunchEventLabel; display: Main; source: HomeScreen> {
applicationContext = <SBWorkspaceApplicationSceneTransitionContext: 0x600000157340; background: NO> entities = {
SBLayoutRolePrimary = <SBDeviceApplicationSceneEntity: 0x60000009da60; ID: com.moshine.WeatherUITableView; layoutRole: primary>;
};
}
default 00:21:30.694500 -0400 SpringBoard Icon touch canceled (tap gesture may still succeed): <SBIconView: 0x7fc9a5c09b50; frame: {{319, 18}, {60, 74}}; icon: <SBApplicationIcon: 0x6040001cc5d0; nodeID: com.moshine.WeatherUITableView; bundleID: com.moshine.WeatherUITableView>; location: home; contentType: default; iconImageAlpha: 0.000000; iconAccessoryAlpha: 0.000000; isLabelAccessoryViewHidden: YES>
default 00:21:30.989038 -0400 SpringBoard Bootstrapping com.moshine.WeatherUITableView with intent foreground-interactive
default 00:21:30.989849 -0400 assertiond Submitting new job for “com.moshine.WeatherUITableView” on behalf of <BKProcess: 0x7f8a30c1f8b0; SpringBoard; com.apple.springboard; pid: 23701; agency: SystemShell; visibility: foreground; task: running>
default 00:21:31.074239 -0400 assertiond Submitted job with label: UIKitApplication:com.moshine.WeatherUITableView[0x88ab][23708]
default 00:21:32.693121 -0400 assertiond _FGJetsamPriorityBand is 10 for WeatherUITableV:24042
default 00:21:32.693770 -0400 assertiond [WeatherUITableV:24042] Adding client: <BKProcessInfoServerClient: 0x7f8a30c2da10; pid: 23701>
default 00:21:32.693963 -0400 assertiond [WeatherUITableV:24042] Setting jetsam priority to 10 [0x10000]
default 00:21:32.696665 -0400 SpringBoard [com.moshine.WeatherUITableView] Bootstrap complete with label: UIKitApplication:com.moshine.WeatherUITableView[0x88ab][23708]
default 00:21:32.694641 -0400 homed Received app state changed with info {
BKSApplicationStateAppIsFrontmost = 1;
BKSApplicationStateExtensionKey = 0;
SBApplicationStateDisplayIDKey = “com.moshine.WeatherUITableView”;
SBApplicationStateKey = 8;
SBApplicationStateProcessIDKey = 24042;
SBMostElevatedStateForProcessID = 8;
}
default 00:21:32.694196 -0400 assertiond Now tracking process <BKProcess: 0x7f8a30d22260; WeatherUITableV; com.moshine.WeatherUITableView; pid: 24042; agency: SystemApp; visibility: none; task: running; hostpid: 23701> with host <BKProcess: 0x7f8a30c1f8b0; SpringBoard; com.apple.springboard; pid: 23701; agency: SystemShell; visibility: foreground; task: running>
default 00:21:32.698151 -0400 SpringBoard [FBProcessManager] Adding: <FBApplicationProcess: 0x7fc9a5f22090; WeatherUITableV (com.moshine.WeatherUITableView); pid: 24042>
default 00:21:32.698653 -0400 assertiond [SpringBoard:23701] Attempting to acquire assertion for WeatherUITableV:24042: <BKProcessAssertion: 0x7f8a30c2b7b0; “UIApplicationLaunch” (activation:inf); id:…703C1B938507>
default 00:21:32.699033 -0400 assertiond [WeatherUITableV:24042] Add assertion: <BKProcessAssertion: 0x7f8a30c2b7b0; id: 23701-B2C2183C-AB9D-49B0-82BB-703C1B938507; name: UIApplicationLaunch; state: active; reason: activation; duration: infs> {
owner = <BSProcessHandle: 0x7f8a30d09660; SpringBoard:23701; valid: YES>;
flags = preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, wantsForegroundResourcePriority, preventSuspendOnSleep;
}
default 00:21:32.699113 -0400 assertiond [WeatherUITableV:24042] Activate assertion: <BKProcessAssertion: 0x7f8a30c2b7b0; “UIApplicationLaunch” (activation:inf); id:…703C1B938507>
default 00:21:32.699207 -0400 assertiond [WeatherUITableV:24042] New process assertion state; preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, wantsForegroundResourcePriority, preventSuspendOnSleep (assertion 0x7f8a30c2b7b0 added: preventSuspend, preventThrottleDownUI, preventThrottleDownCPU, wantsForegroundResourcePriority, preventSuspendOnSleep; removed: (none))
default 00:21:32.699275 -0400 assertiond [WeatherUITableV:24042] Setting jetsam priority to 10 [0x10100]
default 00:21:32.717084 -0400 SpringBoard Application process state changed for com.moshine.WeatherUITableView: <SBApplicationProcessState: 0x604000628ce0; pid: 24042; taskState: Running; visibility: Unknown>
error 00:21:52.701807 -0400 SpringBoard [com.moshine.WeatherUITableView] Provision violated for watchdog process-launch: <FBSProcessResourceProvision: 0x6000002fd200; allowance: <; FBSProcessResourceAllowance; type: realTime; timeValue: 20.0s>; violated: YES>
default 00:21:52.702496 -0400 SpringBoard [com.moshine.WeatherUITableView] Executing termination for reason (none) with request: <FBSProcessTerminationRequest: 0x6040004659c0; label: “watchdog provision violated”; exceptionCode: “Watchdog Violation (0x8BADF00D)”; reportType: CrashLog; explanation: “process-launch watchdog transgression: com.moshine.WeatherUITableView exhausted real (wall clock) time allowance of 20.00 seconds”>
default 00:22:16.970488 -0400 assertiond [WeatherUITableV:24042] Port death watcher fired.
default 00:22:16.971552 -0400 assertiond [WeatherUITableV:24042] Ignoring assertion remove, because we are terminated or pending termination
default 00:22:16.971683 -0400 assertiond Process exited: <BKProcess: 0x7f8a30d22260; WeatherUITableV; com.moshine.WeatherUITableView; pid: 24042; agency: SystemApp; visibility: foreground; task: none; hostpid: 23701>
default 00:22:16.971786 -0400 assertiond [WeatherUITableV:24042] Invalidating…
default 00:22:17.080198 -0400 assertiond [WeatherUITableV:24042] Got exit context: <BKSProcessExitContext: 0x7f8a30d0f8c0; reason: (none)>
default 00:22:17.080859 -0400 SpringBoard <FBApplicationProcess: 0x7fc9a5f22090; WeatherUITableV (com.moshine.WeatherUITableView); pid: 24042> exited.
default 00:22:17.081316 -0400 SpringBoard [FBProcessManager] Removing: <FBApplicationProcess: 0x7fc9a5f22090; WeatherUITableV (com.moshine.WeatherUITableView); pid: -1>
default 00:22:17.084809 -0400 assertiond Deleted job with label: UIKitApplication:com.moshine.WeatherUITableView[0x88ab][23708]
default 00:22:17.085489 -0400 assertiond [WeatherUITableV:24042] Deleted launchd job with label: UIKitApplication:com.moshine.WeatherUITableView[0x88ab][23708]
default 00:22:17.085696 -0400 assertiond [WeatherUITableV:24042] Invalidation complete.
default 00:22:17.086391 -0400 assertiond [WeatherUITableV:24042] Terminating because the job-submitter has disconnected.
default 00:22:17.087538 -0400 assertiond Checking for deferred bootstrap request for com.moshine.WeatherUITableView
default 00:22:17.095720 -0400 SpringBoard Front display did change: <SBApplication: 0x6040003c20d0; com.moshine.WeatherUITableView>
default 00:22:17.097688 -0400 SpringBoard [com.moshine.WeatherUITableView] Setting deactivation reasons to: ‘systemAnimation’ for reason: updateAllScenesForBand - Assertion added.
default 00:22:17.108021 -0400 SpringBoard [com.moshine.WeatherUITableView] Will update scene - foregroundness changed to: Background
default 00:22:17.108103 -0400 SpringBoard [com.moshine.WeatherUITableView] Setting deactivation reasons to: ‘(none)’ for reason: scene settings update - settings are NOT eligible for deactivation reasons.
default 00:22:17.108518 -0400 SpringBoard saving suspend snapshot for this vc: <SBMainWorkspaceApplicationSceneLayoutElementViewController:0x7fc9a6012800 (com.moshine.WeatherUITableView) - <SBDeviceApplicationSceneViewController: 0x7fc9a5e55380> - blurred=NO>
default 00:22:17.128803 -0400 SpringBoard Process exited: <FBApplicationProcess: 0x7fc9a5f22090; WeatherUITableV (com.moshine.WeatherUITableView); pid: -1> -> <FBApplicationProcessExitContext: 0x600000455ed0; exitReason: (none); terminationReason: (none)> {
stateAtExit = <FBProcessState: 0x6000008206c0; pid: 24042; taskState: Running; visibility: Unknown>;
terminationRequest = <FBSProcessTerminationRequest: 0x6040004659c0; label: “watchdog provision violated”; exceptionCode: “Watchdog Violation (0x8BADF00D)”; reportType: CrashLog; explanation: “process-launch watchdog transgression: com.moshine.WeatherUITableView exhausted real (wall clock) time allowance of 20.00 seconds”>;
watchdogContext = <FBProcessWatchdogEventContext: 0x60000044c2a0; event: process-launch>;
}
default 00:22:17.129075 -0400 SpringBoard Application process state changed for com.moshine.WeatherUITableView: (null)
default 00:22:17.151692 -0400 assertiond [WeatherUITableV:24042] Removing client: <BKProcessInfoServerClient: 0x7f8a30c2da10; pid: 23701>
default 00:22:17.152959 -0400 assertiond [WeatherUITableV:24042] No clients remain.
default 00:22:17.157455 -0400 homed Received app state changed with info {
BKSApplicationStateAppIsFrontmost = 0;
BKSApplicationStateExtensionKey = 0;
SBApplicationStateDisplayIDKey = “com.moshine.WeatherUITableView”;
SBApplicationStateKey = 1;
SBApplicationStateProcessIDKey = 24042;
SBApplicationStateRunningReasonsKey = (
{
SBApplicationStateRunningReasonAssertionIdentifierKey = UIApplicationLaunch;
SBApplicationStateRunningReasonAssertionReasonKey = 10000;
}
);
SBMostElevatedStateForProcessID = 1;
}

I’m thinking its because I’m using frameworks, i removed the reference in one project and redeployed and its now loading.

Until Carlo finally fixes this known issue, yeah.

hmm… aden the frameworks bundled in correctly? can you send me a testcase?

also, i’m bon a close this thread, as this is no longer about the fixed crash. let’s use new/separate threads for unrelated issues…