Einzelnen Beitrag anzeigen

philipp.hofmann

Registriert seit: 21. Mär 2012
Ort: Hannover
898 Beiträge
 
Delphi 10.4 Sydney
 
#1

iOS: Linken geht seit Update des letzten Delphi-Patches nicht mehr

  Alt 25. Nov 2020, 16:15
Hi,

ich habe heute den Fehler gemacht, das heutige Delphi-Patch für MacOS/iOS einzuspielen, welches Kompabilität mit XCode 12.2, MacOS 11 und iOS 14.2 versprach.
Egal, ob ich nun mit dem alten oder einem neu generierten SDK versuche meine App zu starten, erhalte ich die folgenden Fehler:
Code:
  Undefined symbols for architecture arm64:
    Error: "_OBJC_CLASS_$_AVCaptureVideoDataOutput", referenced from:     objc-class-ref in libavdevice.a(avfoundation.o);
      Error: "_OBJC_EHTYPE_$_NSException", referenced from:     GCC_except_table6 in libavdevice.a(avfoundation.o);
      Error: "_OBJC_CLASS_$_NSObject", referenced from:     _OBJC_CLASS_$_AVFFrameReceiver in libavdevice.a(avfoundation.o);     _OBJC_CLASS_$_AVFAudioReceiver in libavdevice.a(avfoundation.o);     _OBJC_CLASS_$_UIKit_UIAlertViewDelegate in libSDL2.a(SDL_uikitmessagebox.o);     _OBJC_CLASS_$_SDLUIAccelerationDelegate in libSDL2.a(SDLUIAccelerationDelegate.o);
      Error: "_OBJC_CLASS_$_AVCaptureDeviceInput", referenced from:     objc-class-ref in libavdevice.a(avfoundation.o);
      Error: "_OBJC_METACLASS_$_NSObject", referenced from:     _OBJC_METACLASS_$_AVFFrameReceiver in libavdevice.a(avfoundation.o);     _OBJC_METACLASS_$_AVFAudioReceiver in libavdevice.a(avfoundation.o);     _OBJC_METACLASS_$_UIKit_UIAlertViewDelegate in libSDL2.a(SDL_uikitmessagebox.o);     _OBJC_METACLASS_$_SDLUIAccelerationDelegate in libSDL2.a(SDLUIAccelerationDelegate.o);     _OBJC_METACLASS_$_SDL_uikitview in libSDL2.a(SDL_uikitview.o);     _OBJC_METACLASS_$_SDL_uikitopenglview in libSDL2.a(SDL_uikitopenglview.o);     _OBJC_METACLASS_$_SDL_uikitviewcontroller in libSDL2.a(SDL_uikitviewcontroller.o);     ...
    Error: "_OBJC_CLASS_$_AVCaptureSession", referenced from:     objc-class-ref in libavdevice.a(avfoundation.o);
      Error: "_OBJC_CLASS_$_AVCaptureDevice", referenced from:     objc-class-ref in libavdevice.a(avfoundation.o);
      Error: "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:     objc-class-ref in libavdevice.a(avfoundation.o);     objc-class-ref in libSDL2.a(SDL_rwopsbundlesupport.o);     objc-class-ref in libSDL2.a(SDL_uikitmessagebox.o);
      Error: "_OBJC_CLASS_$_CAEAGLLayer", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitopenglview.o);
      Error: "_OBJC_CLASS_$_NSNumber", referenced from:     objc-class-ref in libavdevice.a(avfoundation.o);     objc-class-ref in libSDL2.a(SDL_uikitopenglview.o);
      Error: "_OBJC_CLASS_$_NSOperationQueue", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitview.o);
      Error: "_OBJC_CLASS_$_NSDictionary", referenced from:     objc-class-ref in libavdevice.a(avfoundation.o);     objc-class-ref in libSDL2.a(SDL_uikitopenglview.o);
      Error: "_OBJC_CLASS_$_AVCaptureAudioDataOutput", referenced from:     objc-class-ref in libavdevice.a(avfoundation.o);
      Error: "__ZdlPv", referenced from:     _ModPlug_Load in libSDL2_mixer.a(modplug.o);     _ModPlug_Unload in libSDL2_mixer.a(modplug.o);     __ZN10CSoundFile7DestroyEv in libSDL2_mixer.a(sndfile.o);
      Error: "_OBJC_CLASS_$_NSCharacterSet", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitviewcontroller.o);
      Error: "__Znwm", referenced from:     _ModPlug_Load in libSDL2_mixer.a(modplug.o);     __ZN10CSoundFile7ReadMDLEPKhj in libSDL2_mixer.a(load_mdl.o);     __ZN10CSoundFile6ReadITEPKhj in libSDL2_mixer.a(load_it.o);     __ZN10CSoundFile8ReadAMS2EPKhj in libSDL2_mixer.a(load_ams.o);     __ZN10CSoundFile6ReadXMEPKhj in libSDL2_mixer.a(load_xm.o);     __ZN10CSoundFile7ReadDBMEPKhj in libSDL2_mixer.a(load_dbm.o);     __ZN10CSoundFile7ReadMT2EPKhj in libSDL2_mixer.a(load_mt2.o);     ...
    Error: "_OBJC_CLASS_$_NSFileManager", referenced from:     objc-class-ref in libSDL2.a(SDL_rwopsbundlesupport.o);
      Error: "_OBJC_CLASS_$_NSBundle", referenced from:     objc-class-ref in libSDL2.a(SDL_rwopsbundlesupport.o);
      Error: "_OBJC_CLASS_$_UIView", referenced from:     _OBJC_CLASS_$_SDL_uikitview in libSDL2.a(SDL_uikitview.o);
      Error: "_OBJC_CLASS_$_UIAlertView", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitmessagebox.o);
      Error: "_OBJC_CLASS_$_NSRunLoop", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitmessagebox.o);     objc-class-ref in libSDL2.a(SDL_uikitopenglview.o);
      Error: "_OBJC_CLASS_$_NSString", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitmessagebox.o);     objc-class-ref in libSDL2.a(SDL_uikitviewcontroller.o);
      Error: "_OBJC_CLASS_$_NSDate", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitmessagebox.o);
      Error: "_OBJC_CLASS_$_UIAccelerometer", referenced from:     objc-class-ref in libSDL2.a(SDLUIAccelerationDelegate.o);
      Error: "_OBJC_CLASS_$_UIScreen", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitwindow.o);     objc-class-ref in libSDL2.a(SDL_uikitopengles.o);     objc-class-ref in libSDL2.a(SDL_uikitmodes.o);     objc-class-ref in libSDL2.a(SDL_uikitview.o);
      Error: "_OBJC_CLASS_$_UIDevice", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitviewcontroller.o);     objc-class-ref in libSDL2.a(SDL_syspower.o);
      Error: "_OBJC_CLASS_$_UIApplication", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitwindow.o);     objc-class-ref in libSDL2.a(SDL_uikitmodes.o);     objc-class-ref in libSDL2.a(SDL_uikitview.o);
      Error: "_OBJC_CLASS_$_UIWindow", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitwindow.o);
      Error: "_OBJC_CLASS_$_EAGLContext", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitopengles.o);     objc-class-ref in libSDL2.a(SDL_uikitopenglview.o);
      Error: "_OBJC_METACLASS_$_UIView", referenced from:     _OBJC_METACLASS_$_SDL_uikitview in libSDL2.a(SDL_uikitview.o);
      Error: "_OBJC_CLASS_$_UITextField", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitview.o);
      Error: "_OBJC_CLASS_$_NSNotificationCenter", referenced from:     objc-class-ref in libSDL2.a(SDL_uikitview.o);
      Error: "__ZdaPv", referenced from:     __ZN10CSoundFile7DestroyEv in libSDL2_mixer.a(sndfile.o);     __ZN10CSoundFile11FreePatternEPv in libSDL2_mixer.a(sndfile.o);     __ZN10CSoundFile14SetPatternNameEjPKc in libSDL2_mixer.a(sndfile.o);     __ZN10CSoundFile7ReadMDLEPKhj in libSDL2_mixer.a(load_mdl.o);     __Z9AMSUnpackPKcjPcjc in libSDL2_mixer.a(load_ams.o);     __ZN10CSoundFile7ReadAMFEPKhj in libSDL2_mixer.a(load_amf.o);
      Error: "__Znam", referenced from:     __ZN10CSoundFile15AllocatePatternEjj in libSDL2_mixer.a(sndfile.o);     __ZN10CSoundFile14SetPatternNameEjPKc in libSDL2_mixer.a(sndfile.o);     __ZN10CSoundFile7ReadMDLEPKhj in libSDL2_mixer.a(load_mdl.o);     __ZN10CSoundFile6ReadITEPKhj in libSDL2_mixer.a(load_it.o);     __ZN10CSoundFile14LoadMixPluginsEPKvj in libSDL2_mixer.a(load_it.o);     __ZN10CSoundFile7ReadAMSEPKhj in libSDL2_mixer.a(load_ams.o);     __ZN10CSoundFile8ReadAMS2EPKhj in libSDL2_mixer.a(load_ams.o);     ...
    Error: "_OBJC_METACLASS_$_UIViewController", referenced from:     _OBJC_METACLASS_$_SDL_uikitviewcontroller in libSDL2.a(SDL_uikitviewcontroller.o);
      Error: "_OBJC_CLASS_$_UIViewController", referenced from:     _OBJC_CLASS_$_SDL_uikitviewcontroller in libSDL2.a(SDL_uikitviewcontroller.o);
Zusätzlich ist mir aufgefallen, dass einige Ordner im SDK14.2 leer sind, wo eigentlich der in den Screenshot zu sehende Content drinnen stehen müsste (hier für die Übersicht aus SDK 13.5 rüber kopiert, was sicherlich nicht richtig ist).

a) Wie kann es sein, dass auch wenn ich Frameworks im SDK aufnehme, diese nicht unter
iPhoneOS14.2.sdk\System\Library\PrivateFrameworks
auftauchen?
b) Wie kann es sein, dass
iPhoneOS14.2.sdk\usr\lib\system
erst gar nicht existiert? Sind dies wirklich Fehler in Delphi oder kann das noch eine Konfiguration sein?

Grüße, Philipp
Miniaturansicht angehängter Grafiken
skd_14_2_error1.png   skd_14_2_error2.jpg  
  Mit Zitat antworten Zitat