Menu

IOS8 support ?

Allen Chow
2014-09-18
2014-11-03
  • Allen Chow

    Allen Chow - 2014-09-18

    Any chance to have new IOS8 support ? Thanks !

     
  • Sebastian Zierer

    I'm sure this will come. Please feel free to report issues with iOS8 if you find any. That can greatly speed up things.

     
  • Babak Yaghoobi

    Babak Yaghoobi - 2014-09-18

    Hi

    I'll check it

    regards

     
  • Lasse Lægteskov

    Hi,

    I get this:
    [DCC Error] E2597 ld: cannot link directly with C:\Users\Lasse\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.0.sdk/usr/lib/system/libdispatch.dylib. Link against the umbrella framework 'System.framework' instead. for architecture armv7

    I think it's beacuse the library is hardcodet in DPF.iOS.Dispatch.pas to:

    const
    libdispatch = '/usr/lib/system/libdispatch.dylib';

    But I could be mistaken.

    Actually theres is a problem in FMX.Media too, so I hope that Embarcadero gets back soon and fixes this.

    BR

    Lasse

     
  • Sebastian Zierer

    This needs to changed to '/usr/lib/libSystem.dylib'. Also in MacApi.Dispatch.

     
  • Paul Richardson

    Paul Richardson - 2014-09-24

    Thanks for that single line Sebastian, I spent absolutely ages searching the web and trying to figure that one out.

    Lasse, if you don't want to change MacApi.Dispatch just change the line in DPF.iOS.Dispatch.pas, change any files in the DPF folder to use DPF.iOS.Dispatch instead of MacApi.Dispatch and then you need to make a copy of the
    C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\ios\iOSapi.AVFoundation.pas
    file preferably into your DPF install folder and rename. Then replace MacAPI.Dispatch in this file with DPF.iOS.Dispatch and replace all instances of iOSapi.AVFoundation in the DPF files uses clause with the new name. It worked for me, but you will have to remove any instances of iOSapi.AVFoundation and FMX.Media from your code.

    Hope this helps

    Paul

     
  • justapps

    justapps - 2014-09-24

    I just put those two changed files: MacApi.Dispatch and DPF.iOS.Dispatch.pas in my project folder when I want to use iOS 8.

     
  • Henrik Jakobsen

    Henrik Jakobsen - 2014-09-27

    would you please send me theese 2 files
    can't get it to work
    I stille get this error

     
  • Sebastian Zierer

    You can get the updated DPF.iOS.Dispatch from the SVN repository. I am not allowed to redistribute copyrighted Delphi units.

     
  • Chris

    Chris - 2014-10-21

    Hi
    I have this error. But after looking through the post, what are the files i need to change to fix this error when compiling with my project. I am using DPF 9.0.0 when building my project

     
  • Chris

    Chris - 2014-10-21

    Hi
    I have this error. But after looking through the post, what are the files i need to change to fix this error when compiling with my project. I am using DPF 9.0.0 when building my project

     
  • Chris

    Chris - 2014-10-21

    Hi Everyone
    Finally managed to understand Paul instructions.

    Copy the C:\Program Files (x86)\Embarcadero\Studio\15.0\source\rtl\ios\iOSapi.AVFoundation.pas into DPF source direction and rename it to iOSapi.AVFound.

    Then open iOSapi.AVFound and change the MacApi.dispatch to DPF.iOS.Dispatch

    Then in the DPF source directory, need to change the following files in the uses section from "iOSapi.AVFoundation" to "iOSapi.AVFound".

    These files are
    DPF.iOS.Classes.pas
    DPF.iOS.Media.pas
    DPF.iOS.AVPlayer.pas
    DPF.iOS.MediaPlayer.pas
    DPF.iOS.Media.pas
    DPF.iOS.MPMoviePlayerViewController.pas
    DPF.iOS.SlideDialog.pas
    DPF.iOS.MPVolume.pas
    DPF.iOS.AVFoundationConsts.pas

    Hope this will help others as well.

    thanks
    chris

     
  • Sebastian Zierer

    Make a copy of MacApi.Dispatch.pas into a new folder and patch the file there. Then add this folder as first item in the iOS "Library paths" in the Delphi options.
    No need to rename the unit and patch all the DPF.iOS.* files.

     
  • Allen Chow

    Allen Chow - 2014-11-03

    I'm still using XE5, when I use IOS8.1, it compiles with error :

    [DCC Error] E2597 ld: file not found: /usr/lib/libextension.dylib for architecture armv7

    What's wrong with it ?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.