-
Content Count
1607 -
Joined
-
Last visited
-
Days Won
36
Everything posted by Dave Nottage
-
Thread does not synchronize two times in macOS
Dave Nottage replied to Nick Blunda's topic in Cross-platform
Looks like a bug - In the TPlatformCocoa.ShowWindowModal method in FMX.Platform.Mac, it never calls CheckSynchronize inside of the loop. In Delphi 12, modifying FMX.Platform.Mac.pas starting at line 4855: while True do begin CheckSynchronize; // <--- Add this line Fixes it. -
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
Dave Nottage replied to kabiri's topic in Cross-platform
Thanks.. I've updated the readme now. -
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
Dave Nottage replied to kabiri's topic in Cross-platform
Which has changed in the last few weeks, and is now dependent on AppTrackingTransparency. See the updated readme. -
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
Dave Nottage replied to kabiri's topic in Cross-platform
Which program? What libraries is your program using? -
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
Dave Nottage replied to kabiri's topic in Cross-platform
If your project requires AppTrackingTransparency, you also need to add that framework to the SDK, as per these instructions. -
Example code for how to do it: uses Macapi.AppKit, Macapi.Helpers; procedure TForm1.Button1Click(Sender: TObject); var LMenu: NSMenu; LIndex: Integer; begin LMenu := TNSApplication.Wrap(TNSApplication.OCClass.sharedApplication).mainMenu; LIndex := LMenu.indexOfItemWithTitle(StrToNSStr('Window')); if LIndex > -1 then LMenu.itemAtIndex(LIndex).setHidden(True); end;
-
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
Dave Nottage replied to kabiri's topic in Cross-platform
You should not have to manually create missing folders. Even if you did, the files that the compiler needs would not be there. If there was a missing PrivateFrameworks folder, you may have to re-import the SDK using these steps: In the folder C:\Users\(username)\Documents\Embarcadero\Studio\SDKs, where (username) is the logged in user name, delete the relevant iPhoneOS SDK folder (e.g. iPhoneOS17.2.sdk) Delete the SDK from the SDK Manager in Delphi On the Mac, in the ~\PAServer\scratch-dir folder, remove any folders starting with cache-dir In Delphi, re-add the iOS SDK Repeat the steps mentioned earlier for importing Swift frameworks, ensuring that you also follow the manual step involving copying of folders. -
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
Dave Nottage replied to kabiri's topic in Cross-platform
Did you follow and/or check the instructions in my earlier reply? -
iOS Upgrade from Xcode 14.3.1 to XCode 15.2: Yes or No ?
Dave Nottage replied to Rollo62's topic in Cross-platform
You're not going to be able to debug on iOS 17 devices using Delphi until EMBT fix it, regardless of the Xcode version. If you need debugging on real devices, use one with iOS 16.x (if you can find one) -
iOS Upgrade from Xcode 14.3.1 to XCode 15.2: Yes or No ?
Dave Nottage replied to Rollo62's topic in Cross-platform
I might have, if I needed to use Xcode 14.3.1 - I have read back trying to work out why you need to. Delphi 11.3 and 12 works with Xcode 15.2 for me, aside from debugging with iOS 17 devices (as you discovered - known issue, yet to be resolved) -
Is it possible to stream my phone to my laptop?
Dave Nottage replied to JohnLM's topic in General Help
Not OBS (at least as far as I can tell), but I use this on Android: https://play.google.com/store/apps/details?id=com.ipphonecamera&hl=en&gl=US I thought they had an iOS version, but I could be mistaken. Can't seem to find it on the App Store. -
Get Unique Device Identifier under iOS Delphi 12
Dave Nottage replied to Levente's topic in Cross-platform
On iOS, it is common practice to use the identifierForVendor method of the UIDevice class. This value is guaranteed to remain the same for the life of the install (i.e. if the user uninstalls/re-installs your app, it may change). This code shows how to obtain it as a string. -
Weird error on latest SVN source release build with D12 (fix versio)
Dave Nottage replied to Tommi Prami's topic in GExperts
Just the DLL? Builds for release OK here. GExpertsRS120.zip -
Current state of the Embarcadero services
Dave Nottage replied to Lars Fosdal's topic in General Help
Working OK here in 12.0. They're apparently still working on resurrecting GetIt for 11.x -
android Delphi Android Intent while App is active creates black screen
Dave Nottage replied to DominikR's topic in FMX
Must be having memory issues - see this QP report. My only excuse is that it's from May last year. -
Does it happen with a blank project? Either way, can you post the source here?
-
MacOS with SDK 14.x: App crashs by requesting BluetoothLE1.DiscoverDevices
Dave Nottage replied to philipp.hofmann's topic in Cross-platform
Yes, they did: https://quality.embarcadero.com/browse/RSP-43324 -
Current state of the Embarcadero services
Dave Nottage replied to Lars Fosdal's topic in General Help
It's working for me (in the IDE) from here. -
Delphi 12.0 Athens is not correctly installing the Android SDK
Dave Nottage replied to scamp's topic in Cross-platform
What does JAVA_HOME show as, and do you have C:\Program Files\Eclipse Adoptium\jdk-11.0.14.101-hotspot\bin (or a variation thereof, depending on the hotspot version) in the PATH variable? Do you have anything else in the PATH that points to some other JDK? -
How to play .caf audio file created under iOS on Android platform (Delphi 12)?
Dave Nottage replied to Vanar's topic in FMX
Creates .caf files by recording audio? You realise you can record to AAC format on iOS, which can be played on Android?- 2 replies
-
- firemonkey
- ios
-
(and 2 more)
Tagged with:
-
Delphi 12: How to Select an Existing Video from Photos in the FireMonkey iOS App?
Dave Nottage replied to Vanar's topic in FMX
For photos, it's via SelectorImageStreamHandler. Videos are yet to be supported - thanks for the reminder 🙂 Edit: I've opened this issue in Kastri.- 6 replies
-
- delphi 12
- firemonkey
-
(and 1 more)
Tagged with:
-
Delphi 12: How to Select an Existing Video from Photos in the FireMonkey iOS App?
Dave Nottage replied to Vanar's topic in FMX
It works on Android and iOS. That comment is from 3 years ago, and the implementation has changed since then- 6 replies
-
- delphi 12
- firemonkey
-
(and 1 more)
Tagged with:
-
Delphi 12: How to Select an Existing Video from Photos in the FireMonkey iOS App?
Dave Nottage replied to Vanar's topic in FMX
This might be what you are after: https://github.com/DelphiWorlds/Kastri/tree/master/Demos/FilesSelector- 6 replies
-
- delphi 12
- firemonkey
-
(and 1 more)
Tagged with: