-
Content Count
1279 -
Joined
-
Last visited
-
Days Won
28
Posts posted by Dave Nottage
-
-
32 minutes ago, softtouch said:When trying to go to my.embarcadero.com, I get a 504 error.
Same for a number of servers. @Ian Barker is looking into it.
-
10 minutes ago, Alexander Halser said:I am currently experimenting with the event.magnification value (which is a float value), to match FEventInfo.Distance in a way that the example from the official docs keeps working the way it promises, but doesn't.
Have you investigated whether macOS sends regular touch events in addition to magnifyWithEvent when zooming? As I mentioned earlier, this may be a more reliable way, however it might be a bit complex.
-
10 hours ago, Andy.B said:"This app is not compatible with the latest version of Android."
It's because you're running a 32-bit app on a 64-bit device with a newer version of Android that contains that warning message because 32-bit will eventually go away. To avoid the warning, deploy a 64-bit version of your app.
- 1
-
12 minutes ago, FoxAl said:Has anyone else faced this issue before?
Where the app is stuck in "Processing"? - Yes. On multiple occasions. The usual solution is to resubmit using Transporter - you'll have to bump the version of your app (e.g. go from CFBundleVersion value of 1.0.1 to 1.0.2), so that's annoying, but hopefully it'll not become "stuck" this time.
-
15 minutes ago, Brandon Staggs said:Thanks, I will take a look!
I've now added the code and demo (with documentation!) for what I have been using as a replacement, here.
- 4
- 1
-
2 hours ago, Brandon Staggs said:I am looking for a component to put an FMX application on the MacOS menu bar
I need to provide some documentation, but I have this:
https://github.com/DelphiWorlds/Kastri/tree/master/Demos/macOSStatusBarAlso be aware that I personally use another variation of this because I had trouble with "dynamic" items when associating them with FMX menu items - it became easier to just forget FMX menu items entirely, though there's a bit more code involved. I can share that code later.
- 1
- 1
-
1 hour ago, Gary said:Anyway now I can no longer deploy to it
Please see:
- 1
-
37 minutes ago, Alexander Halser said:So, it's officially broken, despite documentation says the opposite?
For Zoom, definitely. You mentioned that Rotate works?
-
1 hour ago, Alexander Halser said:Everything else - simply broken
Zoom is "broken" because the code assumes there are touch events available when the magnifyWithEvent method (in FMX.Platform.Mac) is called. In theory, the same result could be implemented using individual touch events, but it would be more complex.
magnifyWithEvent is supposed to be used in conjunction with the magnification property on the event parameter (an NSEvent).
I didn't look into the other gestures. -
1 hour ago, Dave Nottage said:It appears Xcode 15.1 has broken Delphi
Actually, it hasn't. What was missing has happened before, i.e. it does not automatically download iOS support (weird). From the Xcode menu select Settings, then the Platforms tab. For the iOS 17.2 item, click Get:
(which I have already done in this picture)
Even weirder: while downloading it says "simulator". Once that completes, deployment should work.- 6
-
1 hour ago, Shano said:I have xcode 15.1 installed.
I think it is a Delphi Error though
It appears Xcode 15.1 has broken Delphi - I'm having the same problems with that version. Reverting to an earlier version may fix it. I'm about to find out.
- 2
-
3 minutes ago, Shano said:I want to build a Release for submission to Testflight,
Sorry about that.. I'm sure I have seen a similar error mentioned before, however I'm unable to find a reference for it. Which version of Xcode are you using?
-
1 minute ago, Shano said:Anyone know how to fix this issue?
Is your Mac an M1 or M2 or M3 device?
If so, start Xcode on the Mac, and click the Xcode menu, Open Developer Tool > Simulator. If you're able to do that, I'm not sure what the issue is.
If your Mac is not an M1, M2 or M3, you're out of luck - Delphi supports only ARM-based Simulator, which is available on those kinds of Macs
-
2 hours ago, oakley said:have you seen that PDF Expert App on Ipad?
No.
2 hours ago, oakley said:They somehow manage to access security scoped files and can also write back to them
I guess I'll need to research this further.
-
5 hours ago, oakley said:How does Acrobat for example handle this?
That's what I'm trying to find out. Is it able to write back to a file or folder that you (or another app) created?
-
2 hours ago, oakley said:I am wondering wether there is a chance to limit the selection to one file or get something like a normal file dialog without that selection feature.
Unfortunately on iOS the only picker that has a selection limit is PHPickerViewController, which applies to photos/videos.
2 hours ago, oakley said:I want to save the modified pdf back to the public path where I loaded the original file from.
Which path is it being selected from? I doubt that a write-back is possible.
-
8 hours ago, TurboMagic said:I get this failure message, while the same thing just works in 11.3
Check the minSdkVersion value in your projects AndroidManifest.template.xml file. If it's below 21, the packaging tools are unable to use multidex, thus the error. The > 65536 methods refers to how many methods are included in the jar files (in Project Manager, in the Libraries node under the relevant Android target), which grew substantially from Delphi 11.3 to Delphi 12.
If the minSdkVersion value is %minSdkVersion%, the IDE replaces it with the default supported value which is 23, in the resulting AndroidManifest.xml in the project output. If this is the case for you, there may be some other configuration issue.
- 2
-
3 minutes ago, Allen@Grijjy said:couldn't get any of it to work with Delphi 12 again
The problem was introduced in 11.3 - a "bug" was reported that I strongly suspect was not even a bug, and "fixing" it actually broke the process.
7 minutes ago, Allen@Grijjy said:I tried just about everything so I appreciate the insight.
You can thank @Chris Pim for it - and it's because of him (and your article, thanks!) I'm finally on the track of making customized notifications on iOS work (though as far as user experience goes, it's pretty sucky compare to Android)
- 1
-
1 hour ago, Allen@Grijjy said:Did you ever figure anything out with this issue?
It was reported in https://quality.embarcadero.com/browse/RSP-42283, but there are a couple of other similar reports, e.g. https://quality.embarcadero.com/browse/RSP-42415
The problem is that PAServer signs the extension with the wrong entitlements, and in Chris' (and my) case, it's unnecessary because the extension has already been correctly signed, i.e. it does not even need to be touched. Replacing the extension in the .app bundle, and using iosinstall to install the it solves the problem, at least debugging-wise. I expect a similar process will be needed for repackaging the .ipa.
- 1
-
2 hours ago, Marcelo Bernardi said:I fill in the edits that are in another tab, once filled in I use :
ChangeTabDados.ExecuteTarget(self),
Once again:
7 hours ago, Dave Nottage said:A complete, basic test project would be even better.
-
1 hour ago, Marcelo Bernardi said:Esse código está por exemplo após clicar em um item da listview para preencher os detalhes .
Then show your full code. The example you gave does not show anything about clicking a listview item. A complete, basic test project would be even better.
-
When you say "fill in the edit with some text value", do you mean in code? If so, please show your code - all of the relevant code. It seems to me you may be attempting to populate the edits outside of the main thread.
-
2 hours ago, Navid Madani said:However, the .addObserver call in the constructor (line 67) causes a runtime exception:
Assuming NSFileHandleReadCompletionNotification is an NSString, it should be passed like this: NSObjectToID(NSFileHandleReadCompletionNotification)
Having said that, I haven't come across the need to use such an observer. You might like to take a look at the code in Kastri that creates a process on macOS and reads from the output.
- 1
-
1 minute ago, Bart Kindt said:E2291 Missing implementation of interface method JLocationListener.onFlushComplete
Your TLocationListener does not implement onFlushComplete, which was added to JLocationListener in Delphi 12:
JLocationListener = interface(IJavaInstance) ['{D1CF3FB5-3BCB-4959-98D7-BD4D8F93D839}'] procedure onFlushComplete(requestCode: Integer); cdecl; procedure onLocationChanged(location: JLocation); cdecl; overload; procedure onLocationChanged(locations: JList); cdecl; overload; procedure onProviderDisabled(provider: JString); cdecl; procedure onProviderEnabled(provider: JString); cdecl; procedure onStatusChanged(provider: JString; status: Integer; extras: JBundle); cdecl;//Deprecated end;
Delphi 12 can not find /usr/lib/swift/libswiftUIKit.dylib
in Cross-platform
Posted
There's some instructions for adding Swift support, here. You will also need to ensure you have the Linker Options configured correctly in Project Options as per these instructions.