Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages<12
Options
Go to last post Go to first unread
Offline Benjamin  
#25 Posted : Tuesday, April 24, 2012 8:15:58 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Yap, I could reproduce this myself because I created a new iOS certificate for myself that is not installed either. Obviously it is an easy fix to install you by hand (which we did for all builds until now), but I really want to automated the last bit now. Thanks for testing and staying with the pain, we are almost there ;)
Offline Benjamin  
#26 Posted : Wednesday, April 25, 2012 5:50:22 AM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Signing is now fully automated (v0.9.5.14) and I just tested building a couple of projects with my new iOS Certificate successfully. You need to follow the instructions and upload a p12 certificate file and the mobileprovision file to make it all work, but I think you already setup your just fine:
http://deltaengine.net/Wiki.IOSDevelopment
Offline elasto  
#27 Posted : Wednesday, April 25, 2012 6:52:19 AM(UTC)
elasto

Joined: 8/23/2011(UTC)
Posts: 245

Thanks: 6 times
Was thanked: 12 time(s) in 11 post(s)
Ok... Well...

The good news is that the building worked fine!
- Received the package
- Opened up iTunes
- Dragged the .app folder into the Library section
- It's listed fine alongside the other apps (although it has no rating/purchase date/seller or genre)
- I go to the Device section and select my iPad
- It's listed in the Sync Apps section (although with the default icon)
- I tick it and click Sync and the progress bar reports 'Copying FindIt' and completes in iTunes without error. The app remains ticked
- But on my iPad it simply reports "iTunes Sync: 'FindIt failed to install'"

Any pointers as to where we can look as to the issue? Is there an error log in iTunes or anything?

Edit: Ugh. After a spot of Googling it looks like I must have messed something up in the certification process. I'll have to go through all those convoluted steps again...

Edited by user Wednesday, April 25, 2012 7:16:06 AM(UTC)  | Reason: Not specified

Offline Benjamin  
#28 Posted : Wednesday, April 25, 2012 2:19:15 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Yeah, the signing process is horrible on iOS. This is why we always had some manual steps involved. Now it would be possible to automate most things so you would not have to call openssl and things like that yourself (that is why there is a grayed out request signing request button), but I hope to get a few more users going through the process first and toughen it out a bit.


If you need more help with the provisioning, feel free to ask or email. Your certificate looks fine and the provision does link to it and includes one device.
Offline elasto  
#29 Posted : Wednesday, April 25, 2012 2:45:44 PM(UTC)
elasto

Joined: 8/23/2011(UTC)
Posts: 245

Thanks: 6 times
Was thanked: 12 time(s) in 11 post(s)
On an unrelated note it still seems awfully big. The whole thing is 70MB (17MB zipped); Of that 56MB is the FindIt file itself.

(The Content is doubled up with both the Atlas files and the single files included, but I assume you're fully aware of that and it's a trivial size in comparison)
Offline elasto  
#30 Posted : Wednesday, April 25, 2012 3:02:30 PM(UTC)
elasto

Joined: 8/23/2011(UTC)
Posts: 245

Thanks: 6 times
Was thanked: 12 time(s) in 11 post(s)
I don't need a Distribution Provisioning Profile, right? I only need a Development Provisioning Profile? I assume Distribution is for the AppStore release?

Edit: I can't really see anything wrong with what I've done. The UDID is correct and such. I think I'll just revoke my existing certificates and go through all the steps again. The guide you've listed in the Wiki is a nicer one than the one I initially followed. Perhaps I messed just up a setting.

Edited by user Wednesday, April 25, 2012 3:45:16 PM(UTC)  | Reason: Not specified

Offline Benjamin  
#31 Posted : Wednesday, April 25, 2012 3:46:41 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
There are basically 3 ways on iOS:

- Development, which is a bit easier to test locally and is usually used for debugging. You still need a certificate and mobileprovisioning. <- this is what you are using and what I used mostly for testing, but today I am testing AdHoc a bit ..
- AdHoc Distribution, good for testing with others and building the release version, different certificate (distribution) and different mobileprovisioning files. Other than that very similar to Development, but you can build a IAP file (e.g. for a weblink to install more easily). I am currently trying to build a website for the ipa download directly from a iOS device, which simplifies the process enourmeously.
- AppStore, this is the final version you will build to upload to the Apple AppStore. It is the same as AdHoc, but needs a different AppStore Mobileprovisioning file. This version won't run on any of your devices, only after it is available in the AppStore users can get your app (if Apple approves it).

