Giter Club home page Giter Club logo

Comments (19)

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

Okay, that's because the info.plist is missing in the copy bundle resources of the stickers target. When that is added I get the following error:

Embedded binary's bundle identifier is not prefixed with the parent app's bundle identifier.

from imessagestickerunity.

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

I think you cannot have the stickers plist be also named info.plist. It needs a different name, renaming it fixed it.

from imessagestickerunity.

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

Okay, ignore all of above. It all comes down to this:

  1. The $(PRODUCT_BUNDLE_IDENTIFIER) does not resolve, which in turn makes the info.plist be 'invalid' according to xcode. I've modified the StickersExport.cs to just enter the full bundle id of the added target there.

  2. If you're generating for release, unity adds 2 build configs 'ReleaseForProfiling' and 'ReleaseForRunning'. Which means the bundle id is not set for those in the stickers target case.

from imessagestickerunity.

skjalgsm avatar skjalgsm commented on July 18, 2024

Could you make a PR with your changes please?

from imessagestickerunity.

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

Haven't quite fixed #2 yet, I'll make a pr when I get the chance.

from imessagestickerunity.

trongthien18 avatar trongthien18 commented on July 18, 2024

Hello,
Your plugin is really cool. I'm working on the automation build system and I really need it. But I have the same problem, and the project can not build.
Waiting for your fixing.

from imessagestickerunity.

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

@trongthien18 I'm running into unity cloud build issues now as well if that's what you mean. The cloud build team is looking into it, seems like a partial issue on their end (aside from the fixes I've done so far)

from imessagestickerunity.

skjalgsm avatar skjalgsm commented on July 18, 2024

ReleaseForRunning and ReleaseForProfiling is now set. Any other problems then you should open another issue. Thank you so much for reporting these

from imessagestickerunity.

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

thanks for fixing it, it seems like you're missing something for those targets. Have you tested it?

I'm getting the following error now:

ReleaseForRunning-iphoneos/Unity-iPhone-Stickers.appex: No such file or directory

from imessagestickerunity.

skjalgsm avatar skjalgsm commented on July 18, 2024

Yeah it works here :S

from imessagestickerunity.

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

Let me look into it further, maybe related to firebase generating a workspace. Not sure. I'll report back.

from imessagestickerunity.

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

if I check 'Copy only when installing' under the main target -> build phases -> embed app extensions. it works. Not sure if that's checked with your project? Wasn't with mine.

from imessagestickerunity.

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

which unfortunately only works for building to your device, not for archiving production builds :(

from imessagestickerunity.

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

Adding the stickers target as a target dependency of the main project seems to fix the issue. Not sure your plugin does that and another plugin removed it perhaps?

from imessagestickerunity.

skjalgsm avatar skjalgsm commented on July 18, 2024

from imessagestickerunity.

Josk avatar Josk commented on July 18, 2024

Hi We have the same problem here, the sticker pack is not added as a target dependency of the main target. What is the code that is should take care of it?

from imessagestickerunity.

tobytaro avatar tobytaro commented on July 18, 2024

@M0rph3v5 hi, I got the same error, may I ask how to "Adding the stickers target as a target dependency of the main project"?

from imessagestickerunity.

M0rph3v5 avatar M0rph3v5 commented on July 18, 2024

from imessagestickerunity.

tobytaro avatar tobytaro commented on July 18, 2024

@M0rph3v5 Thanks! It works. But every time I build from unity, this target dependency gone. I need to manually add it again. Is it the problem from the plugin?

from imessagestickerunity.

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.