Hi, I have a full screen iOS game. In the Simulator, preferredScreenEdgesDeferringSystemGestures works well to prevent a drag down from the top of the full-screen play area from immediately opening the Notification Center. (You got a tab, and had to swipe down on it.) But at least on my device, when testing, unlike in Simulator, Notification Center opens immediately when I swipe down from the top. Any suggestions?
Post
Replies
Boosts
Views
Activity
Hi, I'm not sure how best to even ask this here... I think it's an Xcode setup problem... I was trying to integrate ads into my game and am getting what seem like a set of network related errors, from Apple and Google components. The issue is not with the Google demo project "RewardedVideoExample"; Google support says it works for them. Did I perhaps remove some Xcode component I need, or mess up some other setting?
The messages I get:
2022-08-06 09:08:51.804890-0700 RewardedVideoExample[24891:803454] [Client] Synchronous remote object proxy returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}
[[I got a bunch of these!]]
2022-08-06 09:08:51.901250-0700 RewardedVideoExample[24891:803452] - <Google>[I-ACS025031] AdMob App ID changed. Original, new: (nil), ca-app-pub-3940256099942544~1458002511
2022-08-06 09:08:51.902291-0700 RewardedVideoExample[24891:803452] - <Google>[I-ACS023007] Analytics v.90300000 started
2022-08-06 09:08:51.902479-0700 RewardedVideoExample[24891:803452] - <Google>[I-ACS023008] To enable debug logging set the following application argument: -APMAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2022-08-06 09:08:51.923967-0700 RewardedVideoExample[24891:803266] [ViewportSizing] maximumViewportInset cannot be larger than frame
2022-08-06 09:08:51.924020-0700 RewardedVideoExample[24891:803266] [ViewportSizing] minimumViewportInset cannot be larger than frame
2022-08-06 09:08:52.068135-0700 RewardedVideoExample[24891:803266] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x600001cce140> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2022-08-06 09:08:52.121899-0700 RewardedVideoExample[24891:803448] - <Google>[I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
2022-08-06 09:08:52.701800-0700 RewardedVideoExample[24891:803459] - <Google>[I-ACS023012] Analytics collection enabled
2022-08-06 09:08:53.039599-0700 RewardedVideoExample[24891:803266] [Process] 0x15285ce18 - [pageProxyID=11, webPageID=12, PID=24902] WebPageProxy::didFailProvisionalLoadForFrame: frameID=3, domain=NSURLErrorDomain, code=-1003, isMainFrame=1
Rewarded ad failed to load with error: Request Error: No ad to show from all configured ad networks.
2022-08-06 09:08:53.055688-0700 RewardedVideoExample[24891:803448] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
2022-08-06 09:08:53.055795-0700 RewardedVideoExample[24891:803448] [ProcessSuspension] 0x10e0c42a0 - ProcessAssertion: Failed to acquire RBS assertion 'ConnectionTerminationWatchdog' for process with PID=24902, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
2022-08-06 09:08:53.057520-0700 RewardedVideoExample[24891:803448] [assertion] Error acquiring assertion: <Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}>
2022-08-06 09:08:53.057569-0700 RewardedVideoExample[24891:803448] [ProcessSuspension] 0x10e0c4300 - ProcessAssertion: Failed to acquire RBS assertion 'WebProcess Suspended Assertion' for process with PID=24902, error: Error Domain=RBSAssertionErrorDomain Code=2 "Specified target process does not exist" UserInfo={NSLocalizedFailureReason=Specified target process does not exist}
Hi, just upgraded Xcode to 13.3 (13E113), and now my app crashes in Simulator, which it was not doing before the upgrade, but it still works fine on my physical device.
It's crashing on
view.layoutIfNeeded()
in my view controller's viewDidAppear.
Do I need to reinstall? Any other tips? I can share more code, but I'm not sure yet where the issue is...
I just upgraded to Xcode 13.3 (13E113) and now my app crashes ONLY on the Simulator in debug mode, not on my device, and not on Simulator if not in debug mode. Used tow work fine. Log attached.
Any tips?
log
I am working on my first game. I was using SKAction.playSoundFileNamed() to play .wav files in my assets, but this was causing problematic memory use growth. After looking online and reading that method has been linked to leaks, I switched to SKAudioNodes. I have added many of those to my scene, and they work, but the frame rate is lower now than before. Any suggestions?
I had used this (but I had memory usage growing):
let hiss = SKAction.playSoundFileNamed("hiss.wav", waitForCompletion: false)
run(hiss)
Now I have this (but frame rates are down):
let hiss: SKAudioNode = SKAudioNode(fileNamed: "hiss.wav")
hiss.autoplayLooped = false
hiss.isPositional = false
addChild(hiss)
hiss.run(SKAction.play())
Any tips?
My Mac is too old to support OS 11 or the current Xcode... but I was able to debug and test my app on my phone just fine until I upgraded the phone to 15... Now it won't install on the phone when I run the app from Xcode. From looking here, this could be "the issue discussed in Using the Latest Code Signature Format" (https://developer.apple.com/documentation/xcode/using-the-latest-code-signature-format). That seems to give people with old environments a way to update a finished .app - but I couldn't get that work and second, is there anything I can do to again be able to compile in Xcode and run it on a plugged-in phone?