Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Mithheru

Pages: 1
1
iPhone / iPad / Android / Re: List Of Apple Featured Mobile Games
« on: November 28, 2017, 12:44:57 am »
Hi,

You can now also add The Viking Game (you can also find it also by using keywords Tafl, Tablet, Hnefatafl etc.)
This a paid App.  Slightly different versions released for iPhone and iPad.

All the A.I.Player code written in Stencyl!
Admittedly my original code written in C++ is about 10 times faster, but nonetheless still works well.

Thanks to all those who helped me sort out the Issues with the digital certificates, and getting my very first App to Apple!

2
Xcode 8 seems to have solved most of the issues.

Last night, I realised that the Ad Hoc profiles are needed only for testing.  Therefore to date my App Store profiles had not been tested.  Therefore I recreated the App Store profiles, as one of my earlier certificates had got corrupted.

Using the new profiles, I have now managed to get both of my Game versions (iPad and iPhone) submitted to Apple for review without further issues.  Lets hope my App will now be approved!

Code I can write, but Digital certificates, and Xcode are not the easiest of things to work with!

Thank you to all of those that helped me get this far.  Your contributions and advice are most helpful.

3
Okay installed Xcode 8.  Regenerated the IPA files.  My iPad version uploaded to the App Store but then I got email from apple:

Invalid Code Signing - The executable 'Payload/The Viking Game.app/The Viking Game' must be signed with the certificate that is contained in the provisioning profile.

For my iPhone version, I just got a similar error from the Application Loader:

ERROR ITMS-90179: "Invalid Code Signing. The executable 'Payload/A Viking Game.app/A Viking Game' must be signed with the certificate that is contained in the provisioning profile."

Really not sure what is happening, as I thought you would use the same digital signatures in order to publish from stencyl.

Do I need another set of certificates / signatures to upload to the App Store?


4
Okay thanks, I will try that...

5
Ask a Question / Missing 1024 Game Icons from IPA file...
« on: November 23, 2017, 11:51:56 pm »
Further to my other post about Application Loader, I have opened the IPA file.

Using my Mac I opened the IPA file with the Archive Utility, opened the Payload and then right clicked - 'show package contents' on the file Icon.

When I look at the files here, I see several of my Apps Icon files at different scales.  However there are no icon files at 1024 resolution.  My original image put into stencyl is at 1024 pixels. 

Please could someone have a look at an IPA file they have created and successfully uploaded to the App Store.  This will tell me what seems to be missing.  From what I can find trawling the internet, I think there may be a bug in Xcode that doesn't copy across all of the files needed.

In particular any game icon files at 1024 resolution don't seem to get copied across.  Please could you tell me the exact file name I should have.

Do you think I could then copy them in and rearchive the IPA file?

6
I have been doing a bit more research, and I think that it may be due to a bug in Mac OS  Sierra.  I am currently running Mac OS Sierra version 10.12.6, with Xcode 9.1 and Application loaded 3.7.

Has anyone one here built an App with these versions.  I don't see how it is specific to my code. 

Also the digital signatures work fine for testing my App on iPhone and iPad through stencyl, and also when publishing for iOS.  I'm also currently using stencyl 3.4.0 - build 9300.

I really need to get this sorted.  I have not spent the last few months solidly building an App to fail now!



7
Ask a Question / Re: URGENT: Errors while building your game.
« on: November 21, 2017, 10:14:24 pm »
I have found that stencyl can be very buggy if you don't use it exactly as it was intended.  Your blocks of code can get corrupted, yet the game often will still compile.  As a piece of advice, before you start each session of work, open the stencyl games folder from your desktop etc. and copy the folder containing all of your game to a backup folder and date it.  That way you never loose more than a session of work.  Always keep your old versions, don't be tempted to delete them until sometime after your project is completed

In particular here are a few things I strongly suggest you never do:

- When stencyl is saving, never try to open new actors etc. or open other things from the dashboard.  Stencyl's multitasking allows you to do this, but I have seen things get corrupted, even if you don't edit anything whilst saving (which stencyl also allows you to do!)

- Also when copying blocks between actors or scenes, I find stencyl is very buggy.  For me, if I copy code with multiple loops, stencyl usually crashes, and the blocks disappear.  Also when you reopen stencyl you often find many copies of parts of the code untidily left at the top of the events screen window, which you never created.
 They don't get incorporated into your code, but its generally an untidy mess (these can be deleted safely).

