Search results for

“show when run”

115,110 results found

Post

Replies

Boosts

Views

Activity

Scene not showing full screen on iPhone
I have a sample app and the screen does not show full screen on iPhone but it does on iPad. Running Swift SpriteKit in Xcode 12.5. Steps to repro: Open Xcode and create new project Choose Game Run the sample game with no changes Hello, World! is displayed but on the iPhone the scene is not extending to the top and bottom of the phone screen. Any help would be amazing! Thanks!
1
0
4.4k
Jun ’21
xcode not showing output
Hi I was using Xcode for c++ (for competitive programming purposes, not sure if this is the standard choice but using it anyway) I included a <bits/stdc++.h> to the include file for XCode.app and they didn't show any error. But then when I ran my code, it showed Build Succeeded although no output was visible.
1
0
800
Sep ’24
Show SKScene on External Display
I'm trying to show a scene on an external display (iOS). I made a simple program using what I have found regarding this topic, but it doesn't work. I suspect that I'm just missing a setting or two.I started with the simple 'Hello, World' example game that XCode makes for an iOS SpriteKit project. I modified the GameViewController class to the following:class GameViewController: UIViewController { var primaryView: SKView? var secondaryView: SKView? override func viewDidLoad() { super.viewDidLoad() checkForExternalDisplay() if let view = primaryView { if let scene = SKScene(fileNamed: GameScene) { scene.scaleMode = .aspectFill view.presentScene(scene) } view.ignoresSiblingOrder = true view.showsFPS = true view.showsNodeCount = true } }Here is the code for 'checkForExternalDisplay': func checkForExternalDisplay() { let screens = UIScreen.screens if screens.count > 1 { let mainScreenIndex = self.view.frame.width == screens[0].bounds.width ? 0 : 1 let otherScreenIndex = self.view.frame.width == screens
5
0
1.3k
Jul ’17
showBluetoothAccessoryPicker does not show up
I made up my own iAP2-BT-device, which is perfectly running by use the BT-list and the External Accessory Framework. Now, following the instruction for MFI developers, I would like to show the showBluetoothAccessoryPicker using the following swift code: EAAccessoryManager.shared().showBluetoothAccessoryPicker(withNameFilter: nil) { (error) in if let error = error { switch error { case EABluetoothAccessoryPickerError.alreadyConnected: break default: break } } } Wherever I put this snipple in my app code the picker is never shown (device unpaired by forget device) and I always get the console message: A constraint factory method was passed a nil layout anchor. This is not allowed, and may cause confusing exceptions. Break on BOOL _NSLayoutConstraintToNilAnchor(void) to debug. This will be logged only once. This may break in the future. I have no idea what to do to get this picker shown ... Thanks for your help
4
0
2.8k
Sep ’20
Reply to how do i fix the sigabrt error?
The simulator takes quite a while to warm up, so your app should show up eventually. But it runs now, right? That's a step in the right direction…
Replies
Boosts
Views
Activity
Aug ’15
Reply to refresh UI waits for core data task finish
When I ask where, it is where in your code is result set to true or false ?Can you show moc.performAndWait ? But running 3 times the same code is strange.
Replies
Boosts
Views
Activity
Oct ’16
Reply to iOS 12 Crashed: com.apple.coremedia.player.async.0x2856cf180
Me too.. Showing up in all my 25 apps, mostly at position 1, and solely on iPhones running iOS12 ...Anybody has any clue what this might be?
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’18
Reply to How to debug quick look preview extension?
How do you use the Quick Look Simulator? When I run my Quick Look Preview Extension in Xcode, that app opens but it only shows a search field.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to App Clip Advance Experience - Understanding propagation
I'm currently running into the same thing. Mine has been stuck for about a week now. Is yours still not showing up either @Arxos?
Replies
Boosts
Views
Activity
Dec ’24
Reply to xcode 6.4 won't start
How long did you wait? I have seen some versions of Xcode bounce for 5+ minutes the first time they are run. Does Activity Monitor show processor activity?
Replies
Boosts
Views
Activity
Aug ’15
Reply to Updating a new version of an app
The problem I am having is on Xcode/product/archive it runs successfully but does not display the Xcode/window/organizer page showing the archive that was just created.
Replies
Boosts
Views
Activity
May ’17
Reply to Xcode New File
So I can't create more than 1 program? If there is only one program there it runs perfectly but as soon as i add another another it shows an error.
Replies
Boosts
Views
Activity
Nov ’20
Reply to Metal and Swift Concurrency
For example, the Compositor Services documentation shows an example of spawning a thread to run your renderer. For CAMetalDisplayLink, you must add the display link to a CFRunLoop.
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to XCode 14 compile errors immediately disappear or do not appear at all
As Xcode 14.3 does not have running in Rosetta option, unchecking Show live Issues in Xcode setting at least prevents errors from disappearing.
Replies
Boosts
Views
Activity
Apr ’23
Scene not showing full screen on iPhone
I have a sample app and the screen does not show full screen on iPhone but it does on iPad. Running Swift SpriteKit in Xcode 12.5. Steps to repro: Open Xcode and create new project Choose Game Run the sample game with no changes Hello, World! is displayed but on the iPhone the scene is not extending to the top and bottom of the phone screen. Any help would be amazing! Thanks!
Replies
1
Boosts
0
Views
4.4k
Activity
Jun ’21
xcode not showing output
Hi I was using Xcode for c++ (for competitive programming purposes, not sure if this is the standard choice but using it anyway) I included a <bits/stdc++.h> to the include file for XCode.app and they didn't show any error. But then when I ran my code, it showed Build Succeeded although no output was visible.
Replies
1
Boosts
0
Views
800
Activity
Sep ’24
Show SKScene on External Display
I'm trying to show a scene on an external display (iOS). I made a simple program using what I have found regarding this topic, but it doesn't work. I suspect that I'm just missing a setting or two.I started with the simple 'Hello, World' example game that XCode makes for an iOS SpriteKit project. I modified the GameViewController class to the following:class GameViewController: UIViewController { var primaryView: SKView? var secondaryView: SKView? override func viewDidLoad() { super.viewDidLoad() checkForExternalDisplay() if let view = primaryView { if let scene = SKScene(fileNamed: GameScene) { scene.scaleMode = .aspectFill view.presentScene(scene) } view.ignoresSiblingOrder = true view.showsFPS = true view.showsNodeCount = true } }Here is the code for 'checkForExternalDisplay': func checkForExternalDisplay() { let screens = UIScreen.screens if screens.count > 1 { let mainScreenIndex = self.view.frame.width == screens[0].bounds.width ? 0 : 1 let otherScreenIndex = self.view.frame.width == screens
Replies
5
Boosts
0
Views
1.3k
Activity
Jul ’17
showBluetoothAccessoryPicker does not show up
I made up my own iAP2-BT-device, which is perfectly running by use the BT-list and the External Accessory Framework. Now, following the instruction for MFI developers, I would like to show the showBluetoothAccessoryPicker using the following swift code: EAAccessoryManager.shared().showBluetoothAccessoryPicker(withNameFilter: nil) { (error) in if let error = error { switch error { case EABluetoothAccessoryPickerError.alreadyConnected: break default: break } } } Wherever I put this snipple in my app code the picker is never shown (device unpaired by forget device) and I always get the console message: A constraint factory method was passed a nil layout anchor. This is not allowed, and may cause confusing exceptions. Break on BOOL _NSLayoutConstraintToNilAnchor(void) to debug. This will be logged only once. This may break in the future. I have no idea what to do to get this picker shown ... Thanks for your help
Replies
4
Boosts
0
Views
2.8k
Activity
Sep ’20
theme-color not showing up in standalone web app
When you add your website to the homescreen and run it from there. The theme-color does not show up. It only shows a white background. How can this be fixed?
Replies
0
Boosts
0
Views
857
Activity
Jul ’21