Jump to content

Dave Nottage

Members
  • Content Count

    1608
  • Joined

  • Last visited

  • Days Won

    36

Posts posted by Dave Nottage


  1. For anyone following this thread, the relevant QP report is here:

     

      https://quality.embarcadero.com/browse/RSP-27218

     

    As per my comment on the report (dated Aug 24), it would be possible to recompile System.pas (it needs a change to ICU.inc), however unfortunately, the files ex.android.arm.inc and ex.android.arm64.inc are not supplied, thus making it impossible without help from Embarcadero.

    • Thanks 1

  2. 2 hours ago, Gary Wardell said:

    I am not clear on what link to use to download the whole project. Or do I have to download each file individually.

    The best way forward is to download the repository:

     

      https://github.com/DelphiWorlds/KastriFree

     

    Either via the download link (from the green "Code" button), or preferably use a Git client, like Fork:

     

      https://git-fork.com/

     

    Once you have the repository: 

    • Unzip Firebase.6.16.0.zip in the ThirdParty/Firebase/iOS folder. 
    • Put your GoogleServices.info.plist from your Firebase Console project in the Resources folder of the demo
    • Load the demo and compile

     

     


  3. 47 minutes ago, Rollo62 said:

    Strange, I think I did the same here in my VM.

    Are you saying that the /usr/lib/system folder exists in your iOS 13.6 SDK? i.e. the full path:

     

      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneIS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/system

     

    51 minutes ago, Rollo62 said:

    I assume you did already XCode cleanup complete and reinstall.

    No, I did a normal upgrade. Why would I need to completely uninstall?


  4. 47 minutes ago, Rollo62 said:

    I just made a normal XCode update to SDK13.6, did you do this update via command line ?

    My Xcode was updated to 11.6 via the App Store app on my Mac. It includes the iOS 13.6 SDK. 

    48 minutes ago, Rollo62 said:

    fastlane run verify_xcode

    fastlane verified Xcode as OK.

    54 minutes ago, Rollo62 said:

    So could you fix it ?

    Not as yet


  5. 2 hours ago, TurboMagic said:

    Is .\assets\internal the right path to use when adding this file to deployment manager?

    You could use that one, however if you have versions for both 32-bit and 64-bit (or just one of either) you might want to deploy to:

     

    library\lib\armeabi-v7a

    library\lib\arm64-v8a

     

    For 32-bit and 64 bit respectively, and use:

    LoadLibrary(TPath.Combine(TPath.GetLibraryPath, 'test.so'))

     


  6. 8 hours ago, H4k4nn said:

    What is the problem? Is there anything that I miss for arm64?

    My steps:

     

    In the script:

     

    Modify SDKVERSION to "13.6" (which is what I have), and MINIOSVERSION to "11.0" (Delphi 10.4 supports only 11.0 or higher)

    Modify ARCHS to "x86_64 arm64"  (32-bit does not apply to 10.0 or higher)

     

    Run the script (build-libopus.sh)

     

    Run the command:

     

      file dependencies/lib/libopus.a

     

    Output:

     

    dependencies/lib/libopus.a: Mach-O universal binary with 2 architectures: [x86_64:current ar archive random library] [arm64]

    dependencies/lib/libopus.a (for architecture x86_64): current ar archive random library

    dependencies/lib/libopus.a (for architecture arm64): current ar archive random library

     

     


  7. 2 minutes ago, Mike Torrettinni said:

    How do you do that

     

    9 minutes ago, Dave Nottage said:

    I usually add a Boolean value to the interposer

    For your case:

    TPanel = class(Vcl.ExtCtrls.TPanel)
    private
      FSpecialised: Boolean;
    protected
      procedure Paint; override;
      property Specialised: Boolean read FSpecialised write FSpecialised;
    end;

    When the form is created, set the Specialised property to True for the TPanels where they need the special treatment. In the Paint method, check the FSpecialised flag.

×