danieleteti / delphimvcframework

DMVCFramework (for short) is a popular and powerful framework for WEB API in Delphi. Supports RESTful and JSON-RPC WEB APIs development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't compile in Ios

drcrck opened this issue · comments

Hi, with last 3.2.2 version I can't compile anymore my Ios app.
well, i know, Dmvc it's only for server app! but we user mvc.serializer units to manage our objects.

it seems there's now a new unit dependency that include "mvcdframework.pas" in my project. I've done some search and i found this.
image

How i can now use serializer in Ios ?
thanks

Hi DMVCFramework is not only for server app. Many of the internal libraries can be used on clients as well.
The problem is that MVCFramework.pas is not compilable (by design) on iOS?

Hi Daniele!
no, not only for the initial message.

First problem, it not found "web.apacheHTTP" unit.
so i added "C:\Program Files (x86)\Embarcadero\Studio\22.0\source\internet" at path lib.

but at this time it gives me this error:
[DCC Error] MVCFramework.pas(1979): E2003 Undeclared identifier: 'TISAPIRequest'

image

so there's something more to adjust :(

a little consideration : ok if we'll made it works, perfect!
but if in my "small" app I needs only serializer , it can be "too heavy" compile inside all dmvc core.
there's no any way to decouple serialization and core like older version?
thanks