Never copy / drag blocks between scenes, actors containing local attributes.  If you do, be aware that even if your new scene, actor etc. has the same attributes the code may compile, but the attributes will not match up.  Therefore after dragging and dropping the code delete the old local attributes and put in the new ones (even if they have the same name, and look the same).  I guess this is why stencyl does not allow you to export blocks of code!  If they use local attributes, they only work in their original context.



8
Hi,

I have completed my App.  I have tested it on iPhone and iPad.  I am now in the process of uploading the ipa file to the Apple App Store using Application loader and I get the following errors:

- description length:544024

- ERROR ITMS-90179

- Also not sure about the warning, as I created an image icon in stencyl at the correct resolution.

Please, I really need some help with this one.  This is my first App I am trying to release so an explanation in quite simple terms, with perhaps some screenshots would help.

Many, many thanks.

Mike.

9
Sorry, I reposted the error as a new issue as it was unrelated to the original one.

The second issue was caused because I didn't set the iOS minimum version and target version correctly.   On the other link, it was suggested to adjust the minimum and target version.  I have now set the target version to 11.1 and the minimum version to 9.0.  Seems to work.

I then encountered another error, which appeared to have been caused by having multiple duplicate certificates in keychain.

I am now able to test on iPad for the first time.  Progress is now nearly complete having resolved a few scaling issues and other minor bugs.

Regarding the scaling issues, I note that new 'images' don't scale correctly.  I wanted a text box with a border, which could be rotated by 90 degrees.  Depending on the scaling, the border (one image drawn onto of a slightly larger black filled image) differs in size, and is not the same width all around.  There should be a fix to Stencyl to fix this.

Anyway,  I have now adjusted the code to take specific account of the scaling when creating new images and drawing them.   

10
Okay, I got it into Xcode, the certificates seem now to be okay.  Thank you very much for that!

However, now I have a new error.

I have now got a new error, which I don't follow.  I fully tested it in flash before, so I know the code itself all looks fine.

11
I upgraded to the full version of Stencyl.  I have published the project for xCode, but I'm not sure how to open it in xCode. Xcode cannot open the created folder just by itself, so is there a particular file I should open in xCode?

12
Hi,

I just finished building a new Game that plays a wide range of Viking Age Tafl games (Hnefatafl, Tablut etc).  My game is all written in Stencyl and my AI Player beats all other apps on any platform that can play similar games.  It all works perfectly in Flash, and is ready for final testing prior to launch.  This is where I start to get unstuck:

I have followed the instructions following the link under the Stencyl mobile settings page, and have registered as a developer with Apple, and acquired all the necessary distribution certificates.  When I try to build the project on an iOS Device platform in Stencyl I get the following error.

This suggests that Xcode has not installed the certificates.  I have several times recreated the certificates with apple, downloaded them, and double clicked them which then opens Xcode.  It still seems that the certificates in Xcode don't match the ones specific to this app.  Any ideas?  I have now spent many many hours trying to do everything I can, but nothing seems to work.

I've also attached a view of my certificates in Xcode.  Xcode won't let me delete them, so I wonder if it won't let me update or correct one, perhaps thats the problem?

This is my first App, so please try to explain things as easily as you can!


Many thanks,

Mike.


Part of log from Stencyl:

2017-10-30 22:06:26,107 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib] Check dependencies
2017-10-30 22:06:26,113 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib] warning: iOS 11.0.0 does not support armv7
2017-10-30 22:06:26,113 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib] Code Signing Error: No profiles for 'com.fearn.thevikinggame' were found:  Xcode couldn't find any iOS App Development provisioning profiles matching 'com.fearn.thevikinggame'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.
2017-10-30 22:06:26,113 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib] Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.0'
2017-10-30 22:06:26,113 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib] ** BUILD FAILED **
2017-10-30 22:06:26,113 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib] The following build commands failed:
2017-10-30 22:06:26,113 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib]    Check dependencies
2017-10-30 22:06:26,113 INFO  [Thread-13] stencyl.sw.util.StreamGobbler: [haxelib] (1 failure)
2017-10-30 22:06:26,130 DEBUG [pool-1-thread-2] stencyl.sw.util.Util: Process 'haxelib' exited with code: 1
2017-10-30 22:06:26,131 ERROR [pool-1-thread-2] stencyl.sw.io.write.resource.HXWriter: Failed: Running iOS. (Return code: 1)

Pages: 1