GithubHelp home page GithubHelp logo

Comments (5)

atologist-pratik avatar atologist-pratik commented on August 25, 2024 1

@Shin-NiL i finally able to resolve above issue and manage to implement sharing option in iOS.
Here is the link how i compile share module and generate binary for iOS. i'm also adding compiled binary for testing in iOS.

https://github.com/atologist-pratik/CustomBuildForGodot.

from godot-share.

Shin-NiL avatar Shin-NiL commented on August 25, 2024

It seems fine to me, but as I don't have an Mac OS to try by myself, I can't confirm it.
Are you able to build and run your custom template without the share module? If not you should open this question on the Godot respository instead.

from godot-share.

atologist-pratik avatar atologist-pratik commented on August 25, 2024

Well i create custom template without share module. I used below commands to generate binary for debug and release.

scons p=iphone tools=no bits=32 target=release arch=arm
scons p=iphone tools=no bits=64 target=release arch=arm64

lipo -create bin/libgodot.iphone.opt.arm64.a bin/libgodot.iphone.opt.arm.a -output bin/libgodot.iphone.release.fat.a


scons p=iphone tools=no bits=32 target=debug arch=arm
scons p=iphone tools=no bits=64 target=debug arch=arm64

lipo -create bin/libgodot.iphone.debug.arm64.a bin/libgodot.iphone.debug.arm.a -output bin/libgodot.iphone.debug.fat.a

as result i get libgodot.iphone.debug.fat.a and libgodot.iphone.release.fat.a in godot/bin folder.

i replace this file with godot/misc/dist/ios_xcode files. rename ios_xcode to iphone, then zip it.

Then i replace iphone.zip with /Library/Application\ Support/Godot/templates/3.1.stable

Then i export project then try to run in device. i get exact same issue.

Undefined symbols for architecture arm64:
  "_z_error", referenced from:
      _inflate_codes in FBLogin.a(ftgzip.iphone.debug.arm64.o)
  "_z_verbose", referenced from:
      _inflateInit2_ in FBLogin.a(ftgzip.iphone.debug.arm64.o)
      _inflate in FBLogin.a(ftgzip.iphone.debug.arm64.o)
      _inflateEnd in FBLogin.a(ftgzip.iphone.debug.arm64.o)
      _inflateReset in FBLogin.a(ftgzip.iphone.debug.arm64.o)
      _inflate_blocks_reset in FBLogin.a(ftgzip.iphone.debug.arm64.o)
      _inflate_codes_free in FBLogin.a(ftgzip.iphone.debug.arm64.o)
      _inflate_blocks_new in FBLogin.a(ftgzip.iphone.debug.arm64.o)
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

from godot-share.

Shin-NiL avatar Shin-NiL commented on August 25, 2024

So it's an issue related to the engine building process. I recommend that you ask for help on the Godot official channels (QA, github, IRC or Discord).

from godot-share.

Shin-NiL avatar Shin-NiL commented on August 25, 2024

Nice, thank you!

from godot-share.

Related Issues (17)

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.