Also put here: http://deltaengine.net/Wiki.IOSDevelopment

Hope this helps.

Edited by user Thursday, April 26, 2012 2:27:30 AM(UTC)  | Reason: Not specified

Offline elasto  
#32 Posted : Wednesday, April 25, 2012 4:20:45 PM(UTC)
elasto

Joined: 8/23/2011(UTC)
Posts: 245

Thanks: 6 times
Was thanked: 12 time(s) in 11 post(s)
Do I need this WWDR certificate file in order for the p12 to build correctly? I don't think I did that bit before.

(Edit: My research tells me I don't)

Edited by user Wednesday, April 25, 2012 4:40:58 PM(UTC)  | Reason: Not specified

Offline elasto  
#33 Posted : Wednesday, April 25, 2012 7:40:06 PM(UTC)
elasto

Joined: 8/23/2011(UTC)
Posts: 245

Thanks: 6 times
Was thanked: 12 time(s) in 11 post(s)
Deployment to iPad worked :)

(Revoked the old certificates and went through all the steps again. No idea what I did differently this time, but, hey!)



Now the serious coding work begins...!

Edited by user Wednesday, April 25, 2012 8:08:11 PM(UTC)  | Reason: Not specified

Offline Benjamin  
#34 Posted : Wednesday, April 25, 2012 11:51:54 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
As I said before I will try to automate the steps for other users in the future. Basically all we need from the user is to submit the certificate request to the iOS portal and select the devices and create the provisioning. All the rest can be done automatically ...

Your certificate and mobile provision will work now for a year (if you decide to reuse them for all your projects ^^), but even iOS developers that have been doing this for years really don't like the process and the typical "try it again until it works" approach from apple just sucks in situations like this.

I am almost done testing AdHoc website download generation. This means if you try building with an AdHoc certificate a website is returned in the launcher which you can point your iOS device to and directly install your application (much much faster and easier to do).

Edited by user Wednesday, April 25, 2012 11:52:40 PM(UTC)  | Reason: Not specified

Offline elasto  
#35 Posted : Friday, April 27, 2012 5:22:27 AM(UTC)
elasto

Joined: 8/23/2011(UTC)
Posts: 245

Thanks: 6 times
Was thanked: 12 time(s) in 11 post(s)
Ok... So I built FindIt and received the new ipa format file - which synced onto and runs fine on my iPad (so yay for that!)

I was hoping it wouldn't work, though, because I built a different app (basically just testing my 2D camera - trying to pan and zoom around a single background image) - and though it installed fine, on running on the iPad the screen goes black for a few seconds before returning to the iPad desktop. No error message reported or anything.
(This new app builds fine for and runs fine on Windows.)

What's the next step I can take to identify what's going wrong?

(Also, if this question should be in a new thread let me know)

Oops! I forgot to mention something very important! I'm reusing the certificates from the FindIt app for this app. Is that likely to cause this issue? You implied I could reuse the same certificates but perhaps I can't?


****

Ok - so my mistake. I needed to create a new .mobileprovision file for the new app. Once I did that it ran ok.

It's just all a bit unhelpful (by Apple, not you!): It should error on installation if it didn't like the certification - or give me some details of the problem at least! Installing fine and then just blackscreening on running is not especially helpful...

Edited by user Friday, April 27, 2012 7:10:53 AM(UTC)  | Reason: Not specified

Offline Benjamin  
#36 Posted : Sunday, April 29, 2012 12:16:37 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Hi PG,

In case you have not noticed, I have updated the iOS wiki page a few days ago: http://deltaengine.net/Wiki.iOSDevelopment

In the Launch on Device section I added a note box with the link to the iPhone Configuration Utility for Windows.
http://deltaengine.net/W...pment#Launch_on_Device_2

If you install this you can see the console log output from your device and you can see much quicker whats wrong and I will be able to help much better (most of the time I have to poke and try myself however because as you say with Apple it is trying until it works, not especially fun).
Offline elasto  
#37 Posted : Monday, April 30, 2012 1:54:41 PM(UTC)
elasto

Joined: 8/23/2011(UTC)
Posts: 245

