iMessageStickerUnity icon indicating copy to clipboard operation
iMessageStickerUnity copied to clipboard

Xcode Target Dependencies

Open jkampitakis opened this issue 6 years ago • 4 comments

Hello, in order for this plugin to work we must open the Xcode generated project and select "Build Phases" -> "Target Dependencies" -> "Unity-iPhone-Stickers" target.

https://www.dropbox.com/s/0yshd72o862mem4/Screen%20Shot%202018-07-05%20at%2018.37.11.png?dl=0

Is there a way to automate this process?

Kind regards, John.

jkampitakis avatar Jul 05 '18 15:07 jkampitakis

+1, Would be nice to get this working.

It looks like there is a code in post build script to add this dependency but it's not working for me. Xcode 9.4.1 with Unity 2017.4.8.f1

PixelEnvision avatar Jul 27 '18 18:07 PixelEnvision

I just merged in a PR that might fix this issue as xcode might not have recognized "iPhone Development" as your code sign identity and it fixed itself automatically when you selected the "Unity-iPhone-Stickers" target. Could you update and check to see if it works now? https://github.com/agens-no/iMessageStickerUnity/pull/31/commits/4c2d8c263d446338a0cce3dd7f654d17deeeaed5

skjalgsm avatar Sep 27 '18 09:09 skjalgsm

We still get the following error:

error: /Users/john/Library/Developer/Xcode/DerivedData/Unity-iPhone-andttpaqhibkcyezyvfjideiywma/Build/Products/ReleaseForRunning-iphoneos/Unity-iPhone-Stickers.appex: No such file or directory

jkampitakis avatar Oct 09 '18 12:10 jkampitakis

I think I found a solution to the problem. It works out of the box for me now on a completely fresh jenkins box using fastlane. What was missing was that TargetAttributes didn't have a reference to the new sticker target and I fixed it by adding a reference to the team id there.

skjalgsm avatar Dec 14 '18 11:12 skjalgsm