Skip to content

Instantly share code, notes, and snippets.

tool
extends EditorPlugin
class MyExportPlugin:
extends EditorExportPlugin
func _add_bundles():
var dir = Directory.new()
if dir.open('res://addons/iOS') == OK:
dir.list_dir_begin()
This file has been truncated, but you can view the full file.
bash-3.2$ scons --debug=presub verbose=yes platform=iphone target=release_debug arch=armv7 -j12
scons: Reading SConscript files ...
Warning: module 'vibration' uses a deprecated `can_build` signature in its config.py file, it should be `can_build(env, platform)`.
Checking for C header file mntent.h... (cached) no
scons: done reading SConscript files.
scons: Building targets ...
[ 3%] Building core/method_bind.gen.inc and core/method_bind_ext.gen.inc with action:
run(target, source, env)
[ 3%] run(["core/method_bind.gen.inc", "core/method_bind_ext.gen.inc"], ["core/make_binders.py"])
[ 4%] Building drivers/gles2/shaders/canvas.glsl.gen.h with action:
bash-3.2$ scons —debug=presub platform=iphone target=release_debug arch=armv7 -j12
scons: Reading SConscript files ...
Warning: module 'vibration' uses a deprecated `can_build` signature in its config.py file, it should be `can_build(env, platform)`.
Checking for C header file mntent.h... no
scons: done reading SConscript files.
scons: Building targets ...
[ 3%] Compiling ==> platform/iphone/godot_iphone.cpp
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]
[ 5%] Compiling ==> platform/iphone/os_iphone.cpp
clang: warning: optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]
07-26 21:57:05.799: D/GODOT(32640): ** GODOT ACTIVITY CREATED HERE ***
07-26 21:57:05.844: D/AccessibilityManager(32640): current package=org.godotengine.vrtest, accessibility manager mIsFinalEnabled=false, mOptimizeEnabled=true, mIsUiAutomationEnabled=false, mIsInterestedPackage=false
07-26 21:57:06.051: D/GODOT(32640): command_line is null? no
07-26 21:57:06.089: I/godot(32640): **INIT EVENT! - 0xf1119310
07-26 21:57:06.089: I/godot(32640): ***************** HELLO FROM JNI!!!!!!!!
07-26 21:57:06.089: I/godot(32640): *******CLASS FOUND!!!
07-26 21:57:06.089: I/godot(32640): STEP2, 0x10096e
07-26 21:57:06.089: I/godot(32640): STEP3 -457474012
07-26 21:57:06.089: I/godot(32640): STEP4, 0x10001d
07-26 21:57:06.089: I/godot(32640): STEP4.5, 0x100972
FOUND versionCode
FOUND versionName
FOUND package
version number: 131072
ADDING: AndroidManifest.xml
ADDING: classes.dex
ADDING: lib/armeabi-v7a/libgodot_android.so
ADDING: res/drawable-hdpi-v4/notify_panel_notification_icon_bg.png
ADDING: res/drawable-mdpi-v4/notify_panel_notification_icon_bg.png
ADDING: res/drawable/icon.png
07-04 12:25:24.695: D/AccessibilityManager(1766): current package=org.godotengine.godotdemolevel, accessibility manager mIsFinalEnabled=false, mOptimizeEnabled=true, mIsUiAutomationEnabled=false, mIsInterestedPackage=false
07-04 12:25:24.935: I/Adreno(1766): QUALCOMM build : 53b4b64, I83a540a04a
07-04 12:25:24.935: I/Adreno(1766): Build Date : 09/18/17
07-04 12:25:24.935: I/Adreno(1766): OpenGL ES Shader Compiler Version: XE031.09.00.04
07-04 12:25:24.935: I/Adreno(1766): Local Branch :
07-04 12:25:24.935: I/Adreno(1766): Remote Branch : quic/gfx-adreno.lnx.1.0.r5-rel
07-04 12:25:24.935: I/Adreno(1766): Remote Branch : NONE
07-04 12:25:24.935: I/Adreno(1766): Reconstruct Branch : NOTHING
07-04 12:25:24.991: I/OpenGLRenderer(1766): Initialized EGL, version 1.4
07-04 12:25:24.991: D/OpenGLRenderer(1766): Swap behavior 1
bash-3.2$ nake build-android
Warning: Package 'stub' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'stub.nim', but a file named 'fpscounter.nim' was found. This will be an error in the future.
Hint: If this is the primary source file in the package, rename it to 'stub.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'stub', then move it into a 'stub/' subdirectory. If it's a test file or otherwise not required to build the the package 'stub.nim', prevent its installation by adding `skipFiles = @["fpscounter.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
Verifying dependencies for stub@0.1.0
Info: Dependency on godot@>= 0.7.11 & < 0.8.0 already satisfied
Verifying dependencies for godot@0.7.14
Info: Dependency on compiler@>= 0.17.3 already satisfied
Verifying dependencies for compiler@0.18.0
Compiling ../src/stub.nim
2017-04-25 21:44:34.834 flights[4715:995615] Loaded 1806 flying objects
2017-04-25 21:44:41.252 flights[4715:995615] Select object: <MaplyScreenMarker: 0x610000cee300>
2017-04-25 21:44:41.252 flights[4715:995615] Select flying object: <FlyObject: d2f0e38 A320>
2017-04-25 21:44:41.548 flights[4715:995918] history points: (
"<FlyHistory: 47.366600, 8.443800, 36975, 473>",
"<FlyHistory: 47.361599, 8.453200, 36975, 474>",
"<FlyHistory: 47.358200, 8.459400, 36975, 474>",
"<FlyHistory: 47.345402, 8.483200, 36975, 474>",
"<FlyHistory: 47.341000, 8.491300, 36975, 475>",
"<FlyHistory: 47.333500, 8.505200, 36975, 475>",
@DrMoriarty
DrMoriarty / build.log
Created December 11, 2014 12:10
Python for android build log (osx 10.10)
bash-3.2$ ./distribute.sh -m "kivy"
./distribute.sh: line 299: lsb_release: command not found
Check build dependencies for
Avoid check build dependencies, unknow platform
Check enviromnent
SDK located at /opt/android-sdk/
NDK located at /opt/android-ndk/
NDK version is r10c
API level set to 14
Check mandatory tools
@DrMoriarty
DrMoriarty / log.txt
Created December 11, 2014 12:08
Python for android compilation log (osx 10.10)
bash-3.2$ ./distribute.sh -m "kivy"
./distribute.sh: line 299: lsb_release: command not found
Check build dependencies for
Avoid check build dependencies, unknow platform
Check enviromnent
SDK located at /opt/android-sdk/
NDK located at /opt/android-ndk/
NDK version is r10c
API level set to 14
Check mandatory tools