Jump to content

Dave Nottage

Members
  • Content Count

    1608
  • Joined

  • Last visited

  • Days Won

    36

Posts posted by Dave Nottage


  1. 59 minutes ago, kabiri said:

    Where am I wrong?

    You need to create an Application ID (on the Apple Developer site, this is Identifiers),

     

    image.thumb.png.8e2ce7f5ce3ab99fff4f5ddb2942ebfa.png

     

    image.thumb.png.d9da6233b84605c14d69a12f7ffd6054.png

     

    In general, you won't need to select any entitlements unless you plan on having Push Notifications in your app, in which case select that entitlement from the list
    For Description, use a description about your application (e.g. just the name), and for Bundle ID, the convention is to use a domain you have, in reverse, then the name of the application. The Description and Bundle ID pictured are just examples.

     

    You will also need a Provisioning Profile (in Profiles) for App Store:

     

    image.thumb.png.64d5e043af801709f5162c4e1636ee61.png

     

     


  2. 2 hours ago, kabiri said:

    how can i test on iphone 6 (ios v12.4)?

    One way would be to have a real device. What is the reason for wanting to test specifically on that?

    2 hours ago, kabiri said:

    how can i add IOS SDK 12 to Delphi?(now i have SDK15.5)

    You should not need to. 

    • Thanks 1

  3. 1 hour ago, alogrep said:

    A to send more code, it is not feasible because is too long and nobody would take the time or have the patience to read it.

    You could at least post the code for whatever the method is that starts with "ProcessH", as per my earlier comment. You provided a screenshot and said that is where the problem occurs.

     


  4.  

    17 minutes ago, alogrep said:

    However the call stack doesn't go inside the procedure where the problem actually happes.

    Then the problem is not actually happening inside that procedure (though the root cause may be there). The problem is occurring in a method in the Http unit, in a class called TTCPHttpThrd in a method with a name starting with "ProcessH", but the rest of the callstack window is cut off in your screenshot


  5. 5 minutes ago, at3s said:

    Is it possible to access remotely to the Mac device where PAServer is running?

    Or should this Mac be in the same LAN network where is the Delphi machine rather?

    As long as the PAServer is exposed to the "outside world" (perhaps by port forwarding), yes.. that is possible. Bear in mind however that if you're deploying to a device, the machine that has PAServer on it needs to be able to access the device, either by being connected directly to that machine, or possibly using something like this: https://www.net-usb.com/

    • Like 1

  6. 14 hours ago, saeedbay said:

    an error message as follows. :

    I doubt that error message (platform architecture issue) is related to the API level issue. It's possible that you're compiling for 64-bit and the installed OS is 32-bit. Be aware that some devices have a 64-bit CPU, but have a 32-bit Android OS installed.

    • Like 1

  7.  

    The error message:

     java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider"

    Usually means that the jar that contains the class androidx.core.content.FileProvider was not included in your app. This class is in core-1.5.0-rc02.dex.jar, and should appear in the Libraries node, as per the instructions in my earlier reply. This is an example of what it should look like:

     

    image.png.61283d7e83365d5d53f6b1620189cf90.png

     

    i.e. the package in question does not have a red "x" in the icon


  8. 19 minutes ago, saeedbay said:
    I updated the SDK from the command line and defined the path of platform 33 in the sdkmanager of Delphi editor, but in the
    Androidmanifest.xml file, the "targetSdkVersion" is still on the number 30, which means the previous platform.

    The targetSdkVersion value is whichever target API level Delphi currently supports, i.e. it is not determined by which API level you have selected. It should allow you to set this (see https://quality.embarcadero.com/browse/RSP-38976), however if you want it to be something different you'll need to change it in the AndroidManifest.template.xml file.

×