Author Archives: dmitriano

Entering EU Digital Services Act compliance information in App Store Connect

I spent several hours trying to figure out how to Enter EU Digital Services Act compliance information in Apple App Store Connect. The keys steps I did were the following:

(more…)

Launching the iOS Simulator from Terminal

Running a default Simulator:

open -a Simulator.app

List of devices:

xcrun simctl list
(more…)

Building Lines Game for MacOS and iOS

To build my app for iOS I tried to run CMake from the command line without QT Creator:

cmake -S /Users/admin/dev/repos/examples/src/LinesGame/LinesGameQt -B . -DCMAKE_GENERATOR:STRING=Xcode \
  -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=./.qtc/package-manager/auto-setup.cmake -DQT_QMAKE_EXECUTABLE:FILEPATH=/Users/admin/dev/libs/QT6/release/iOS/bin/qmake6 \
  -DCMAKE_PREFIX_PATH:PATH=/Users/admin/dev/libs/QT6/release/iOS \
  -DCMAKE_C_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang \
  -DCMAKE_CXX_COMPILER:FILEPATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ \
  -DCMAKE_TOOLCHAIN_FILE:FILEPATH=/Users/admin/dev/libs/QT6/release/iOS/lib/cmake/Qt6/qt.toolchain.cmake \
  -DCMAKE_OSX_ARCHITECTURES:STRING=arm64 -DCMAKE_OSX_SYSROOT:STRING=iphoneos -DCMAKE_CXX_FLAGS_INIT:STRING= \
  -DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM:STRING=XXXXXXX
(more…)

Publishing MacOS QT app in Apple App Store

First I set CMake generator to XCode in QT Creator Kits settings page:

(more…)

Publishing iOS QT app in Apple App Store

I downloaded provisioning profiles with XCode:

(more…)

Building QT6.7 on MacOS Sonoma

I installed MacOS Sonoma on HyperV, installed XCode and used the following commands to check compiler and SDK versions:

admin@son ~ % xcode-select -print-path
/Applications/Xcode.app/Contents/Developer
admin@son ~ %  xcrun -sdk macosx -find clang
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
admin@son ~ % clang --version
Apple clang version 15.0.0 (clang-1500.3.9.4)
Target: x86_64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
admin@son ~ % xcrun -sdk macosx --show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk
(more…)

Installing MacOS Sonoma on HyperV

First I downloaded Sonoma on my Big Sur machine via Software Update:

and tried the following commands:

(more…)

Updating MacOS

I created partition images and tried to update my MacOS from UI:

(more…)

Creating disk image with Ubuntu Live

First, connect to Ubuntu Live with SSH:

sudo apt-get update
sudo apt-get install ssh
sudo passwd ubuntu

List disks and partitions:

sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
(more…)

My QT app started to crash on x86_64 Android Emulator

My QT app started to crash on x86_64 Android Emulator with the following stack trace:

03-16 20:56:48.848 15806 15806 I crash_dump64: performing dump of process 15639 (target tid = 15717)
03-16 20:56:48.875 15806 15806 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-16 20:56:48.875 15806 15806 F DEBUG   : Build fingerprint: 'google/sdk_gphone_x86_64/generic_x86_64_arm64:11/RSR1.201211.001/7027799:user/release-keys'
03-16 20:56:48.875 15806 15806 F DEBUG   : Revision: '0'
03-16 20:56:48.875 15806 15806 F DEBUG   : ABI: 'x86_64'
03-16 20:56:48.905 15806 15806 F DEBUG   : Timestamp: 2024-03-16 20:56:48+0300
03-16 20:56:48.905 15806 15806 F DEBUG   : pid: 15639, tid: 15717, name: qtMainLoopThrea  >>> com.domain.MyApp <<<
03-16 20:56:48.905 15806 15806 F DEBUG   : uid: 10154
03-16 20:56:48.906 15806 15806 F DEBUG   : signal 4 (SIGILL), code -6 (SI_TKILL), fault addr --------
03-16 20:56:48.906 15806 15806 F DEBUG   :     rax 0000000000000000  rbx 0000795eb6bbdfe8  rcx 00007964be7b4c87  rdx 0000000000000004
03-16 20:56:48.907 15806 15806 F DEBUG   :     r8  0000000000000001  r9  0000000000000001  r10 00007ffff4f830a8  r11 0000000000000202
03-16 20:56:48.907 15806 15806 F DEBUG   :     r12 0000796216b00050  r13 00007962254b6828  r14 0000000000000000  r15 0000000000000004
03-16 20:56:48.907 15806 15806 F DEBUG   :     rdi 0000000000003d17  rsi 0000000000003d65
03-16 20:56:48.907 15806 15806 F DEBUG   :     rbp 0000795eb6bbceb0  rsp 0000795eb6bbcc78  rip 00007964be7b4c87
03-16 20:56:48.932 15806 15806 F DEBUG   : backtrace:
03-16 20:56:48.932 15806 15806 F DEBUG   :       #00 pc 00000000000b1c87  /apex/com.android.runtime/lib64/bionic/libc.so (tgkill+7) (BuildId: 3707c39fc397eeaa328142d90b50a973)
03-16 20:56:48.932 15806 15806 F DEBUG   :       #01 pc 00000000000faa12  /system/lib64/libndk_translation.so (ndk_translation::Decoder<ndk_translation::SemanticsPlayer<ndk_translation::(anonymous namespace)::Interpreter> >::DecodeSimdScalarTwoRegMisc()+642) (BuildId: 86c2b523febcecc53af82646dc316948)
03-16 20:56:48.932 15806 15806 F DEBUG   :       #02 pc 00000000000f2846  /system/lib64/libndk_translation.so (ndk_translation::Decoder<ndk_translation::SemanticsPlayer<ndk_translation::(anonymous namespace)::Interpreter> >::DecodeDataProcessingSimdAndFp()+2374) (BuildId: 86c2b523febcecc53af82646dc316948)
03-16 20:56:48.932 15806 15806 F DEBUG   :       #03 pc 00000000000eee3a  /system/lib64/libndk_translation.so (ndk_translation::Decoder<ndk_translation::SemanticsPlayer<ndk_translation::(anonymous namespace)::Interpreter> >::Decode(unsigned int)+1114) (BuildId: 86c2b523febcecc53af82646dc316948)
03-16 20:56:48.932 15806 15806 F DEBUG   :       #04 pc 00000000000ee996  /system/lib64/libndk_translation.so (ndk_translation::InterpretInsn(ndk_translation::ProcessState*)+118) (BuildId: 86c2b523febcecc53af82646dc316948)
03-16 20:56:48.932 15806 15806 F DEBUG   :       #05 pc 0000000000123fbe  /system/lib64/libndk_translation.so (BuildId: 86c2b523febcecc53af82646dc316948)
(more…)