Claude, I am going to go just with (2) because it works and less typing than (1). Certainly less than your Double(2) recommendation.
All this still seems a little like “black magic” = “try this .. try that .. try something else“.
SO it’s back to SKTextures and other game-stuff.
Claude, I cannot possibly thank you enough for your sticking with me. 5 smiley faces for you.
Post
Replies
Boosts
Views
Activity
(1) if Double(playerPosY - playerHeight/2) <= -(roomHeight/2 - kFudge)
WORKS
=====
(2) if (playerPosY - playerHeight/2) <= (kFudge - roomHeight/2)
WORKS
=====
(3) if (playerPosY - playerHeight/2) <= -(roomHeight/2 - kFudge)
FAIL
=====
All Parms are declared Double, SO
Double - Double = a Double
SO, why doesn’t 3 work??
(1) playerPosY and playerHeight are = Double
(2) SwiftUI ( I think? But, I do call import SpriteKit, GameController, + QuartzCore for various other needs )
(3) if Double(playerPosY - playerHeight/2) <= -(roomHeight/2 - kFudge) DOES! compile
(4) I gotta say all this is very mysterious to me
SOLVED
Will someone please delete my above responses because my error was a brain lapse.
Should have clicked the + symbol, typed 1.2, whereupon the new entries **Prepare for Submission" appeared.
I really, really apologize for wasting your valuable time.
Now both the iOS + tvOS versions 1.2 are Waiting for Review.
I discovered this for my tvOS version of my App (iOS version is okay):
We identified one or more issues with a recent delivery for your app, "Monster Paddle Pong" 1.2 (8).
The following are for your information only and do not require any action:
ITMS-90471: Missing Image Asset - Your app is missing the Top Shelf Image Wide 2x asset in 'Payload/Monster Paddle tvOS Game.app'.
The do not require any action statement confuses me because until I correct the Missing Image Asset error, my new Version = 1.2 will not be uploaded for Review.
This error is new for me that did not appear 2 months ago when I started with version 1.0
Nevertheless, I did correct it by adding the 2x asset as requested and then Archived again. This time, however, I did not get a 2x asset error email, so I assume the App Connect Site was happy because the email I did get was:
The following build has completed processing:
Platform: tvOS
App Name: Monster Paddle Pong
Build Number: 9
Version Number: 1.2
App SKU: 5683766467
App Apple ID: 1670409052
You can now use this build for TestFlight testing or submit it to the App Store.
Bottom line, I am still waiting for a "Processing" Status within App connect, e.g.,
1.2 Processing
or
1.2 Ready for Review
All the Version 1.2 stuff appears within TestFlight, but not the App Store
Just not there, unfortunately
Via Xcode, I went to Product > Archive and got this at the very end under Window > Organizer:
for version = 1.2
√ Prepared Archive for uploading (the check mark = Green)
√ Uploaded to Apple (a few seconds later)
But, all I see in App Connect is my earlier, already posted version = 1.1 ... I do not see "Processing" or "Ready for Review" for version = 1.2 =
iOS App
√ 1.1 Ready for Sale (the check mark = Green)
In short, Xcode is uploading successfully as shown above, but App Connect is not getting it.
BTW, thanks for helping ...
THE! solution =
With Bluetooth Settings visible, click "Info" on the Controller and select "Forget This Device".
Then, re-pair Controller with iMac.
Controller stays connected
DONE.
THE! solution = with Bluetooth Settings visible, click "Info" on the Controller and select "Forget This Device".
Then, re-pair Controller with iMac.
Controller stays connected
DONE.
Apparently Saadet thinks this is some sort of joke.
Saadet … a word or two of wisdom, ole boy:
“Sometimes it is better to keep your mouth shut and let the world think you’re a fool …
” … rather than opening your mouth and thereby remove all doubt”
SOLVED --
1st and foremost, I want to sing the praises of Keith at Apple DTS without whom I could never have chased down the cause of my problem. His assistance on this one issue totally pays for my $99.
A significant part of the solution rests with the just released update of Xcode to 14.3 and tvOS to 16.4
Now the expected CONNECTED and DIS-CONNECTED Console messages appear as anticipated.
I've got some more work to do, but at least Apple's
NotificationCenter.default.addObserver(..)
works as Apple advertises.
WHOOPIE!!
Thank you Justin for not throwing a brick at me.
By some magic, the ATV appeared, so I paired it.
But now it shows as locked. So, I unlocked it.
Now the error msg = Failed to prepare device for development".
AHAH
"You are getting the Failed to prepare device for development message because the device is running a newer version of iOS than Xcode supports." So when will Xcode be updated to support ATV 16.4???
I had just updated my ATV to 16.4 which update now prevents me from showing my Xcode App on my ATV.
HAALP!
Okay, I finally buckled down and submitted my .xcodeproj to DTS as part of my original TSI.
You folks have been so patient with me, maybe one of you will be assigned my TSI.
Hopefully if so, you won't consider it a sign of your bad luck ... time will tell, I guess.
Quinn
Please delete this entire "TSI Status" Thread ... just make it all go away, please.
I'm still looking for the correct code to run, but there's a lot of Google world yet to explore.
Jason,
I am going to level with you .. and you aren’t going to like it .. but it’s the truth I feel.
I have my xcodeproj for you as I have stated.
I had provided a link when I initiated my TSI, a link that delineates what I have done via debugging + swift code.
I believe no one looked at this link and some robotic humanoid pushed the MRE button.
Sorry, you guys state you are experts on iOS programming.
IF true, that link should be sufficient. Maybe it’s not sufficient because my premise is false.
The xcodeproj I have is my whole damn Project, not any MRE.
If you don’t like it . . tough!
My idea of asking for help is not for me to do more work to provide a MRE xcodeproj.
I have worked my **** off trying to solve the test for game controller being connected
In that back and forth with Justin I say the programmer who implemented the Bluetooth Menu did it right. So just provide that Code.
I show the Bluetooth Menu. I toggle off/on my Nimbus+ Controller => it immediately shows Disconnected/Connected.
Your iOS boilerplate connect code never calls the disconnect option.
I call this boilerplate code in my GameViewController class. Have tried also the didMove func in my GameScene class.
No luck.
The competent programmer for the Bluetooth Menu did it right.
But that’s too damn simple .. burden us with more work so you can avoid more work.
The $99 fee is going to increase the end of May.
FOR WHAT .. pushing the MRE button.
My wife says I am sometimes a Royal Pain in the ***.
I wouldn’t want to disappoint her here.
God forbid I should prove any woman wrong!!
11 days ago, not 17
Sorry!
Isn’t the process to assign to a TSI programmer right away, essentially putting your TSI in a queue of some sort?
And doesn’t Apple say about 3 days?