I have a multidevice application developped with Rad Studio in Delphi, all work with Android, but when I want to execute the project on iOS, I have this error.
This is the output :
Build started 08/10/2020 15:14:20.
Project "E:\Code\APELMOBILE\APEL_MOBILE_CLIENT.dproj" (Make target(s)): Target _PasCoreCompile:
c:\program files (x86)\embarcadero\studio\21.0\bin\dccios32.exe -$D0 -$L- -$Y- --no-config -M -Q -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults -DRELEASE;AMC -E.\iOSSimulator\Release -I"c:\program files (x86)\embarcadero\studio\21.0\lib\iOSSimulator\Release" -LEC:\Users\Public\Documents\Embarcadero\Studio\21.0\Bpl\iOSSimulator -LNC:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp\iOSSimulator -NU.\iOSSimulator\Release -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files (x86)\embarcadero\studio\21.0\lib\iOSSimulator\Release" -R"c:\program files (x86)\embarcadero\studio\21.0\lib\iOSSimulator\Release" -U"c:\program files (x86)\embarcadero\studio\21.0\lib\iOSSimulator\Release" --ios-version-min:10.0 -NBC:\Users\Public\Documents\Embarcadero\Studio\21.0\Dcp\iOSSimulator -NO.\iOSSimulator\Release --sdk-version:14.0 APEL_MOBILE_CLIENT.dpr
E:\Code\APELMOBILE\Accueil.pas(9,92): error F2613: F2613 Unit 'FMX.WebBrowser.Delegate.Cocoa' not found.
E:\Code\APELMOBILE\Accueil.pas(9,92): error F2613: Unit 'FMX.WebBrowser.Delegate.Cocoa' is used by 'FMX.WebBrowser.Delegate.iOS'
E:\Code\APELMOBILE\Accueil.pas(9,92): error F2613: Unit 'FMX.WebBrowser.Delegate.iOS' is used by 'FMX.WebBrowser.Cocoa'
E:\Code\APELMOBILE\Accueil.pas(9,92): error F2613: Unit 'FMX.WebBrowser.Cocoa' is used by 'FMX.WebBrowser'
E:\Code\APELMOBILE\Accueil.pas(9,92): error F2613: Unit 'FMX.WebBrowser' is used by 'FMX.TabControl'
Done building target "_PasCoreCompile" in project "APEL_MOBILE_CLIENT.dproj" -- FAILED.
Done building project "APEL_MOBILE_CLIENT.dproj" -- FAILED.
Build FAILED.
E:\Code\APELMOBILE\Accueil.pas(9,92): error F2613: F2613 Unit 'FMX.WebBrowser.Delegate.Cocoa' not found.
E:\Code\APELMOBILE\Accueil.pas(9,92): error F2613: Unit 'FMX.WebBrowser.Delegate.Cocoa' is used by 'FMX.WebBrowser.Delegate.iOS'
E:\Code\APELMOBILE\Accueil.pas(9,92): error F2613: Unit 'FMX.WebBrowser.Delegate.iOS' is used by 'FMX.WebBrowser.Cocoa'
E:\Code\APELMOBILE\Accueil.pas(9,92): error F2613: Unit 'FMX.WebBrowser.Cocoa' is used by 'FMX.WebBrowser'
E:\Code\APELMOBILE\Accueil.pas(9,92): error F2613: Unit 'FMX.WebBrowser' is used by 'FMX.TabControl'
0 Warning(s)
5 Error(s)
Time Elapsed 00:00:01.45
Did you found a solution for this?
Mine was to add to the project the missing unit source file, which in my case is at: C:\Program Files (x86)\Embarcadero\Studio\21.0\source\fmx\FMX.WebBrowser.Delegate.Cocoa.pas