Search results for

“show when run”

117,519 results found

Post

Replies

Boosts

Views

Activity

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
Reply to This application is modifying the autolayout engine from a background thread
Did you run thread sanitizer to search for it ? I can't run my app on simulators so I can't run thread sanitizer.Could you show this part of code? I can't, it's and MVVM + Rx and it's a lot of code from my company, I can't show you. Probably an API is calling a UI function whilst you're not in main thread Don't think so, I put nslog on each function that are called from that view, and when the app crashes is not related with any previous nslog. Althoug, I make sure to put DispatchQueue.main.async {} in every callback.But without markers I guess ? Yes, without markers.Is it the crash report you posted ? YesThanks for your respons.
Topic: UI Frameworks SubTopic: UIKit Tags:
Apr ’20
Xcode New Simulator Not Showing Up
Hey, I'm using Xcode 15.0. I added a new iPhone simulator for the 5.5 screenshots necessary for App Store Connect. However, the new iPhone simulator I created will not show up as an option when running the app on Xcode. I can open the simulator from the Simulator app, but that still doesn't allow it to be chosen. I have attached a few screenshots showing that Xcode knows about the new simulator (called 5.5 iPhone), but not selectable.
1
0
567
Nov ’23
reviews not showing up
why are my reviews not showing up? its a 1 star review but not showing up its been over 24 hours since review. the app store is a mess right now search messed up, reviews/ratings messed up. ios 11 is gunna be a nightmare no section for free games for categories , no new section, categories page of games only shows 30 apps + top free, if you dont get featured or in top free expect 0 downloads daily.
1
0
1.3k
Sep ’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
uitableviewcell accessory checkmark not showing when set
Hi am launching a tableviewcontroller as below. in uitableviewcell i only have a UILabel. when i click on the cell, i want the checkmark accessory to show tick mark. in didSelectRowAtIndexPath, i print the 'text' of label and it shows the name itemName that i gave in storyboard. i feel like the cell is not getting configured or memory not alloc'ed properly. never had this issue before. am running xcode 11.7. anything wrong with cellForRowAtIndexPath()? Spent like 5 hours on this simple item picker. Appreciate any help. i also posted this question on SO here: https://stackoverflow.com/questions/64507695/accessorytypecheckmark-isnt-showing-appears-like-something-going-on-with-uitab
1
0
460
Oct ’20
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
Reply to This application is modifying the autolayout engine from a background thread
Did you run thread sanitizer to search for it ? I can't run my app on simulators so I can't run thread sanitizer.Could you show this part of code? I can't, it's and MVVM + Rx and it's a lot of code from my company, I can't show you. Probably an API is calling a UI function whilst you're not in main thread Don't think so, I put nslog on each function that are called from that view, and when the app crashes is not related with any previous nslog. Althoug, I make sure to put DispatchQueue.main.async {} in every callback.But without markers I guess ? Yes, without markers.Is it the crash report you posted ? YesThanks for your respons.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’20
Xcode New Simulator Not Showing Up
Hey, I'm using Xcode 15.0. I added a new iPhone simulator for the 5.5 screenshots necessary for App Store Connect. However, the new iPhone simulator I created will not show up as an option when running the app on Xcode. I can open the simulator from the Simulator app, but that still doesn't allow it to be chosen. I have attached a few screenshots showing that Xcode knows about the new simulator (called 5.5 iPhone), but not selectable.
Replies
1
Boosts
0
Views
567
Activity
Nov ’23
reviews not showing up
why are my reviews not showing up? its a 1 star review but not showing up its been over 24 hours since review. the app store is a mess right now search messed up, reviews/ratings messed up. ios 11 is gunna be a nightmare no section for free games for categories , no new section, categories page of games only shows 30 apps + top free, if you dont get featured or in top free expect 0 downloads daily.
Replies
1
Boosts
0
Views
1.3k
Activity
Sep ’17
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.
Topic: App & System Services SubTopic: iCloud Tags:
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 Having trouble picking the iOS Simulator I want to use
Not sure if this is a solution or a workaround, but in the manage run destinations dialogue I clicked the + button to add a new destination. Picked iPhone 14 Pro Max running iOS 16.4 and added it (even though there was already one there in the list). That (2nd??) new one shows up in the run destination dialogue. ¯_(ツ)_/¯
Replies
Boosts
Views
Activity
Nov ’23
iPhone crashes then shows ‘XcodePreviews’
Can anyone please tell me why my iPhone crashes then shows XcodePreviews? thank you
Replies
0
Boosts
0
Views
318
Activity
Dec ’21
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
Reply to Multicast Entitlements
Yes, it is in the distributed plist. Yes, signed, notarized and stapled. Yes, running dwarfdump shows UUIDs for x86 and arm. Thanks, Chris
Replies
Boosts
Views
Activity
Aug ’25
uitableviewcell accessory checkmark not showing when set
Hi am launching a tableviewcontroller as below. in uitableviewcell i only have a UILabel. when i click on the cell, i want the checkmark accessory to show tick mark. in didSelectRowAtIndexPath, i print the 'text' of label and it shows the name itemName that i gave in storyboard. i feel like the cell is not getting configured or memory not alloc'ed properly. never had this issue before. am running xcode 11.7. anything wrong with cellForRowAtIndexPath()? Spent like 5 hours on this simple item picker. Appreciate any help. i also posted this question on SO here: https://stackoverflow.com/questions/64507695/accessorytypecheckmark-isnt-showing-appears-like-something-going-on-with-uitab
Replies
1
Boosts
0
Views
460
Activity
Oct ’20
Reply to C++ SFML We got a keyboard without any keys (1)
I have the same error. You have to click on: Products > [name of your program] with control or left click > click on Show in Finder > click on your program. Then it runs in the Terminal.
Replies
Boosts
Views
Activity
Jun ’20