Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / XCode 6 AGK has a problem i think... PAUL please read it!!

Author
Message
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 20th Sep 2014 16:45
I hope was a XCode 6.0.1 bug, but nothing work anymore on it.
There is something in the architecture that don't go.
iOS 8 need 64bit both with 32bit so i don't know if we can use AppGameKit anymore until we have the 64bit lib.

Paul have you done some test with iOS 8 and the new XCode?
Also the Notifications are changed.

Hmmm i hope this can be fixed by Apple or by a 64bit lib.
Now i will do some test to understand what is happening!!



bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 21st Sep 2014 00:34
I think I read on some other thread that Paul already said that agk did not work with the new xcode and he will check it out
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 21st Sep 2014 03:01
Does XCode 6 not allow you to set the "architectures" setting to "armv7 armv7s"? If it forces the use of the "arm64" architecture then we will have to try building an arm64 version of the lib.
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 21st Sep 2014 03:45
Thx Paul, i investigated more and i found that some other users in the net have the same error.
Some users have it, some users don't have it. And all of them say that Apple want to force to deploy 64bit apps...

I suggest to start to deploy an arm64 version of the lib.
If i have news i will inform you.

In the while i will delete XCode 6 and redownload the 5.


JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 21st Sep 2014 14:05
This is a typical example of Apple's rigid approach. 64-bit is pointless unless you need an address space vastly beyond what you will get on most phones or pads.

-- Jim - When is there going to be a release?
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 21st Sep 2014 17:17
problem is in 1 year they will only start approving 64bit apps and reject the rest
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 22nd Sep 2014 18:39
I downgraded to XCode 5 again, or i can't send apps.
So i'll wait some news on the new update and bug fix from apple.

bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 22nd Sep 2014 21:06
can't send apps with xcode5?!!

how is that possible?
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 23rd Sep 2014 15:28
AGK can now compile in 64bit mode, I'll include the arm64 architecture in the next iOS lib version. However it will still be compiled with iOS 7 until I've had a chance to upgrade. I don't know if you can compile an iOS 8 app with an iOS 7 lib, but if not you should be able to compile with XCode 6 if you download the iOS 7 SDK separately (or save it from your current installation "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/")

Quote: "can't send apps with xcode5?!!"


I interpreted it as "downgraded to XCode 5, otherwise I can't send apps"
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 23rd Sep 2014 15:35
I'm upgrading again to XCode 6 because with XCode 5 is impossible to test the apps on updated devices. DAMN Apple!!!

I will try to found a workaround, and i will inform you all on how to do.

P.S.: Paul you understood what i mean. Thx for the 64bit lib!!

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 23rd Sep 2014 17:45 Edited at: 23rd Sep 2014 17:47
Ok after reistalled XCode 6, some bugs disappeared, now i can start also the apps on devices.

But now this is the new problem i resolution :
This is iPAD 1024x768, always worked well, but now it stretch!!




Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 24th Sep 2014 04:31
Quote: "This is iPAD 1024x768, always worked well, but now it stretch!!"


I seem to remember a similar thing happening when iOS 6 upgraded to iOS 7 and Apple changed the way the app detects the resolution. Something about it using a scale factor with 1024x768 instead of returning 2048x1536. Maybe they have changed something again for iOS 8, for now I recommend using the iOS 7 SDK if possible.
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 24th Sep 2014 18:23
Ok Paul i will test to call the SDK 7 instead 8 and i will inform you!!
See you later!

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 24th Sep 2014 20:47
Paul we are in trouble!!!!
They rejected all my app update with iOS 7!!!

They want the app works on iOS 8 or all will be rejected.
Please do something!!!

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 24th Sep 2014 23:51 Edited at: 24th Sep 2014 23:52
iOS 7 apps should work on iOS 8, but I will upgrade to the iOS 8 SDK after alpha 7 and start testing it.
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 25th Sep 2014 02:37
Sorry Paul for the pressure, but i talked with the reviewer for a long time trough messages.
I tried all, but after i sent the app the 10th time, and after solved other many problems, he make me understand that if the app doesn't work perfectly on iOS 8 for iPhone 6 & Plus, the app is rejected.

Infact he sent me some screenshoots, always the same, where the app slowly down on iPhone 6 and go so slowly that seems to never run.

Thx for your patience, we need it!!


Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 25th Sep 2014 03:49
Ok, so I've installed iOS 8 and tested the AppGameKit Player, portrait apps are fine, but landscape get stretched like in your screenshot. This is because Apple has changed the way [[UIScreen mainScreen] bounds].size.width works in iOS 8 so it now changes based on the orientation, whereas iOS 7 always returned the portrait size.

Luckily there is a hack if you want to use Alpha 7 with iOS 8. In UntitledViewController.m replace

with


and then in the same file replace


with


It's not pretty but it tricks AppGameKit into using the corrected device size instead of assuming it will always get the portrait size. This is only necessary in landscape apps. Alpha 7 also comes with arm64 so you should be good to go.
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 25th Sep 2014 13:56
Thx Paul, i found the same trick, but i waited you to be sure.


bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 25th Sep 2014 14:49
Paul will you also fix the templates with this fix in alpha 8 ?
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 25th Sep 2014 14:58
Today i will gonna do a working template on the base of the one i done in the my last video.
Of course i will do a video for it too.

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 25th Sep 2014 16:23
Quote: "Paul will you also fix the templates with this fix in alpha 8 ?"


What's wrong with the templates?
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 25th Sep 2014 16:34
I'm doing tests and it need some other changes.
I will publish the video in some hours.

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 25th Sep 2014 17:53
I'm about to solve, but remain 1 problem:
- iPad with ios 7.1 go shrink to 0.5 scale

I don't know why...
Investigating!!!

xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 25th Sep 2014 19:41 Edited at: 25th Sep 2014 19:42
Ok the problem is bigger than i expected.
I solved the screen sizes for all the devices, but on iPhone 6 and 6 Plus the Pointer doesn't work properly.

In fact if i press buttons, it always return the same ID.
I have only iPad 2 and iPhone 5 and iPod 5 to test it, so really i don't know what to do.

This is my code to get it working screens for every device, give it a look Paul:
This is for the landscape mode, if you want to use the portrait, you need to invert again the sizes.



bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 25th Sep 2014 20:06
Paul the changes in UntitledViewController.m listed above because of ios8
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 25th Sep 2014 20:09
Gekko, why do you waste your time fighting with reviewers?

you never manage to get it right with them.

just wait some time and upload the ipa again, maybe a new reviewer will check it out and greenlight it
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 25th Sep 2014 22:53
Quote: "I solved the screen sizes for all the devices, but on iPhone 6 and 6 Plus the Pointer doesn't work properly."


It looks like that hack we used isn't going to help after all, it tricks AppGameKit into using the scaled device size, but for the pointer to work AppGameKit must know the unscaled device size. The values passed to UpdateDeviceSize() are ignored in favour of the real device size so we can't trick it any further. I will fix this in the next update, and AppGameKit will be upgraded to iOS 8 without any hacks required.
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 26th Sep 2014 14:07
is this all fixed in 7.1 yet ?
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 26th Sep 2014 15:47
Thx Paul if you need help for anything don't hesitate to ask, i'm downloading and i will test in some minutes.

Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 26th Sep 2014 17:37
Quote: "is this all fixed in 7.1 yet ?"


As far as I can tell it is, everything works here.
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 27th Sep 2014 14:42
great work
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 29th Sep 2014 14:41
Work for the orientation but not for the pointer in portrait when landscape.

lmr2013
10
Years of Service
User Offline
Joined: 15th Jul 2013
Location:
Posted: 1st Nov 2014 14:48
Is there an IOS 8.1 fix for AppGameKit v108.24? if not, can you please let me know if there going to be. Thanks.

Im a good way through a large app written on v108.24 and just come to test it on my updated ipad (via xcode 6.1) to find portrait seems to work, but as soon as it goes into landscape the screen stretches and when you tap the screen nothing happens / nothing works / it just freezes, you cannot proceed. Trouble is my app is designed for landscape only. I've tried the 7.1 SDK but the same seems to be happening.

if there is no fix planned, I assume swapping to AppGameKit V2 is the way forward? can you compile / release stuff to the app store using the current Alpha version (or is that in the future).?

Cheers.
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 3rd Nov 2014 13:35
You can give a look to my template.
Donwload it and try.
I've solved all on iOS 8.

lmr2013
10
Years of Service
User Offline
Joined: 15th Jul 2013
Location:
Posted: 3rd Nov 2014 21:32
thanks xGEKKOx

I did manage to switch over to AppGameKit V2 the weekend, and Im really impressed with it. AppGameKit V2 looks the business.

love the V2 .ipa export on the mac version (oohh it's brilliant) - i simply dropped the compiled .ipa file into itunes and bingo it worked great on my ipad IOS 8.1, and it worked 1st time.

on AppGameKit V1 i had to mess about with xcode to get it on the ipad, it was more long winded / seemed to be hit and miss.

the android .apk export also worked well on V2, i think i found a glitch as i couldnt tap and drag my tiles (which worked on ipad) they just stayed still - but hey, its still an alpha version.

one query i do have (as i've never released anything to the apple store, or any other store) - is AppGameKit V2 alpha stuff ok to upload to the apple store.?

if you can release a AppGameKit V2 compiled .ipa file to the apple store - that would be great.
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 4th Nov 2014 20:56
You must follow another kind of publishing...
Use the ARCHIVE and use the publish certificate.
The organizer will show...
From the organizer press verify and then publish to the store.

But remember to set up your app from the itunes connect first.


lmr2013
10
Years of Service
User Offline
Joined: 15th Jul 2013
Location:
Posted: 6th Nov 2014 19:58
Thanks xGEKKOx

Login to post a reply

Server time is: 2024-04-20 08:54:28
Your offset time is: 2024-04-20 08:54:28