diff --git a/.gitmodules b/.gitmodules index 12d267cb..094e5478 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,4 @@ [submodule "vendor/pcre"] path = vendor/pcre url = https://github.com/luvit/pcre + ignore = dirty diff --git a/app/tp.xcframework/Info.plist b/app/tp.xcframework/Info.plist deleted file mode 100755 index 84653359..00000000 --- a/app/tp.xcframework/Info.plist +++ /dev/null @@ -1,40 +0,0 @@ - - - - - AvailableLibraries - - - LibraryIdentifier - ios-arm64 - LibraryPath - libgodot.a - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - - - LibraryIdentifier - ios-arm64_x86_64-simulator - LibraryPath - libgodot.a - SupportedArchitectures - - arm64 - x86_64 - - SupportedPlatform - ios - SupportedPlatformVariant - simulator - - - CFBundlePackageType - XFWK - XCFrameworkFormatVersion - 1.0 - - diff --git a/tools/build_ios.sh b/tools/build_ios.sh index 947fd7c3..4b5b6934 100755 --- a/tools/build_ios.sh +++ b/tools/build_ios.sh @@ -14,4 +14,6 @@ cd ../.. nim c --os:ios --debugger:native -o:libenu.a src/enu.nim -libtool -static -o app/libenu.a libenu.a vendor/pcre/.libs/libpcre.a +libtool -static -o dist/ios/Enu/libenu.a libenu.a vendor/pcre/.libs/libpcre.a + +cp vendor/godot/bin/libgodot.iphone.debug.arm64.a dist/ios/Enu.xcframework/ios-arm64/libgodot.a