Thanks: 6 times
Was thanked: 12 time(s) in 11 post(s)
Originally Posted by: PG Go to Quoted Post
With Windows it built fine but when I ran it some of the images were drawn wrong. An example is the Panda image. It is packed into AtlasTexture0 but in the ContentMetaData for my built app (ie in C:\Program Files\FindIt\Content\ContentMetaData.XML) it lists it like this:

Code:
<ContentMetaData Name="Panda" Type="Image" LastTimeUpdated="2012-04-10 06:17:16" PlatformFileId="7314" FileSize="16384" LocalFilePath="Panda.dxt5" PixelSize="128, 128" UV="0.5,0.125,0.125,0.125"></ContentMetaData>
ie it references the single file (Panda.dxt5) but uses UV coords for the image in the atlas. Hence it only displays a 64th of the image expanded. It's presumably the LocalFilePath that's wrong.
Just had the same thing happen with one item in my SpaceTD project. Been building all day and suddenly it happens from nowhere:

Code:
<ContentMetaData Name="GunShip" Type="Image" LastTimeUpdated="2012-04-30 03:49:38" PlatformFileId="15779" FileSize="16384" LocalFilePath="GunShip.dxt5" PixelSize="128, 128" UV="0.25,0.5,0.25,0.5"></ContentMetaData>
It put the item into its own dxt5 file but used the Atlas UV coords.
Offline Benjamin  
#38 Posted : Monday, April 30, 2012 2:01:45 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
There is still an open bug with the Atlas UV coordinates, which gets overwritten by another platform (you can also see it in the Labyrinth content, works from Visual Studio, but does not correctly apply UVs in the ContentManager).

I probably won't have time to fix it in the next few days (iOS testing is very time consuming), hopefully it is not too annoying. Try to ignore it and the problem will go away when I fix it.
Offline elasto  
#39 Posted : Monday, April 30, 2012 2:04:14 PM(UTC)
elasto

Joined: 8/23/2011(UTC)
Posts: 245

Thanks: 6 times
Was thanked: 12 time(s) in 11 post(s)
Originally Posted by: Benjamin Nitschke (DeltaEngine) Go to Quoted Post
There is still an open bug with the Atlas UV coordinates, which gets overwritten by another platform (you can also see it in the Labyrinth content, works from Visual Studio, but does not correctly apply UVs in the ContentManager).

I probably won't have time to fix it in the next few days (iOS testing is very time consuming), hopefully it is not too annoying. Try to ignore it and the problem will go away when I fix it.
No no, it's no bother at all. Just wanted to raise it in case you needed another example to help pin down the problem.
Offline elasto  
#40 Posted : Wednesday, May 16, 2012 3:05:56 PM(UTC)
elasto

Joined: 8/23/2011(UTC)
Posts: 245

Thanks: 6 times
Was thanked: 12 time(s) in 11 post(s)
Hi. Been unable to build for Windows or iOS for about 3 days now. I'm assuming you've been getting the errors.

Is there an ETA for when things will be back up and running?
Offline Benjamin  
#41 Posted : Saturday, May 19, 2012 5:09:38 PM(UTC)
Benjamin

Medals: Admin

Joined: 8/20/2011(UTC)
Posts: 1,421
Location: Hannover

Thanks: 18 times
Was thanked: 97 time(s) in 92 post(s)
Sorry about the issues. I finished testing Android, iOS and Windows building in the beginning of the week and had some testers help me out. Build times were also very good (all in the range of a few seconds, iOS a bit more, but still under a minute). When trying it out on the real servers things did not go so well and I was not able to fix all issues so I reverted to the last working version from a week ago (because I am currently in Holidays and Internet sucks here, but I will be back in a week). Sorry that it did not work out for you, maybe I reverted too far back (I tested Android, Windows and iOS building, but maybe my projects were too simple).

It probably makes most sense that I will contact you in a week when I will put the new code live and give you a chance to test it out with your projects.
Offline elasto  
#42 Posted : Saturday, May 19, 2012 5:35:20 PM(UTC)
elasto

Joined: 8/23/2011(UTC)
Posts: 245

Thanks: 6 times
Was thanked: 12 time(s) in 11 post(s)
np. Enjoy your holiday :)
Rss Feed  Atom Feed
Users browsing this topic
OceanSpiders 2.0
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.374 seconds.