Jump to content

Dave Nottage

Members
  • Content Count

    1613
  • Joined

  • Last visited

  • Days Won

    37

Posts posted by Dave Nottage


  1. Just now, Shano said:

    when you say no debugging, do you mean you cannot create breakpoints, or can't even transfer the App to the iOS Device via running it with debug and the iOS device selected.

    I mean not being able to have the debugger attach to the process on the device at all, regardless of whether or not there are breakpoints set.

    Just now, Shano said:

    I am asking, because I can build and create an ipa file that I can then use the transporter to upload without error, but I cannot click run and install the app onto my registered test devices.

    The install process should still succeed.

    Just now, Shano said:

    I keep getting an error 'Unable to find certificate' 'XXXXXX' in provisioning profile "ffdssdfsdfdsfdsfsdf"

    If this an error you receive when attempting to install the app on the device using the IDE, it sounds like you have a development (as opposed to App Store) certificate/profile issue.


  2. 3 minutes ago, Rollo62 said:

    Strange, I have never seen such a Transporter issue yet, but time will come :classic_biggrin:
    Does it clearly tell you the reason of the rejection?

    Actually, the messages I was referring to were warnings from before the privacy requirements came into force, as evidenced by this post on the German Delphi Praxis. Transporter might not be issuing warnings/errors any more; it could be that they're rejected at the review stage. One way to find out is to submit something 🙂

     

    • Like 1

  3. 8 hours ago, Rollo62 said:

    Or do you need to put it there anyway, no matter of exception or not, to declare that you make use of the mach_absolute_time() funtion.

    Yes. In Kastri, I have a "base" privacy manifest that covers this, in this folder, though the reason for mach_absolute_time used is 3D61.1. 35F9.1 is probably more relevant, and I'm not sure why the other one was chosen.

    8 hours ago, Rollo62 said:

    Did Delphi already took care of this somehow ( I cannot see any of such entries in any manifest )?

    Not "out of the box", as yet, as far as I know.

    8 hours ago, Rollo62 said:

    How do you handle this, does anybody include these markers in the manifest?

    See above 🙂

    8 hours ago, Rollo62 said:

    Is anybody aware of, that Apple was rejecting an App in the Review, because of this? 

    If you omit a required reason, Transporter will reject your app when you do an upload. If anyone has used the manifest from Kastri (I have not as yet), they haven't made me aware of any rejections at the review stage 🙂

     

    • Like 1

  4. 12 minutes ago, Nicolò Blunda said:

    There is a way to detect, from a FMX application for macOS, the computer (and OS) architecture Intel or ARM ?

    TOSVersion.Architecture gives you the architecture of the processor that the app is executing on. Please ignore the fact that the documentation is outdated. Possible values are: arIntelX86, arIntelX64, arARM32, or arARM64.

    • Like 1

  5. Just now, GabrielMoraru said:

    I get the same warning:

    [dccosxarm64 Error] E2597 ld: warning: directory not found for option '-LC:\Users\trei\Documents\Embarcadero\Studio\22.0\Imports\OSXARM64'
      ld: can't open output file for writing: .\FmxMsgBox, errno=13 for architecture arm64
    [dccosxarm64 Fatal Error] F2588 Linker error code: 1 ($00000001)

    The warning (i.e. not an error)...

    Just now, GabrielMoraru said:

    I don't use Spring4D.

    ..has nothing to do with Spring4D. Rollo's error (i.e. not the warning part) was related to Spring4D. Your error:


    ld: can't open output file for writing: .\FmxMsgBox, errno=13 for architecture arm64

    ..is for something else. Whatever FmxMsgBox is a part of.

     


  6. You have ForegroundService.jar in both the 32-bit and 64-bit targets - when you compile for 64-bit it's attempting to include both into the one app. (Note that for the "system" jars, it just uses those for the target platform). If you're going to compile for either, remove the one from the 64-bit target.


  7. 5 minutes ago, Anna Blanca said:

    I need to launch so-library not at once, but after any time. Maybe, my app will download library from the Internet, it new version will be released.... 

    If your app itself is downloading it, it won't need to go in a shared folder (which is what /storage/emulated/0/Documents is). The app could download it to a subfolder of the internal documents folder, e.g. a folder like this:

    LLibFolder := TPath.Combine(TPath.GetDocumentsPath, 'Lib');
    ForceDirectories(LLibFolder);
    LLibFileName := TPath.Combine(LLibFolder, 'libTestLibrary.so');

    Your download routine could then download the file to the filename specified by LLibFileName, and call LoadLibrary using the same path.

    11 minutes ago, Anna Blanca said:

    In actualy, is Android a new iOS?

    Android and iOS are two very different operating systems.


  8. Just now, Anna Blanca said:

    Nothing not happens....Even i writed wrong library name, app not fired out with error. 

    I expect there will be a permissions error in the system logs (which you can view using a log viewer), unless you are using an earlier version of Android and have requested the relevant permissions. On Android 11 or higher, I doubt you'll make LoadLibrary work at all using that path. Is there some reason you are not deploying libTestLibrary.so with the application? 


  9. 59 minutes ago, ToddFrankson said:

    It Seems the 64 bit version doesn't compile.  I have tried to add the dw-kastri-base-3.0.0.jar to the 64 bit version but it doesn't "Add"

    If you're using Delphi 12.2, you won't need to add it to the 64-bit target if you have already added it to the 32-bit target - it will still be compiled in.

    1 hour ago, ToddFrankson said:

    I get the following errors when I try to run it:

    [PAClient Error] Error: E7688 Error in .\Android64\Debug\ForegroundService-dexed.jar:classes.dex:
    [PAClient Error] Error: E7688 Type com.embarcadero.services.ForegroundService$LocalBinder is defined multiple times: .\Android64\Debug\ForegroundService-dexed.jar:classes.dex, .\Android64\Debug\ForegroundService-dexed.jar:classes.dex
    [PAClient Error] Error: E7688 com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: .\Android64\Debug\ForegroundService-dexed.jar:classes.dex

    It appears you have somehow added the .jar that contains the service, twice. Can you detail what you have in the libraries nodes for both Android 32-bit and Android 64-bit in Project Manager? Just the entries under the last of the "system" jars, which would be: work-runtime-2.7.0.dex.jar, if you have Delphi 12.2. Selecting a jar should show the full path to it, in the status bar of Project Manager.


  10. 9 hours ago, FreeDelphiPascal said:

    Do you think it is still too slow?

    Most likely. The only bearable way I have found of using an Android emulator is to have a Mac with a silicon chip (e.g. M1, M2 etc), and run Arm64 emulators on it. Delphi can communicate with them using the relevant adb commands, along with a secure shell client such as PuTTY, all of which I describe in this video.

    • Like 3

  11. 7 hours ago, Anna Blanca said:

    How i can use LoadLibrary in FMX, on the not-Windows platforms?

    For Posix systems (Android, iOS, macOS, Linux) use LoadLibrary from System.SysUtils - it wraps dlopen, which Remy mentioned.

    • Like 1

  12. You already asked on StackOverflow, where I commented on it.

     

    i.e. "WearOS is just a subset of Android (but also includes its own functionality). You can write apps for it with Delphi, but need to bear in mind the differences" (Comment has a correction because I erroneously referred to WatchOS)

     

    One of the major differences being the screen size is a lot smaller.

    3 minutes ago, Gabriell said:

    What do I need?

     

    I have Delphi 12.2 Professional with Mobile.

    You could do it with that. I've created WearOS apps with Delphi, including 12.2. I'd need to seek permission to make the code public.


  13. 3 hours ago, Manuel S. said:

    Hi, I have also tested demo on android 11, 12 and 14 but in any version consent is translated in any language. Have you some idea?

    In google document I have found that form is automacally translated but seems to be different.

    Please refer to this documentation.

     


  14. On 2/20/2025 at 12:54 AM, Fernando Farah said:

    I have the error below...

    That's not even an error - it's a command issued by PAServer as part of the process to discover what certificates/profiles are available on your Mac.

     

    What is the actual issue you are having? It would be helpful if you provided: what version of Delphi you have and what version of Xcode is on the Mac.

     

    Given the cut-off part of the messages in the screenshot, it appears you are using a version of Delphi earlier than 12.2. Note that earlier versions of Delphi will not work with Xcode 16 (or later), since there was a change to the location of the provisioning profiles in Xcode 16. If you are using Delphi 12.1 or earlier, and Xcode 16 (or later), you'd need to either upgrade to Delphi 12.2, or revert to the last version of Xcode 15 (which is 15.4)


  15. 6 hours ago, Anto90 said:

    From google play console i get this detail:

    You have not answered this part:

    23 hours ago, Dave Nottage said:

    Also, which version of Delphi are you using?

    Meaning which version was used to compile the app where the problem is happening.


    Regardless, are you able to reproduce the issue (RSP-23962) using the same steps as in the report? If so, please indicate what device(s) this is happening on.

×