1

I am trying to submit this cocos2d app in the App Store. Provisioning / code-signing configuration is done properly, however, there's a target, TexturePacker that is giving errors (more specifically - PackTexture.sh file).

PackTexture.sh Path in Target Screenshot

PackTexture.sh represents all sheets created with Texture Packer, so if I remove it, the game will not function properly.

Texture Packer Target Screenshot

Removing Texture Packer Target is also not going to work. I am out of ideas.

Texture Packer Target can be code-signed and provisioning info can be added. However, the provisioning profiles for distribution are not auto-detected to add them into that target.

How do I submit this binary to the App Store?

itzo
  • 1,220
  • 14
  • 18
  • Do you have any other .sh file in your code? – Nilesh Patel Apr 24 '15 at 13:00
  • Can you rename it? Maybe sh file is processed as a shell script and this confuses Xcode? (Just a guess, don't know exactly what is the reason) – bealex Apr 24 '15 at 16:11
  • @Nilesh, yes, I have .sh file in code. It gives that error. – itzo Apr 24 '15 at 17:38
  • I wish I could upload a screenshot, but do not have enough reputation points for this. – itzo Apr 24 '15 at 17:39
  • You can upload the screenshot to http://tinygrab.com/ & share the URL over here... I was asking like do you have any other .sh file apart from the "PackTexture.sh" file? – Nilesh Patel Apr 25 '15 at 05:14
  • Thanks, I added two links above with screenshots. There's no other .sh file in project other than the one I mentioned. – itzo Apr 25 '15 at 06:52

2 Answers2

0

Looks like Texture packer command line tool used to build sprite sheet.

Install Texture Packer software. Then open texture packer and in drop down menu, select 'Install Command Line Tool'

enter image description here

Guru
  • 21,652
  • 10
  • 63
  • 102
  • Thanks, I'll try this and report what happened. – itzo Apr 24 '15 at 18:12
  • It's done! I got the following alert - "Installation seems to be fine. TexturePacker is now available as command line tool." Inside the PackTexture.sh file, I see the line: TP="/usr/local/bin/TexturePacker" That's the exact location where I installed The Command Line Tool of Texture Packer. I even tried to link to the path where Texture Packer Pro is installed in Applications, but still "invalid certificate" warning shows up. – itzo Apr 25 '15 at 19:28
  • code signing is one another problem in this..may be your certificate is not valid..check it – Guru Apr 26 '15 at 04:22
0

Problem solved when deleted PackTexture.sh file from project!

itzo
  • 1,220
  • 14
  • 18