{"id":2668,"date":"2020-05-01T17:22:53","date_gmt":"2020-05-01T14:22:53","guid":{"rendered":"http:\/\/demensdeum.com\/blog\/?p=2668"},"modified":"2024-12-16T22:32:28","modified_gmt":"2024-12-16T19:32:28","slug":"linux-to-ios-crosscompile-sdl","status":"publish","type":"post","link":"https:\/\/demensdeum.com\/blog\/ja\/2020\/05\/01\/linux-to-ios-crosscompile-sdl\/","title":{"rendered":"Linux \u4e0a\u3067 iOS \u7528\u306e C++ SDL \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b"},"content":{"rendered":"<p>\u3053\u306e\u6295\u7a3f\u3067\u306f\u3001Linux \u4e0a\u3067 iOS \u7528\u306e C++ SDL \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3001\u6709\u6599\u306e Apple Developer \u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u306a\u3057\u3067 ipa \u30a2\u30fc\u30ab\u30a4\u30d6\u306b\u7f72\u540d\u3057\u3001\u30b8\u30a7\u30a4\u30eb\u30d6\u30ec\u30a4\u30af\u306a\u3057\u3067 macOS \u3092\u4f7f\u7528\u3057\u3066\u30af\u30ea\u30fc\u30f3\u306a\u30c7\u30d0\u30a4\u30b9 (iPad) \u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002< \/p><\/p>\n<p><iframe loading=\"lazy\" title=\"1984 Apple&#039;s Macintosh Commercial (HD)\" width=\"620\" height=\"465\" src=\"https:\/\/www.youtube.com\/embed\/VtvjbmoDx-I?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>\u307e\u305a\u3001Linux \u7528\u306e\u30d3\u30eb\u30c9 \u30c4\u30fc\u30eb\u30c1\u30a7\u30fc\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002<br \/><a href=\"https:\/\/github.com\/tpoechtrager\/cctools-port\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/tpoechtrager\/cctools-port<\/a><\/p>\n<p>\u30c4\u30fc\u30eb\u30c1\u30a7\u30fc\u30f3\u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001Godot Engine Web \u30b5\u30a4\u30c8\u306e\u6307\u793a\u306b\u5f93\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u5b8c\u4e86\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/><a href=\"https:\/\/docs.godotengine.org\/ru\/latest\/development\/compiling\/cross-compiling_for_ios_on_linux.html\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/docs.godotengine.org\/ru\/latest\/development\/compiling\/cross-compiling_for_ios_on_linux.html<\/a><\/p>\n<p>\u73fe\u6642\u70b9\u3067\u306f\u3001Xcode dmg \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u305d\u3053\u304b\u3089 SDK \u3092\u30b3\u30d4\u30fc\u3057\u3066 cctools-port \u3092\u30d3\u30eb\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u6bb5\u968e\u306f macOS \u3067\u7c21\u5358\u306b\u5b8c\u4e86\u3067\u304d\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f Xcode \u304b\u3089\u5fc5\u8981\u306a SDK \u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u30a2\u30bb\u30f3\u30d6\u30ea\u304c\u6210\u529f\u3059\u308b\u3068\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u306f\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30e9\u30fc \u30c4\u30fc\u30eb\u30c1\u30a7\u30fc\u30f3\u3078\u306e\u30d1\u30b9\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001iOS \u7528\u306e SDL \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u958b\u59cb\u3067\u304d\u307e\u3059\u3002 cmake \u3092\u958b\u3044\u3066\u3001C++ \u30b3\u30fc\u30c9\u3092\u30d3\u30eb\u30c9\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u5909\u66f4\u3092\u8ffd\u52a0\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code>SET(CMAKE_SYSTEM_NAME Darwin)\nSET(CMAKE_C_COMPILER arm-apple-darwin11-clang)\nSET(CMAKE_CXX_COMPILER arm-apple-darwin11-clang++)\nSET(CMAKE_LINKER arm-apple-darwin11-ld)\n\n<\/code><\/pre>\n<\/div>\n<p>\u3053\u308c\u3067\u3001cmake \u3068 make \u3092\u4f7f\u7528\u3057\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u304c\u3001$PATH \u3092\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30e9\u30fc \u30c4\u30fc\u30eb\u30c1\u30a7\u30fc\u30f3\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3092\u5fd8\u308c\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code>\nPATH=$PATH:~\/Sources\/cctools-port\/usage_examples\/ios_toolchain\/target\/bin\n\n<\/code><\/pre>\n<\/div>\n<p>\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3084 SDL \u3068\u6b63\u3057\u304f\u30ea\u30f3\u30af\u3059\u308b\u305f\u3081\u306b\u3001\u305d\u308c\u3089\u3092 cmake \u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u30b2\u30fc\u30e0 Space Jaguar \u306e\u4f9d\u5b58\u95a2\u4fc2\u3067\u3059\u3002<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-unknown\" data-lang=\"unknown\"><code>\ntarget_link_libraries(\n${FSEGT_PROJECT_NAME}\n${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/libclang_rt.ios.a\n${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/libSDL2.a\n${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/libSDL2_mixer.a\n${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/libSDL2_image.a\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/CoreServices.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/ImageIO.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/Metal.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/AVFoundation.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/GameController.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/CoreMotion.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/CoreGraphics.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/AudioToolbox.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/CoreAudio.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/QuartzCore.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/OpenGLES.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/UIKit.framework\"\n\"${FLAME_STEEL_PROJECT_ROOT_DIRECTORY}\/scripts\/buildScripts\/ios\/resources\/libs\/Foundation.framework\"\n)\n\n<\/code><\/pre>\n<\/div>\n<p>\u79c1\u306e\u5834\u5408\u3001SDL\u3001SDL_Image\u3001SDL_mixer \u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u9759\u7684\u30ea\u30f3\u30af\u306e\u305f\u3081\u306b\u4e8b\u524d\u306b macOS \u4e0a\u306e Xcode \u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002 Xcode \u304b\u3089\u30b3\u30d4\u30fc\u3055\u308c\u305f\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3002 libclang_rt.ios.a \u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u306f\u3001iOS \u56fa\u6709\u306e\u30e9\u30f3\u30bf\u30a4\u30e0\u547c\u3073\u51fa\u3057 (isOSVersionAtLeast \u306a\u3069) \u304c\u542b\u307e\u308c\u307e\u3059\u3002 Android \u3068\u540c\u69d8\u306b\u3001OpenGL ES \u3092\u64cd\u4f5c\u3057\u3066\u3001\u30e2\u30d0\u30a4\u30eb \u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\u6a5f\u80fd\u3092\u7121\u52b9\u306b\u3059\u308b\u305f\u3081\u306e\u30de\u30af\u30ed\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d3\u30eb\u30c9\u306e\u554f\u984c\u3092\u3059\u3079\u3066\u89e3\u6c7a\u3057\u305f\u3089\u3001arm \u7528\u306b\u30a2\u30bb\u30f3\u30d6\u30eb\u3055\u308c\u305f\u30d0\u30a4\u30ca\u30ea\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u306b\u3001\u30b8\u30a7\u30a4\u30eb\u30d6\u30ec\u30a4\u30af\u306a\u3057\u3067\u30c7\u30d0\u30a4\u30b9\u4e0a\u3067\u30a2\u30bb\u30f3\u30d6\u30eb\u3055\u308c\u305f\u30d0\u30a4\u30ca\u30ea\u3092\u5b9f\u884c\u3059\u308b\u3053\u3068\u3092\u691c\u8a0e\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>macOS \u3067\u306f\u3001\u958b\u767a\u8005\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u6599\u91d1\u3092\u652f\u6255\u308f\u305a\u306b\u3001Xcode \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001Apple \u30dd\u30fc\u30bf\u30eb\u306b\u767b\u9332\u3057\u307e\u3059\u3002 Xcode \u3067\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u8ffd\u52a0\u3057\u307e\u3059 ->\u8a2d\u5b9a ->\u30a2\u30ab\u30a6\u30f3\u30c8\u3001\u7a7a\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u3001\u5b9f\u969b\u306e\u30c7\u30d0\u30a4\u30b9\u4e0a\u306b\u69cb\u7bc9\u3057\u307e\u3059\u3002\u7d44\u307f\u7acb\u3066\u4e2d\u306b\u3001\u30c7\u30d0\u30a4\u30b9\u306f\u7121\u6599\u306e\u958b\u767a\u8005\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002\u30a2\u30bb\u30f3\u30d6\u30ea\u3068\u8d77\u52d5\u5f8c\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u69cb\u7bc9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u884c\u3046\u306b\u306f\u3001[\u6c4e\u7528 iOS \u30c7\u30d0\u30a4\u30b9\u3068\u88fd\u54c1] \u3092\u9078\u629e\u3057\u307e\u3059\u3002\u30a2\u30fc\u30ab\u30a4\u30d6\u3002\u30a2\u30fc\u30ab\u30a4\u30d6\u304c\u69cb\u7bc9\u3055\u308c\u305f\u3089\u3001\u305d\u3053\u304b\u3089embedded.mobileprovision\u30d5\u30a1\u30a4\u30eb\u3068PkgInfo\u30d5\u30a1\u30a4\u30eb\u3092\u62bd\u51fa\u3057\u307e\u3059\u3002\u30c7\u30d0\u30a4\u30b9\u3078\u306e\u30d3\u30eb\u30c9 \u30ed\u30b0\u304b\u3089\u3001\u6b63\u3057\u3044\u7f72\u540d\u30ad\u30fc\u3092\u542b\u3080\u30b3\u30fc\u30c9\u30c7\u30b6\u30a4\u30f3\u884c\u3001\u62e1\u5f35\u5b50 app.xcent \u3092\u6301\u3064\u8cc7\u683c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9\u3092\u898b\u3064\u3051\u3066\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002<\/p>\n<p>\u30a2\u30fc\u30ab\u30a4\u30d6\u304b\u3089 .app \u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u30b3\u30d4\u30fc\u3057\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u5185\u306e\u30d0\u30a4\u30ca\u30ea\u3092 Linux \u306e\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30e9\u30fc\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3055\u308c\u305f\u30d0\u30a4\u30ca\u30ea (SpaceJaguar.app\/SpaceJaguar \u306a\u3069) \u306b\u7f6e\u304d\u63db\u3048\u3066\u304b\u3089\u3001\u5fc5\u8981\u306a\u30ea\u30bd\u30fc\u30b9\u3092 .app \u306b\u8ffd\u52a0\u3057\u3001\u30a2\u30fc\u30ab\u30a4\u30d6\u304b\u3089\u306e .app \u5185\u306e PkgInfo \u304a\u3088\u3073embedded.mobileprovision \u30d5\u30a1\u30a4\u30eb\u306e\u6574\u5408\u6027\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u518d\u5ea6\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002 codesign \u30b3\u30de\u30f3\u30c9 &#8211; \u3092\u4f7f\u7528\u3057\u3066 .app \u306b\u518d\u7f72\u540d\u3057\u307e\u3059\u3002 codedesign \u306b\u306f\u3001\u7f72\u540d\u7528\u306e\u5165\u529b\u30ad\u30fc\u3001\u8cc7\u683c\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30d1\u30b9 (.plist \u62e1\u5f35\u5b50\u3067\u540d\u524d\u5909\u66f4\u53ef\u80fd) \u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u518d\u7f72\u540d\u3057\u305f\u5f8c\u3001Payload \u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u4f5c\u6210\u3057\u3001.app \u62e1\u5f35\u5b50\u306e\u4ed8\u3044\u305f\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u305d\u3053\u306b\u79fb\u52d5\u3057\u3001\u30eb\u30fc\u30c8\u306b Payload \u3092\u542b\u3080 zip \u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u4f5c\u6210\u3057\u3001.ipa \u62e1\u5f35\u5b50\u3092\u4ed8\u3051\u3066\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u540d\u524d\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\u305d\u306e\u5f8c\u3001Xcode \u3067\u30c7\u30d0\u30a4\u30b9\u306e\u30ea\u30b9\u30c8\u3092\u958b\u304d\u3001\u65b0\u3057\u3044 ipa \u3092\u30c7\u30d0\u30a4\u30b9\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30ea\u30b9\u30c8\u306b\u30c9\u30e9\u30c3\u30b0 \u30a2\u30f3\u30c9 \u30c9\u30ed\u30c3\u30d7\u3057\u307e\u3059\u3002\u3053\u306e\u65b9\u6cd5\u3067\u306f\u3001Apple Configurator 2 \u306b\u3088\u308b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002\u518d\u7f72\u540d\u304c\u6b63\u3057\u304f\u884c\u308f\u308c\u308b\u3068\u3001\u65b0\u3057\u3044\u30d0\u30a4\u30ca\u30ea\u3092\u542b\u3080\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c 7 \u65e5\u9593\u306e\u8a3c\u660e\u66f8\u3068\u3068\u3082\u306b iOS \u30c7\u30d0\u30a4\u30b9 (iPad \u306a\u3069) \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002\u30c6\u30b9\u30c8\u671f\u9593\u306b\u306f\u3053\u308c\u3067\u5341\u5206\u3067\u3059\u3002<\/p>\n<h3>\u30bd\u30fc\u30b9<\/h3>\n<p><a href=\"https:\/\/github.com\/tpoechtrager\/cctools-port\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/tpoechtrager\/cctools-port<\/a ><br \/><a href=\"https:\/\/docs.godotengine.org\/ru\/latest\/development\/compiling\/cross-compiling_for_ios_on_linux.html\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/docs.godotengine.org\/ru\/latest\/development\/compiling\/cross-compiling_for_ios_on_linux.html<\/a><br \/>\n<a href=\"https:\/\/jonnyzzz.com\/blog\/2018\/06\/13\/link-error-3\/\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/jonnyzzz.com\/blog\/2018\/06\/13\/link-error-3\/<\/a><br \/>\n<a href=\"https:\/\/stackoverflow.com\/questions\/6896029\/re-sign-ipa-iphone\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/stackoverflow.com\/questions\/6896029\/re-sign-ipa-iphone<\/a><br \/>\n<a href=\"https:\/\/developer.apple.com\/library\/archive\/documentation\/Security\/Conceptual\/CodeSigningGuide\/Procedures\/Procedures.html\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/developer.apple.com\/library\/archive\/documentation\/Security\/Conceptual\/CodeSigningGuide\/Procedures\/Procedures.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u6295\u7a3f\u3067\u306f\u3001Linux \u4e0a\u3067 iOS \u7528\u306e C++ SDL \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3001\u6709\u6599\u306e Apple Developer \u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u306a\u3057\u3067 ipa \u30a2\u30fc\u30ab\u30a4\u30d6\u306b\u7f72\u540d\u3057\u3001\u30b8\u30a7\u30a4\u30eb\u30d6\u30ec\u30a4\u30af\u306a\u3057\u3067 macOS \u3092\u4f7f\u7528\u3057\u3066\u30af\u30ea\u30fc\u30f3\u306a\u30c7\u30d0\u30a4\u30b9 (iPad) \u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u624b\u9806\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002< \/p> \u307e\u305a\u3001Linux \u7528\u306e\u30d3\u30eb\u30c9 \u30c4\u30fc\u30eb\u30c1\u30a7\u30fc\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u3087\u3046\u3002https:\/\/github.com\/tpoechtrager\/cctools-port \u30c4\u30fc\u30eb\u30c1\u30a7\u30fc\u30f3\u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001Godot Engine Web \u30b5\u30a4\u30c8\u306e\u6307\u793a\u306b\u5f93\u3063\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u5b8c\u4e86\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002https:\/\/docs.godotengine.org\/ru\/latest\/development\/compiling\/cross-compiling_for_ios_on_linux.html \u73fe\u6642\u70b9\u3067\u306f\u3001Xcode dmg \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u305d\u3053\u304b\u3089 SDK \u3092\u30b3\u30d4\u30fc\u3057\u3066 cctools-port \u3092\u30d3\u30eb\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u6bb5\u968e\u306f macOS \u3067\u7c21\u5358\u306b\u5b8c\u4e86\u3067\u304d\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f Xcode \u304b\u3089\u5fc5\u8981\u306a SDK \u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u30a2\u30bb\u30f3\u30d6\u30ea\u304c\u6210\u529f\u3059\u308b\u3068\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u306b\u306f\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30e9\u30fc \u30c4\u30fc\u30eb\u30c1\u30a7\u30fc\u30f3\u3078\u306e\u30d1\u30b9\u304c\u542b\u307e\u308c\u307e\u3059\u3002 \u6b21\u306b\u3001iOS \u7528\u306e SDL \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u958b\u59cb\u3067\u304d\u307e\u3059\u3002 cmake \u3092\u958b\u3044\u3066\u3001C++ \u30b3\u30fc\u30c9\u3092\u30d3\u30eb\u30c9\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u5909\u66f4\u3092\u8ffd\u52a0\u3057\u307e\u3057\u3087\u3046\u3002 SET(CMAKE_SYSTEM_NAME Darwin) SET(CMAKE_C_COMPILER arm-apple-darwin11-clang) SET(CMAKE_CXX_COMPILER arm-apple-darwin11-clang++) SET(CMAKE_LINKER arm-apple-darwin11-ld) \u3053\u308c\u3067\u3001cmake \u3068<a class=\"more-link\" href=\"https:\/\/demensdeum.com\/blog\/ja\/2020\/05\/01\/linux-to-ios-crosscompile-sdl\/\">Continue reading <span class=\"screen-reader-text\">&#8220;Linux \u4e0a\u3067 iOS \u7528\u306e C++ SDL \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[61,52],"tags":[124,153,154,77],"class_list":["post-2668","post","type-post","status-publish","format-standard","hentry","category-techie","category-tutorials","tag-c","tag-crosscompile","tag-ios","tag-sdl","entry"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"ja","enabled_languages":["en","ru","zh","de","fr","ja","pt","hi"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"ru":{"title":true,"content":true,"excerpt":false},"zh":{"title":true,"content":true,"excerpt":false},"de":{"title":true,"content":true,"excerpt":false},"fr":{"title":true,"content":true,"excerpt":false},"ja":{"title":true,"content":true,"excerpt":false},"pt":{"title":true,"content":true,"excerpt":false},"hi":{"title":false,"content":false,"excerpt":false}}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts\/2668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/comments?post=2668"}],"version-history":[{"count":24,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts\/2668\/revisions"}],"predecessor-version":[{"id":3916,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/posts\/2668\/revisions\/3916"}],"wp:attachment":[{"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/media?parent=2668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/categories?post=2668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demensdeum.com\/blog\/ja\/wp-json\/wp\/v2\/tags?post=2668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}