AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Delphi-PRAXiS - Lounge Delphi-News aus aller Welt Solution to iOS Delphi build failure
Thema durchsuchen
Ansicht
Themen-Optionen

Solution to iOS Delphi build failure

Ein Thema von DP News-Robot · begonnen am 8. Jan 2019
Antwort Antwort
Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.408 Beiträge
 
#1

Solution to iOS Delphi build failure

  Alt 8. Jan 2019, 20:50
Some Delphi users building iOS applications have been thwarted by a…, well let’s be polite and call it a bit of an annoyance when building their applications. What should just be an informational message about a warning from the ld linker ends up becoming a build breaker. The failure message looks something like this example (taken from RSP-19759, reported in January 2018):

[DCC Error] E2597 ld: warning: unknown dwarf DW_FORM_strp (offset=0xFFFFCEE7) is too big in FBSDKShareKit.a(FBSDKAppInviteContent.o)
ld: warning: unknown dwarf DW_FORM_strp (offset=0xFFFF6E38) is too big in C:\Dev\lib\ios\facebook\FBSDKShareKit.framework\FB SDKShareKit.a(FBSDKAppInviteContent.o)The fact that ld is emitting a warning about something is neither here not there. Or rather it *should* be neither here nor there. Unfortunately when Delphi receives this warning it turns it into a fatal error.

Oh dear… (?_??)

Delphi 10.3 Rio contains a change to address this issue…. ???

Unfortunately, however, Embarcadero forgot to mention it to anyone ¯\_(?)_/¯

This post tries to fix that communications oversight by covering the details of the change, which is an important step as you do need to add in a new compiler / linker switch.

The iOS ld linker now supports a new option –bequiet, which stops Delphi being able to wrongly interpret the ld warnings (by silencing them).

To use the new option choose Project | Options… (Shift+Ctrl+F11) and do one of these two things:

  • select Building | Delphi Compiler | Compiling | Other Options and add --linker-option:-bequiet to Additional options to pass to the compiler, or
  • select Building | Delphi Compiler | Linking and add [FONT=Courier New]-bequiet[/FONT] to Options passed to the LD linker
You should now be able to build your project successfully without this little hindrance.

Good luck!



Weiterlesen...
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 06:24 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz