godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.81k stars 20.14k forks source link

Errors for Android and iOS plugins #40871

Open DrMoriarty opened 4 years ago

DrMoriarty commented 4 years ago

Godot version:

Godot 3.2.3.beta

OS/device including version:

MacOSX 10.15.5 (19F101)

Issue description:

I use custom android build and many remote plugins as described in this gdap file:

[config]

name="Amplitude"
binary_type="remote"
binary="ru.mobilap.godot:godot-amplitude:+"

[dependencies]

local=[]
remote=[]
custom_maven_repos=["https://dl.bintray.com/mobilap/maven/"]

When I open project I get in console a lot of errors:

ERROR: _get_modified_time: Failed to get modified time for: ru.mobilap.godot:godot-amplitude:+.
   At: drivers/unix/file_access_unix.cpp:321.

Steps to reproduce: Use any remote Android plugin and open project in godot emulator.

Minimal reproduction project:

DrMoriarty commented 3 years ago

Also usecase for iOS (godot 3.2.4-rc3):

bash-3.2$ pwd
/Users/vasya/projects/nativelib-test/ios/plugins
bash-3.2$ ls -lA *
core.apn:
total 8
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 apn.debug.xcframework
-rw-r--r--  1 vasya  staff  236  4 мар 09:45 apn.gdip
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 apn.release.xcframework

core.arkit:
total 8
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 arkit.debug.xcframework
-rw-r--r--  1 vasya  staff  336  4 мар 09:45 arkit.gdip
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 arkit.release.xcframework

core.camera:
total 8
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 camera.debug.xcframework
-rw-r--r--  1 vasya  staff  314  4 мар 09:45 camera.gdip
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 camera.release.xcframework

core.gamecenter:
total 8
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 gamecenter.debug.xcframework
-rw-r--r--  1 vasya  staff  262  4 мар 09:45 gamecenter.gdip
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 gamecenter.release.xcframework

core.icloud:
total 8
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 icloud.debug.xcframework
-rw-r--r--  1 vasya  staff  218  4 мар 09:45 icloud.gdip
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 icloud.release.xcframework

core.inappstore:
total 8
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 inappstore.debug.xcframework
-rw-r--r--  1 vasya  staff  254  4 мар 09:45 inappstore.gdip
drwxr-xr-x  5 vasya  staff  160  4 мар 10:38 inappstore.release.xcframework

ios_plugin_template:
total 8
drwxr-xr-x  5 vasya  staff  160  5 мар 20:10 godot_plugin.debug.xcframework
drwxr-xr-x  5 vasya  staff  160  5 мар 20:10 godot_plugin.release.xcframework
-rw-r--r--  1 vasya  staff  224  5 мар 20:09 plugin_template.gdip

When opening project I get:

ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.apn/apn.release.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.apn/apn.debug.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.icloud/icloud.release.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.icloud/icloud.debug.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.gamecenter/gamecenter.release.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.gamecenter/gamecenter.debug.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.camera/camera.release.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.camera/camera.debug.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.arkit/arkit.release.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.arkit/arkit.debug.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/ios_plugin_template/godot_plugin.release.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/ios_plugin_template/godot_plugin.debug.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.inappstore/inappstore.release.a.
   At: drivers/unix/file_access_unix.cpp:321.
ERROR: _get_modified_time: Failed to get modified time for: res://ios/plugins/core.inappstore/inappstore.debug.a.
   At: drivers/unix/file_access_unix.cpp:321.
DrMoriarty commented 3 years ago

@Calinou please, add platform:ios