Generate PDF programmatically in iPhone/iPad SDK

本文介绍如何在iPhone和iPad应用中通过编程方式生成PDF文件的方法和技术细节。涵盖了使用iOS平台提供的API来创建高质量的PDF文档的过程。
root@GL-N-009040A:/home/tonsontang/SDK/test/armino-release-v1.6.0# make bk7258 $(PROJECT) is app Traceback (most recent call last): File "/home/tonsontang/SDK/test/armino-release-v1.6.0/tools/build_tools/compute_files_hash.py", line 83, in <module> tree = Node(sys.argv[1]) ^^^^^^^^^^^^^^^^^ File "/home/tonsontang/SDK/test/armino-release-v1.6.0/tools/build_tools/compute_files_hash.py", line 65, in __init__ self.node_hash = self.generate_file_hash(path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tonsontang/SDK/test/armino-release-v1.6.0/tools/build_tools/compute_files_hash.py", line 33, in generate_file_hash with open(path, 'rb') as f: ^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/home/tonsontang/SDK/test/armino-release-v1.6.0/components/bk_libs/bk7258_app/libs' build bk7258 Setting ARMINO_PATH environment variable: /home/tonsontang/SDK/test/armino-release-v1.6.0 /home/tonsontang/SDK/test/armino-release-v1.6.0/tools/build_tools/check_python_dependencies.py:9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources Executing action: set-target Running cmake in directory /home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258 Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DBEKEN_PLATFORM=1 -DARMINO_SOC=bk7258 -DCCACHE_ENABLE=0 /home/tonsontang/SDK/test/armino-release-v1.6.0/projects/app"... -- Found Git: /usr/bin/git (found version "2.43.0") -- LIB_HASH IS "" -- use configured toolchain path: /opt/gcc-arm-none-eabi-10.3-2021.10/bin -- global toolchain file: /home/tonsontang/SDK/test/armino-release-v1.6.0/middleware/soc/bk7258/toolchain-bk7258.cmake -- The C compiler identification is GNU 10.3.1 -- The CXX compiler identification is GNU 10.3.1 -- The ASM compiler identification is GNU -- Found assembler: /opt/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /opt/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /opt/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Project is not inside a git repository, or git repository has no commits; -- Building Beken ARMINO components for target bk7258 /home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258/kconfigs.in /home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258/components_kconfigs.in /home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258/kconfigs.in /home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258/middleware_kconfigs.in /home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258/kconfigs.in /home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258/projects_kconfigs.in /home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258/kconfigs.in /home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258/properties_kconfigs.in warning: AUD_TRAS_UAC_SPK_VOL_CTRL_MODE_STOP_UAC_TRAS (defined at /home/tonsontang/SDK/test/armino-release-v1.6.0/components/demos/media/audio/aud_intf/Kconfig:156) has leading or trailing whitespace in its prompt warning: AUD_TRAS_UAC_SPK_VOL_CTRL_MODE_MUTE (defined at /home/tonsontang/SDK/test/armino-release-v1.6.0/components/demos/media/audio/aud_intf/Kconfig:161) has leading or trailing whitespace in its prompt warning: OTA_HTTPS (defined at /home/tonsontang/SDK/test/armino-release-v1.6.0/components/ota/Kconfig:17) has 'help' but empty help text warning: TIMER_US (defined at /home/tonsontang/SDK/test/armino-release-v1.6.0/middleware/driver/timer/Kconfig:17) has leading or trailing whitespace in its prompt /tmp/confgen_tmpxx2gjz2h:149: warning: ignoring malformed line 'MEM_DEBUG_FUNC_NAME=y' /tmp/confgen_tmpxx2gjz2h:151: warning: ignoring malformed line 'MEM_DEBUG_TASK_NAME=y' Loading defaults file /home/tonsontang/SDK/test/armino-release-v1.6.0/middleware/soc/bk7258/bk7258.defconfig... -- TOOL_PATH=/home/tonsontang/SDK/test/armino-release-v1.6.0/tools/env_tools -- CFG_DIR=/home/tonsontang/SDK/test/armino-release-v1.6.0/middleware/boards/bk7258 -- prefer=/home/tonsontang/SDK/test/armino-release-v1.6.0/projects/app/config -- bin=/home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258/install/outputs -- Adding linker script /home/tonsontang/SDK/test/armino-release-v1.6.0/build/app/bk7258/armino/bk7258/bk7258_out.ld -- Include directory '/home/tonsontang/SDK/test/armino-release-v1.6.0/properties/modules/btdm_5_2_rw/ble_pub/include/bk_private' is not a directory. -- Include directory '/home/tonsontang/SDK/test/armino-release-v1.6.0/components/bk_libs/include' is not a directory. cat: /home/tonsontang/SDK/test/armino-release-v1.6.0/components/bk_libs/bk7258_app/hash/toolchain_version.txt: No such file or directory cat: /home/tonsontang/SDK/test/armino-release-v1.6.0/components/bk_libs/bk7258_app/hash/libs_hash.txt: No such file or directory CMake Error at /home/tonsontang/SDK/test/armino-release-v1.6.0/components/bk_libs/CMakeLists.txt:40 (message): bk_libs or toolchain version verify failed, stop!!! -- Include directory '/home/tonsontang/SDK/test/armino-release-v1.6.0/properties/modules/aec' is not a directory. -- Include directory '/home/tonsontang/SDK/test/armino-release-v1.6.0/include/arch/compiler' is not a directory. -- Include directory '/home/tonsontang/SDK/test/armino-release-v1.6.0/include/modules/lvgl/src/gpu' is not a directory. -- Include directory '/home/tonsontang/SDK/test/armino-release-v1.6.0/components/demos/net/cs2p2p_middleware/include' is not a directory. Found User C Module(s): Check defconfig: /home/tonsontang/SDK/test/armino-release-v1.6.0/middleware/soc/bk7258/bk7258.defconfig -- Components: aac_decoder adc_key adpcm aec agora agora-iot-sdk ali_mqtt app arm9 at at_server aud aud_intf aud_ns aud_vad audio audio_asr audio_play audio_record av_demo base64 bk7258 bk_adapter bk_ate bk_ble bk_bt bk_cli bk_common bk_event bk_https bk_init bk_libs bk_log bk_netif bk_ps bk_rtos bk_startup bk_system bk_usb bk_vfs bk_websocket bk_wifi bluetooth cm33 cmsis common compal coredump cs2p2p cs2p2p_middleware dma2d doorbell driver easy_flash es8311 fatfs fft flac flashdb g711 h264 http i2s include iperf jrtplib key_handle lcd_8080 lcd_qspi lcd_rgb littlefs lvgl_source lwip_intf_v2_0 lwip_intf_v2_1 main matter mbedtls media media_common micropython mp3 multimedia openssl opus os os_source ota part_table partitions picture_display pm qcbor qrcodegen release riscv rott rsp saradc_intf sbc_decode security temp_detect touch usb user_driver utf8 video vnd_cal wanson webclient -- Configuring incomplete, errors occurred! cmake failed with exit code 1 make: *** [Makefile:125: bk7258] Error 2 root@GL-N-009040A:/home/tonsontang/SDK/test/armino-release-v1.6.0# ls /home/tonsontang/SDK/test/armino-release-v1.6.0/properties/modules/btdm_5_2_rw/ble_pub/include/bk_private ls: cannot access '/home/tonsontang/SDK/test/armino-release-v1.6.0/properties/modules/btdm_5_2_rw/ble_pub/include/bk_private': No such file or directory root@GL-N-009040A:/home/tonsontang/SDK/test/armino-release-v1.6.0#
10-22
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值