Search results for

show when run

112,673 results found

Post

Replies

Boosts

Views

Activity

Reply to Can't Provision A Device
you said selected it as a preview device - what do you mean here? It sounds like you selected your model of phone for the simulator. In the middle top of the Xcode window, it shows your target name a run destination. By default, that run destination for an iOS app is a simulator. Plug in your phone. If it doesn't appear in the popup menu as a run destination, choose Manage run destinations... from that menu. It should show up as discovered in the list on the left of the Run Destinations window. The first time you pair the phone with Xcode takes quite a while (several minutes for me).
Dec ’25
Reply to Collection View not showing up
Sorry, but that code shows nothing useful to understand what's going on.i have on the actual scene in the IB, the collection view, the collection view cells, and a segmented control.Are they all in one controller. Is it SecondViewController ? Or another one ?The segmented control shows up in the tests and i have no issues with it. and when i test the collection view by changing the background color, it shows up.Where do you see ? In IB or in the running app ?It's just the cells that i cant get to show up.You cannot show them when running the app or in IB ?What is needed is the code of the viewController that includes the collectionView. If you cannot show the full code (not just viewDidLoad), sorry, impossible to help you.
Jul ’19
Reply to ML ANE Model unloaded on first call to predict
That log may be a bit misleading in this context, it does not necessarily mean that your model is not running on the Neural Engine. Using the Core ML Instrument here would be good to check where the model is running within your app. If you are finding that the Xcode performance tab shows the model running on the Neural Engine, but the CoreML Instrument shows that it is running elsewhere when running the model in your app, can you please file a feedback here https://feedbackassistant.apple.com/? Some helpful things to include in the feedback to diagnose the issue would be a sysdiagnose as well as an Instruments trace with the Core ML Instrument.
Topic: Machine Learning & AI SubTopic: General Tags:
Feb ’23
Core ML Model Performance report shows prediction speed much faster than actual app runs
Hi all, I'm tuning my app prediction speed with Core ML model. I watched and tried the methods in video: Improve Core ML integration with async prediction and Optimize your Core ML usage. I also use instruments to look what's the bottleneck that my prediction speed cannot be faster. Below is the instruments result with my app. its prediction duration is 10.29ms And below is performance report shows the average speed of prediction is 5.55ms, that is about half time of my app prediction! Below is part of my instruments records. I think the prediction should be considered quite frequent. Could it be faster? How to be the same prediction speed as performance report? The prediction speed on macbook Pro M2 is nearly the same as macbook Air M1!
5
0
1.2k
Oct ’24
SKTexture not showing in Simulator
I am having a problem using SKTextures from SpriteKit in SceneKit. When using an SCNMaterial with an SKTexture the app will just show black shapes on the screen without any shades. This applies when when you run in the app in the simulator (iPhone/iPad, iOS9/iOS10). However on the real device the same code will work fine. SCNMaterial *material = [SCNMaterial material]; material.diffuse.contents = [SKTexture textureWithImageNamed:@tex128.png]; // showing black in simulator //material.diffuse.contents = [UIImage imageNamed:@tex128.png]; // showing the texture
2
0
670
Sep ’16
Button Not Showing in IOS
Completely new to Swift and Xcode. Was trying to adapt a tutorial to what I want to do. Using the code below, when I run it on Mac it works. The button shows and works. On iOS, the button does not appear yet it works. Any ideas?
1
0
615
Apr ’23
Reply to iAd did not show in apps after iPhone updated to iOS 9
I am testing my apps every day. Also have filed a bug report. When I today tested my Apps, one of them showed iAds again on multiple devices running IOS9. But unfortunately only for a few minutes. Now all my apps are not showing any iads anymore... now several hours later...I am noticing that some apps started showing a single iAd again. But not all the time. Sometimes I start it it is present sometimes it isn't. And when showing an iAd the iAd never changed to the next iAd as it does running the apps using IOS 7 and IOS 8.
Sep ’15