Jump to content

kabiri

Members
  • Content Count

    60
  • Joined

  • Last visited

Posts posted by kabiri


  1. I have a $99 developer account from Apple.

    Now I can compile the app for the actual phone and run it on the phone.

    But when I select Application store mode. In the Project - Option - Development - Provisioning section, the Provision Profile value is empty and only the default AUTO option is displayed.

    On the Apple website, in the Certificates section, I have created the iOS Distribution certificate and installed it in MACOS as well.

    Where am I wrong?


  2. 23 hours ago, Dave Nottage said:

    I think you mean Provisioning Profile, but given your comment here, you have resolved that now?

    Yes Provisioning Profile.

    But i can compile app for Development configuration (not for Application store or Ad Hoc).

    To publish the app in the app store, i need to compile the application store, but I don't know how.

    I have an unspecified problem with Kastri


  3. 18 minutes ago, Dave Nottage said:

    Yes, I have already installed

     

    i found my problem!

    I get an error when I use the kastri library. Also, permissions were not installed on the Mac.
    I installed the certificate and wrote a blank app and it ran fine on the real machine.

     

    But I don't know what certificate I should use to build the program for Application store mode.


  4. 12 hours ago, Dave Nottage said:

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

    I have a real device. When I can't test on emulator, then I have to test on real device.

    My real device is iphone 6 (ios v12.4).

    But when the compilation is finished in Delphi, Delphi gives a message that the device was not found.

     

    12 hours ago, Dave Nottage said:

    You should not need to. 

    Isn't SDK12 needed for IOS12?

    Do apps written with SDK15.5 work on devices with IOS12?

     

    ------------EDIT--------------

    In XCODE i can select Deployment target , how i can set it in Delphi?


  5. Hello

    On 9/17/2022 at 3:29 AM, Raymond Ng said:

    When try deploy a New Blank App to simulator, following error appear,

    image.thumb.png.5a708c98c74489c1597737c41f74a6e0.png

    image.thumb.png.f5b264840aba7565c8b8dc6002128ff0.png

     

    image.thumb.png.c0fc18bc4978d51c1ceb3015ce002f90.pngimage.thumb.png.63a65059144d9265bfc906e17e47cd56.png

    I have same problem too

     

    On 9/17/2022 at 6:43 AM, Dave Nottage said:

    You appear to be using an Intel-based Mac. Support for iOS Simulator is for M1 or M2 based Macs only.

    And yes i using an Intel-based Mac (Ver 12.4 (21F79)) + XCode (Version 13.4 (13F17a)) and Delphi 11.2 

     

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

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


  6. I migrate from VCL to FMX and replace TWSocketThrdServer with TWSocketServer but clicent can not connect

     

      TMyClient = class(TWSocketClient)
      public
        RcvdLine    : AnsiString;
        ConnectTime : TDateTime;
      end;

    ...

        WSocketServer1.Proto       := 'tcp';                { Use TCP protocol  }
        WSocketServer1.Port        := '8085';               { Use telnet port   }
        WSocketServer1.Addr        := '0.0.0.0';            { Use any interface }
        WSocketServer1.ClientClass := TMyClient;            { Use our component }
        WSocketServer1.Listen;                              { Start listening    }

     

    procedure TfrmDataModule.WSocketServer1ClientCreate(Sender: TObject;
      Client: TWSocketClient);
    var
        Cli : TMyClient;
    begin
        Cli := Client as  TMyClient;
        Cli.OnDataAvailable     := ClientDataAvailable;
        Cli.OnLineLimitExceeded := ClientLineLimitExceeded;
        Cli.OnBgException       := ClientBgException;
        Cli.ConnectTime         := Now;
    end;

     

     

    procedure TfrmDataModule.WSocketServer1ClientConnect(Sender: TObject;
      Client: TWSocketClient; Error: Word);
    begin
        with Client as TMyClient do begin

            //Client.LineMode            := TRUE;
            //Client.LineEdit            := TRUE;
            //Client.LineLimit           := 255; { Do not accept long lines }
            Client.OnDataAvailable     := ClientDataAvailable;
            Client.OnLineLimitExceeded := ClientLineLimitExceeded;
            Client.OnBgException       := ClientBgException;
            TMyClient(Client).ConnectTime  := Now;
        end;
    end;

×