Jump to content

Dave Nottage

Members
  • Content Count

    1613
  • Joined

  • Last visited

  • Days Won

    37

Posts posted by Dave Nottage


  1. On 11/23/2023 at 9:11 PM, dport said:

    Is there a successful method in Delphi to detect a cloned application?

    If there's a way to do it in Java or Kotlin, there's usually a way to do it in Delphi. Do you have any links discussing why this is a problem, and potential solutions?


  2. 10 minutes ago, Alexander Halser said:

    I am currently experimenting with the event.magnification value (which is a float value), to match FEventInfo.Distance in a way that the example from the official docs keeps working the way it promises, but doesn't.

    Have you investigated whether macOS sends regular touch events in addition to magnifyWithEvent when zooming? As I mentioned earlier, this may be a more reliable way, however it might be a bit complex.


  3. 10 hours ago, Andy.B said:

    "This app is not compatible with the latest version of Android."

    It's because you're running a 32-bit app on a 64-bit device with a newer version of Android that contains that warning message because 32-bit will eventually go away. To avoid the warning, deploy a 64-bit version of your app.

    • Like 1

  4. 12 minutes ago, FoxAl said:

    Has anyone else faced this issue before?

    Where the app is stuck in "Processing"? - Yes. On multiple occasions. The usual solution is to resubmit using Transporter - you'll have to bump the version of your app (e.g. go from CFBundleVersion value of 1.0.1 to 1.0.2), so that's annoying, but hopefully it'll not become "stuck" this time.

     


  5. 2 hours ago, Brandon Staggs said:

    I am looking for a component to put an FMX application on the MacOS menu bar

    I need to provide some documentation, but I have this:

    https://github.com/DelphiWorlds/Kastri/tree/master/Demos/macOSStatusBar

     

    Also be aware that I personally use another variation of this because I had trouble with "dynamic" items when associating them with FMX menu items - it became easier to just forget FMX menu items entirely, though there's a bit more code involved. I can share that code later.

    • Like 1
    • Thanks 1

  6. 1 hour ago, Alexander Halser said:

    Everything else - simply broken

    Zoom is "broken" because the code assumes there are touch events available when the magnifyWithEvent method (in FMX.Platform.Mac) is called. In theory, the same result could be implemented using individual touch events, but it would be more complex. 

     

    magnifyWithEvent is supposed to be used in conjunction with the magnification property on the event parameter (an NSEvent).


    I didn't look into the other gestures.


  7. 1 hour ago, Dave Nottage said:

    It appears Xcode 15.1 has broken Delphi

    Actually, it hasn't. What was missing has happened before, i.e. it does not automatically download iOS support (weird). From the Xcode menu select Settings, then the Platforms tab. For the iOS 17.2 item, click Get:


    image.thumb.png.cb05320a984d8dbf66a260bda2deb62f.png

     

    (which I have already done in this picture)


    Even weirder: while downloading it says "simulator". Once that completes, deployment should work.

    • Like 6

  8. 1 minute ago, Shano said:

    Anyone know how to fix this issue?

    Is your Mac an M1 or M2 or M3 device?

     

    If so, start Xcode on the Mac, and click the Xcode menu, Open Developer Tool > Simulator. If you're able to do that, I'm not sure what the issue is.

     

    If your Mac is not an M1, M2 or M3, you're out of luck - Delphi supports only ARM-based Simulator, which is available on those kinds of Macs

×