Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   Delphi IOS linker error E2597 File not found MessageUI (https://www.delphipraxis.net/200316-ios-linker-error-e2597-file-not-found-messageui.html)

QuickAndDirty 9. Apr 2019 10:28

IOS linker error E2597 File not found MessageUI
 
Hallo ich bekomme beim compilieren
auf Delphi RIO
für IOS
diesen Linker Fehler

Code:
[DCC Fehler] E2597 ld: file not found: /System/Library/Frameworks/MessageUI.framework/MessageUI
XCODE ist aktuell
PAClient ist aktuell
MAC OS ist aktuell
IPhone 5S Betriebssystem ist aktuell (Wenn der Support nicht eingestellt wurde...)

Hat jemand schon mal dieses Problem gehabt?
Weiß jemand wie man das Problem beseitigt?

jsp 9. Apr 2019 10:47

AW: IOS linker error E2597 File not found MessageUI
 
(Quelle: https://www.woll2woll.com/single-pos...ent-FireMonkey)

You will need to add the MessageUI framework to your iOS sdk in the RAD Studio IDE.

1. Select from the IDE - Tools | Options | SDK Manager

2. Then for your 64 bit platform (and 32 bit if you like) do the following

a) Scroll to the bottom of your Frameworks list and select the last on

b) Click the add button on the right to add a new library reference and then enter the following data for your entry

Path on remote machine: $(SDKROOT)/System/Library/Frameworks

File Mask: MessageUI

Path Type: Leave unselected

3. Click the button Update Local File Cache to update your sdk

4. Click the OK Button to close the dialog

Once you have done this, you can compile the project and it should yield no linker errors.

Gruss, Jörn

QuickAndDirty 9. Apr 2019 11:31

AW: IOS linker error E2597 File not found MessageUI
 
Oh Danke!
Ich glaube das ist die Ursache.
Werde es sofort ausprobieren!

Danke!

QuickAndDirty 9. Apr 2019 12:03

AW: IOS linker error E2597 File not found MessageUI
 
Leider war es das nicht.
Ich hatte das bereits eingetragen
und auch den cache aktualisiert

aber im ordner
C:\Users\Musteruser\Documents\Embarcadero\Studio\S DKs\iPhoneOS11.2.sdk\System\Library\Frameworks
gibt es keinen Ordner MessageUI.framework

QuickAndDirty 9. Apr 2019 12:31

AW: IOS linker error E2597 File not found MessageUI
 
Habe im Linker menu
Options Passed
Code:
-framework MessageUI
eingegben

keine Änderung

Rollo62 10. Apr 2019 07:16

AW: IOS linker error E2597 File not found MessageUI
 
In deinem SDK-Verzeichnis auf C: müsste MessageUI.framework enthalten sein.
Unter Users
Zitat:

\Dokumente\Embarcadero\Studio\SDKs\iPhoneOS12.1.sd k\System\Library\Frameworks\MessageUI.framework\*. *
Ist das jetzt vorhanden, neben allen anderen Frameworks, oder nicht ?

QuickAndDirty 18. Apr 2019 10:25

AW: IOS linker error E2597 File not found MessageUI
 
Ich habe den Eintrag zu MessageUI falsch angelegt.

habe beim anlegen in den Pfadbereich STRG+V gedrückt. Dabei setzt er den PathType.... und man bekommt das dann nicht mehr weg.
Richtig wäre es gewesen, einen pfad aus der Dropdownliste auszuwählen, dabei löscht er den Pfadtype.

Ich wusste nicht das es diese Möglichkeit keinen Pfadtyp auszuwählen gibt!

Rollo62 18. Apr 2019 11:57

AW: IOS linker error E2597 File not found MessageUI
 
Liste der Anhänge anzeigen (Anzahl: 1)
Richtig, so sollte es aussehen:

Anhang 51029

Das ist immer etwas unsicher bei der Erstellung.

Ich lege mir das deshalb immer so an:
  1. Öffne einen bereits existierenden Eintrag
  2. Kopiere den richtigen Remote Framework-Pfad aus dem obersten Feld
    (ich verlasse mich nicht auf das Dropdown-Menü)
  3. Schliesse den Eintrag wieder
  4. Lege mit dem * Button einen neuen, leeren Eintrag an
  5. Kopiere den gespeicherten Remote Framework-Pfad in die obere Zeile
  6. Trage den neuen Framework-Namen ein: z.B. AudioToolbox
  7. Sonst darf kein Eintrag gesetzt werden (alle Radio/Checkboxen bleiben leer)
  8. Schliesse und speichere den Inhalt

Damit hat es bisher immer funktioniert.


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:53 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