Jump to content

kabiri

Members
  • Content Count

    62
  • Joined

  • Last visited

Everything posted by kabiri

  1. kabiri

    The problem of running the app on IOS

    DB is created at runtime and does not exist at design time. But to be sure, I checked its connection value is False. In TfrmMain.FormCreate and TfrmMain.FormShow TfrmMain.FormActivate events, I have nothing to do with the database. begin Application.Initialize; Application.CreateForm(TfrmMain, frmMain); Application.Run; end. procedure TfrmMain.FormCreate(Sender: TObject); begin //Application.Create(TfrmDataModule, frmDataModule); frmDataModule:=TfrmDataModule.Create(self); isEmpty:=True; I gave these changes and it didn't make any difference. Line frmDataModule:=TfrmDataModule.Create(self); I deleted Now it displays the main form, but breakpoints are still disabled.
  2. 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?
  3. kabiri

    How to compile an app for Application store mode?

    I have already downloaded the certificates. And I have installed in Keychain Access. But I didn't know where to copy the profile I made. For this reason, I copied the JalaliCalender.mobileprovision file next to the project file (JalaliCalender.dproj).
  4. kabiri

    How to compile an app for Application store mode?

    I found the solution (Download manual provisioning profiles) https://help.apple.com/xcode/mac/current/#/deva899b4fe5 but have new problem identifier is not match I manually added the App ID Prefix in Delphi, but it still shows the same error -----Edit---- in Project - Option - version info i set CFBundleIdentifier and problem solved.
  5. kabiri

    How to compile an app for Application store mode?

    I have done these steps before. I will delete the previous one and do it again.
  6. kabiri

    Delphi 11 for iOS 16 ?

    My problem has gone off topic from somewhere It is better to open a new topic for this problem
  7. kabiri

    Delphi 11 for iOS 16 ?

    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
  8. kabiri

    Delphi 11 for iOS 16 ?

    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.
  9. kabiri

    Delphi 11 for iOS 16 ?

    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. 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?
  10. kabiri

    Delphi 11 for iOS 16 ?

    Hello I have same problem too 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)
  11. I install ICS8.6.1 but TWSocketThrdServer missing in FMX
  12. kabiri

    Missing TWSocketThrdServer

    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;
×