Hans♫
Members-
Content Count
135 -
Joined
-
Last visited
-
Days Won
4
Everything posted by Hans♫
-
We have developed a low-level audio input solution for Windows, MacOS and iOS. It allows us to process audio immediately when each buffer is filled and delivered to our code. I cannot share my code here, but here are some hints of the API functions we use on iOS: AudioQueueNewInput AudioQueueAllocateBuffer AudioQueueEnqueueBuffer AudioQueueStart AudioQueueStop
-
NSHighResolutionCapable = true scaling problems on MacOS 10.13
Hans♫ replied to Chris Pim's topic in FMX
I suppose the problem you have is the one described here: https://community.idera.com/developer-tools/platforms/f/macos-platform/70850/macbook-pro-high-sierra-gui-is-zoomed -
Our iOS app made with Delphi showed an alarming increase of crashes with the latest update, that was built with Delphi 10.3. So I made this graph in "App Store Connect" that shows a similar increase of crashes when upgrading to Delphi 10.2.2. This is a bit scary... where will it end... Graph shows crashes per week: The vertical gray lines shows when we released a new update of our app. The number of sessions per week is almost the same during the whole period, so that does not influence the graph. Unfortunately I don't remember what version of Delphi I was using before the 10.2.2 upgrade.
-
Use an Xcode Storyboard to Provide the App’s Launch Screen
Hans♫ replied to MikeMon's topic in Cross-platform
Thanks, I got that email too, but obviously missed the part about the storyboard 🙂 -
Use an Xcode Storyboard to Provide the App’s Launch Screen
Hans♫ replied to MikeMon's topic in Cross-platform
I don't know when (or if) Apple will make it a requirement to use the Storyboard, but so far you can still use the old way that Delphi supports right now. We are not using the storyboard solution in our app, and that is still accepted by Apple. Its only one week ago we uploaded the last update. -
Deploying macOS apps with App Store configuration
Hans♫ replied to Dave Nottage's topic in Delphi IDE and APIs
Is there a confusion between "App Store" and "Mac App Store" somewhere? The error message contains both "Mobile" and "App Store", which refers to iOS, not MacOS. Our App is on Mac App Store now, though we use our own shell scripts to sign and build the final application package. -
AddFontResource/Ex not working on some machines
Hans♫ replied to Dave Nottage's topic in Windows API
On Firemonkey there is a problem loading fonts dynamically, so maybe its related to that? https://quality.embarcadero.com/browse/RSP-16207 -
When I target iOS 12 I get linker errors related to the Facebook SDK, while linking towards iOS11.2 works fine. I hoped that Delphi 10.3.1 fixed it, but it didn't so now I ask here. What can it be? I am using: Delphi 10.3.1 XCode 10.1 (10B61) SDK iOS12.0 The SDK is included by setting "Options passed to the LD linker" (in: Project Options > Building > Delphi Compiler > Linking) to "-ObjC -lz -framework FBSDKCoreKit -weak_framework Bolts" The errors I get with different versions of the Facebook iOS SDK: FBSDK 4.40 (latest SDK) Error: "___isOSVersionAtLeast", referenced from: -[FBSDKApplicationDelegate application:openURL:options:] in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKApplicationDelegate.o); -[FBSDKApplicationDelegate application:openURL:sourceApplication:annotation:] in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKApplicationDelegate.o); -[FBSDKApplicationDelegate applicationDidBecomeActive:] in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKApplicationDelegate.o); ___51-[FBSDKApplicationDelegate openURL:sender:handler:]_block_invoke in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKApplicationDelegate.o); -[FBSDKApplicationDelegate openURLWithSafariViewController:sender:fromViewController:handler:] in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKApplicationDelegate.o); -[FBSDKWebDialog _applicationFrameForOrientation] in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKWebDialog.o); -[FBSDKPaymentProductRequestor logTransactionEvent:] in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKPaymentObserver.o); ... FBSDK 4.36 Error: "___isOSVersionAtLeast", referenced from: -[FBSDKApplicationDelegate application:openURL:sourceApplication:annotation:] in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKApplicationDelegate.o); -[FBSDKApplicationDelegate applicationDidBecomeActive:] in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKApplicationDelegate.o); -[FBSDKApplicationDelegate openURLWithSafariViewController:sender:fromViewController:handler:] in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKApplicationDelegate.o); -[FBSDKPaymentProductRequestor logTransactionEvent:] in Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKPaymentObserver.o); FBSDK 4.15 It works, but this SDK version is deprecated.
-
I haven't investigated their REST API, so I don't know how much functionality it implements compared to the SDK.
-
I didn't answer this one because the steps to include the FB SDK is pretty much the same as mentioned in the GRIJJY blog. Though I never needed to fix anything regarding Delegates, so depending on your needs, this pretty long part can be skipped. Also, my first implementation of the FB SDK was made in 2015-16, before anyone else had published solutions for it. My implementation is much simpler and focus only on the areas that I needed my self. Therefore it is not compatible with the GRIJJY source code. However, @MikeMon I'll be happy to share my headers and units to implement the Facebook API.
-
Thanks Dave, it solved the problem! I added the fake includer function to the FB SDK headers as you suggested: procedure CLangRTLoader; cdecl; external '/usr/lib/clang/lib/darwin/libclang_rt.ios.a'; Now it links with the FBSDK 4.36 without problems, and after a few hours of work to adapt my code to the new API version, everything works! (I didn't try newer versions for now, as they might require further updating of my code and headers)
-
Our iOS app, EarMaster, made with Delphi is now featured in App Store, in the "Best of the month - New apps we love". Nice to see that a Delphi app can get this kind of approval from Apple. PS. I am in Denmark, so I see the Danish app store, but I am curious to know, in what other countries it has been featured too?
-
It's all native. We use the TMS iCL components for the GUI, only the screen instruments are custom FMX components, wrapped by a FMX wrapper.
-
Thank you, I will have a look.
-
Thanks 🙂 I don't think that our FB activities have had any influence on Apples decision to feature EarMaster. From my point of view, FB advertising is useful if you have a free app and it targets something that people have a personal interest in. When you are viewing you FB news thread, you are not in "commercial mode", but instead you can easily be attracted by an add about something you are passionate about. It's however important to submit all in-app purchases to FB, so you can calculate the ROI, which is what we mainly use our FB integration for.
-
FYI: Graph showing iOS crashes with recent Delphi versions
Hans♫ replied to Hans♫'s topic in Cross-platform
Yes, we released a new build 2 weeks ago, which is the first one made with Delphi 10.3.3. So far the crashes are lower than the build with Delphi 10.3.2. In return, the new build has been featured on App Store, so I believe that Apple is quite satisfied 🙂 -
Thanks! - and great to know that its in Germany too 😄
-
FYI: Graph showing iOS crashes with recent Delphi versions
Hans♫ replied to Hans♫'s topic in Cross-platform
Yes, I have seen it and it looks great. It could probably have helped me in other situations. However, my problem in this post was not that I couldn't find where it crashes. The problem was that it happened in random places, though always when allocating an Objective-C wrapper. -
Thanks a lot Dave for looking into this! I removed the [Weak] attribute in the test program, but it still crashes regularly, though it does seem to increase the probability of success. When I have a successful request and then perform the same request again, then I also get an AV. It seems like the AppStore request messes up some memory. Sometimes it is in an area that prevents us from finishing the request, and sometimes it is a different place that will allow a successful request, but will cause problems later. Also, if I run the test program directly from the ScratchDir on the Mac, then it is never successful and crashes every time. It's strange that the Objective-C wrapping seems to work all other places, but not here...
-
Maybe this is a bug in the OSX64 compiler? I have attached the small test project that produces the error. It should compile and run out of the box. Are there someone out there with the knowledge needed to look into this, that I could hire to solve this? I see only two outcomes: Either some code in the test project can be changed to solve it, or a bug report should be filed to Embarcadero. MacInAppTest.zip
-
FYI: Graph showing iOS crashes with recent Delphi versions
Hans♫ replied to Hans♫'s topic in Cross-platform
No problem. Send me an email, then I will send it to you: hans[at]earmaster.com Note that the file is built for Delphi 10.3.2 so it might not work with other versions. -
Anyone having tried if it works?
-
Sorry that I did not make my self clear. I was commenting on your post about how to get Application Loader.
-
No, I still have to use the very old Facebook SDK 4.15
-
The new method to upload apps to App Store, is the new app "Transporter". I have used it successfully to upload an iOS app to App Store. Just download it from Mac App Store, it works the same way as Application Loader.