Search results for

“show when run”

115,119 results found

Post

Replies

Boosts

Views

Activity

Xcode showing incorrect errors
Xcode has started to show numerous errors within my project. Everytime I build my app the number of errors changes. It's always between 50 and 70 errors that cause the build to fail. The errors are always 1 of these 2. Cannot convert return expression of type '()' to return type 'UICollectionReusableView' or Cannot convert return expression of type '()' to return type 'UICollectionViewCell?' Whenever I click an error it opens up that file, shows no error in code and then the error in the issue navigation for that file disappears. In addition, the errors are always related to collection views, yet Xcode is showing errors for simple extension files or enum files, which have nothing to do with collections. I have cleaned the project build folder, removed the derived data, restarted Xcode, restarted the laptop, even reinstalled Xcode yet I still get the errors
3
0
797
Feb ’23
Reply to Button action in xcode
Is it possible to link one view controller from the storyboard with another one thats is programatically built? Generally, YES. But I do not know if it applies in your case. it does not work... Please show your code, and be more specific. What do you mean by does not work? Does it cause some build-time error and you cannot run it? Does it build successfully but causes runtime errors or crash? Does it build successfully and run without errors but generates unexpected results? If you can show enough info, there are many readers who can help you.
Oct ’20
'Automatically Show Web Inspector for JSContexts' doesn't work
I'm working on a native Cocoa app that has a few WKWebViews.When the app is running, I can open the Web Inspector by clickingDevelop > My Computer > Document.titleHowever when I re-run the app from Xcode, the Web Inspector disappears.I'd expect that the following toggle in Safari would do what it says, that is, open a new inspector as soon as my app runs again. However this doesn't work.Develop > My Computer > Automatically Show Web Inspector for JSContextsSeems like a bug. Is there anything I can do to automatically get a Web Inspector on each re-run?
2
0
4.4k
May ’19
How to run SwiftUI Code in Playgrounds on iPad?
Tried to run the following code in Playgrounds as shown in this session: - https://developer.apple.com/videos/play/wwdc2020/10643/ import SwiftUI import PlaygroundSupport struct ProgressView: View { var body: some View { Text(Hello World) } } PlaygroundPage.current.setLiveView(ProgressView()) Instead of Showing a Preview the following error message is displayed: There was a problem running this playground. Check the code and try again
3
0
895
Oct ’20
CoreSpotlight showing past INAddTasksIntent
I have implemented INAddTasksIntent in my app, so that I can say Add buy peanut butter to MyApp, and it works. Then after that I added CoreSpotlight support.After the above two, I noticed that, now searching in spotlight shows me actions that I have done before, for example, if I have added a task via siri called Buy peanut butter, to my app, then searching by peanut in spotlight, will show me the following two:1. Buy peanut butter2. Add Buy peanut butterThe first one is what I wanted, second one, I have no use, because I rarely readd the same task again via siri.I am not sure what this second thing is called, I have tried googling but can't find anything. I want to disable it showing the second thing, is it possible?
0
0
1.1k
Mar ’19
Reply to Rejected - 2.10 - iPhone Apps must also run on iPad
Hello KMT,Taxi app that are reject 3 time due to2.10 - iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolutionApp is only iPhone not Universal.i check in iPad Simulator that run fine. but not show 2x button right side.How to get 2x button in iPad simulator.??show Imagehttp://gagengirls.com/wp-content/uploads/2013/07/2013-07-06-19.05.12.png
Oct ’15
How do I show microseconds of a date object?
How do I get the microseconds of an object of type Date? I'm open to any suggestions. I'm not able to set the dateFormat property of DateFormatter to be able to show microseconds.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
3
Boosts
0
Views
5.0k
Activity
Dec ’17
devices do not show in iTunes
After upgrading to macOS 10.13 Beta (17A315i) my registered devices (iPhone 7 Plus, and iPod Touch) do not show in iTues when they are connected.
Replies
4
Boosts
0
Views
998
Activity
Aug ’17
Reply to Xcode 15 (RC) - Crash settings app on simulators(iPhone 15 Pro & 15 PM)
In case this helps anyone, I was able to get Settings in the iPhone 14 Pro simulator with iOS 17 to work, just not the iPhone 15 Pro. I just needed to select Manage Run Destinations and switch the iPhone 14 Pro's Show Run Destination from Automatic to Always.
Replies
Boosts
Views
Activity
Sep ’23
Xcode showing incorrect errors
Xcode has started to show numerous errors within my project. Everytime I build my app the number of errors changes. It's always between 50 and 70 errors that cause the build to fail. The errors are always 1 of these 2. Cannot convert return expression of type '()' to return type 'UICollectionReusableView' or Cannot convert return expression of type '()' to return type 'UICollectionViewCell?' Whenever I click an error it opens up that file, shows no error in code and then the error in the issue navigation for that file disappears. In addition, the errors are always related to collection views, yet Xcode is showing errors for simple extension files or enum files, which have nothing to do with collections. I have cleaned the project build folder, removed the derived data, restarted Xcode, restarted the laptop, even reinstalled Xcode yet I still get the errors
Replies
3
Boosts
0
Views
797
Activity
Feb ’23
Reply to Button action in xcode
Is it possible to link one view controller from the storyboard with another one thats is programatically built? Generally, YES. But I do not know if it applies in your case. it does not work... Please show your code, and be more specific. What do you mean by does not work? Does it cause some build-time error and you cannot run it? Does it build successfully but causes runtime errors or crash? Does it build successfully and run without errors but generates unexpected results? If you can show enough info, there are many readers who can help you.
Replies
Boosts
Views
Activity
Oct ’20
Show In History Notifications Option
In IOS 12 I have noticed the Show In History option is gone now. Is that intentional and being replaced by something else or is not needed anymore? Thanks,
Replies
0
Boosts
0
Views
611
Activity
Aug ’18
uploaded build is not showing
I uploaded the app using Transporter, but App Store Connect doesn't show the build. My email also doesn't have any mail related to uploading the app.
Replies
0
Boosts
0
Views
326
Activity
Feb ’24
App icons not showing
Almost everytime, when I try to search apps in App library, the icons go invisible, o are showed for and instant to quickly go invisible.
Replies
2
Boosts
0
Views
242
Activity
Aug ’25
Reply to C++ Default Project - Why Can't I just Compile and Run "Hello World" without a Certificate
Just to clarify I'm looking for a link in Xcode doc or somewhere that shows the workflow for [1] starting with one of the coding examples [2] shows how to do the certificate/provisioning stuff to the point where [3] I can click the build/run button in Xcode and see a string print --> Hello World
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’22
'Automatically Show Web Inspector for JSContexts' doesn't work
I'm working on a native Cocoa app that has a few WKWebViews.When the app is running, I can open the Web Inspector by clickingDevelop > My Computer > Document.titleHowever when I re-run the app from Xcode, the Web Inspector disappears.I'd expect that the following toggle in Safari would do what it says, that is, open a new inspector as soon as my app runs again. However this doesn't work.Develop > My Computer > Automatically Show Web Inspector for JSContextsSeems like a bug. Is there anything I can do to automatically get a Web Inspector on each re-run?
Replies
2
Boosts
0
Views
4.4k
Activity
May ’19
Reply to why doesn't my simulator show the right color?
Do you get correct result on device ?What are the yellow color values (red, blue, green) as defined in XCode ?When you run the simulator, use Digital Color meter to see the color you have.Explain also what you mean :But it doesn't show up this way when i start the simulator.What does it show exactly ?And please report.
Replies
Boosts
Views
Activity
Jun ’19
How to run SwiftUI Code in Playgrounds on iPad?
Tried to run the following code in Playgrounds as shown in this session: - https://developer.apple.com/videos/play/wwdc2020/10643/ import SwiftUI import PlaygroundSupport struct ProgressView: View { var body: some View { Text(Hello World) } } PlaygroundPage.current.setLiveView(ProgressView()) Instead of Showing a Preview the following error message is displayed: There was a problem running this playground. Check the code and try again
Replies
3
Boosts
0
Views
895
Activity
Oct ’20
iOS App not showing
One of my team members created an app on App store connect. but it not showing to me. I have searched more but have not found any solution. Please anyone let me the solution.
Replies
1
Boosts
0
Views
392
Activity
Oct ’22
CoreSpotlight showing past INAddTasksIntent
I have implemented INAddTasksIntent in my app, so that I can say Add buy peanut butter to MyApp, and it works. Then after that I added CoreSpotlight support.After the above two, I noticed that, now searching in spotlight shows me actions that I have done before, for example, if I have added a task via siri called Buy peanut butter, to my app, then searching by peanut in spotlight, will show me the following two:1. Buy peanut butter2. Add Buy peanut butterThe first one is what I wanted, second one, I have no use, because I rarely readd the same task again via siri.I am not sure what this second thing is called, I have tried googling but can't find anything. I want to disable it showing the second thing, is it possible?
Replies
0
Boosts
0
Views
1.1k
Activity
Mar ’19
Reply to Rejected - 2.10 - iPhone Apps must also run on iPad
Hello KMT,Taxi app that are reject 3 time due to2.10 - iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolutionApp is only iPhone not Universal.i check in iPad Simulator that run fine. but not show 2x button right side.How to get 2x button in iPad simulator.??show Imagehttp://gagengirls.com/wp-content/uploads/2013/07/2013-07-06-19.05.12.png
Replies
Boosts
Views
Activity
Oct ’15