Repository navigation
Replies: 4 comments 1 reply
|
using 7.0.282 continue faling |
|
The server-generated IPA for ForceSOS 3.977 (build 309) closes immediately on a physical iPhone running iOS 18.7.12. We also reproduced a launch crash with a local Xcode build and captured this stack trace: EXC_BAD_ACCESS (code=1, address=0x0) We verified that appConfig.json is present in the local MyApp.app bundle and contains valid JSON. AppConfig tries to read it during static initialization, before Display.init(), so it uses Class.getResourceAsStream(). In the exported code, this method appears to resolve resources through an environment-based search path. Is Class.getResourceAsStream() expected to load bundled resources on iOS before Display.init()? If early resource loading is supported, could you check why it fails in this build? If loading must happen after Display.init(), could you confirm the recommended initialization point? Could you also symbolicate the attached crash report from the server-generated IPA to confirm whether it fails in the same code path? Separately, the exported Xcode project references dist/cn1-Bridging-Header.h in Debug and Release, but that file was missing. We added an empty header to a test copy to get the local build running. Could you confirm whether the export should include that header or generate it? Thanks. |
|
We don't support this before We'll need to check about the bridging header. |
|
ok, forget it, I fixed the issue. The strange is that in android this work perfectly |
Uh oh!
There was an error while loading. Please reload this page.
My app it compiled correctly in your build server but when In install in my real device the app crashed and don't open.
I download the source proyect in my mac an I check this issue trying to compile
Description
Hi Codename One Support,
1. The IPA crashes on launch
The app consistently closes immediately after launch on a physical iPhone running iOS 18.7.12 or ios 26.7.3. The attached crash report shows EXC_BAD_ACCESS, SIGABRT, abort() called, and an invalid access at address 0x0. The ForceSOS stack frames are unsymbolicated.
2. The exported project fails to build locally
In Xcode 26.6 (17F113), the exported project sets SWIFT_OBJC_BRIDGING_HEADER to $(SRCROOT)/cn1-Bridging-Header.h in both Debug and Release. The file is missing from dist. Xcode reports:
error: Build input file cannot be found: '…/dist/cn1-Bridging-Header.h'.
Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
The project also contains two Compile Sources entries for LiveActivitySwiftHelper.swift, which triggers a duplicate build file warning.
Does the build server generate the bridging header when building the IPA? Could you check whether the source export is missing that file or a generation step, and confirm how we can reproduce the server build locally?
Thanks.
All reactions