Giter Club home page Giter Club logo

Comments (6)

WoodShack avatar WoodShack commented on May 28, 2024 1

I got it 👯‍♂️

  1. Download godot-cpp V3.2.3 and put in /ios-framework/godot-cpp
  2. Download godot-headers V3.2.3 put in /ios-framework/godot-cpp/godot-headers
  3. in /ios-framework/godot-cpp run scons platform=ios generate_bindings=yes target=release
  4. in xcode/Targets/gdnative_ios/Build Settings/Header Search Paths/ change both debug and release from godot_headers to godot-headers
  5. in xcode/Targets/gdnative_ios/General/Frameworks and Libraries remove lgodot-cpp.ios.release and add /ios-framework/godot-cpp/bin/libgodot-cpp.ios.release.arm64.a
  6. in Xcode/Targets/gdnative_ios/build settings/Architectures change to Standard Architectures (arm64)
  7. I had to remove these lines from xcframework_build.sh, maybe because I'm on a M1 Mac?
xcodebuild archive \
    -project "./$PROJECT" \
    -scheme $SCHEME \
    -archivePath "./build/ios_sim.xcarchive" \
    -sdk iphonesimulator \
    -arch x86_64 \
    SKIP_INSTALL=NO

-framework "./build/ios_sim.xcarchive/Products/Library/Frameworks/$FRAMEWORK" \
  1. in /ios-framework/ run ./xcframework_build.sh
  2. remove these lines from /iOS-framework/build/localnotification.gdnlib
iOS.armv7="res://addons/localnotification-ios/localnotification.xcframework"
iOS.armv7=[  ]

That was hard, glad I figured it out.

from godot-local-notification.

yan88a avatar yan88a commented on May 28, 2024

still no success in compiling the ios framework.
added the 3.5 headers in the search path..
get "cant find <godot.hpp>"
anyone?

from godot-local-notification.

rzuf79 avatar rzuf79 commented on May 28, 2024

Hi yan
Make sure to go through steps outlined here. I'll be trying to get this plugin to work in the near future and will post updated version of it somewhere around here

from godot-local-notification.

yan88a avatar yan88a commented on May 28, 2024

Hey!
thanks for the reply @rzuf79 !
tried everything i know (creating plugins included)
guess that no success since thats a module and not a plugin..

from godot-local-notification.

yan88a avatar yan88a commented on May 28, 2024

@WoodShack hi!
did you use godot's plugin template for that? https://github.com/naithar/godot_ios_plugin

thanks,

Yan,

from godot-local-notification.

WoodShack avatar WoodShack commented on May 28, 2024

DrMoriarty used GDNative instead of a iOS plugin

I also fixed daily notifications.

https://github.com/WoodShack/godot-local-notification

from godot-local-notification.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.