Search results for

“show when run”

117,526 results found

Post

Replies

Boosts

Views

Activity

Xcode Simulator Showing Only "Generic iOS Device"
Hi. I can't seem to run the simulator for the app I'm creating. It only shows, Generic iOS Device. I clicked on said text and then I clicked, Add Additional Simulators. It showed me a list of all the Apple devices available for a simulator. I selected the iPhone 11 Pro, but I can't do anything with it? Can I add the simulator, or am I completely doing something wrong here? To summarize, how do I get a simulator in Xcode 11 when it only shows, Generic iOS Device. Thanks.
3
0
2.2k
Jun ’20
System volume control UI not showing
Hi, I have recently created a simple sound app. When I run it on my iPhone, I noticed when I press on the volume up/down button, the system volume control does not appear. I don’t think is due to my code since is a system UI. Is there any settings in xcode that I need to set to get the system volume control to show?
0
0
479
Aug ’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
Build Not Showing on iTunes Connect
Xcode show build uploaded successfully, But in iTunes Connect it not showing. It show some time on iTunes connect on all build section then it disappear and not showing any build. In last 15 days we have been trying to uploaded the build on iTunes Connect and still facing that issue.
5
0
1.2k
Oct ’16
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
810
Feb ’23
Process() run() and waitForExit() get stuck when running mvn tests
I am developing a tool for myself using Swift and SwiftUI where I can retrieve student projects using git and then running Maven tests for the projects. The app is not sandboxed, since it is just for my personal use. I use Process to launch git clone or git pull, and then get the commit log and parse the commit data to the app database. All this works just fine, I can see the app database table populated with repository commit data. But when I do the same to execute Maven tests, and call try process.run() process.waitUntilExit() The process never returns, unlike running git the same way. The only difference is the command executed and the arguments given to Process. In the process view, I can see that there is a java child process running in my app, but it never (like in tens of minutes I have waited) completes. Running the same mvn test command...: /opt/apache-maven-3.6.3/bin/mvn -Dstyle.color=never -Dtest=ReverseArrayRangeTests test ...from command line finishes in a coup
3
0
1.7k
Oct ’23
Not able to run widget extension on my device
When I try and run the widget extension on my device, it either: says RUNNING.... but doesn't actually start the widget or show any log files or crashes with this error even though I've cleaned the build file and no other device is trying to run Details Another launch session is already waiting to debug the app extension with identifier : com.XYZ.Widget Domain: IDELaunchAppExtensionErrorDomain Code: -1- System Information macOS Version 10.15.6 (Build 19G2021) Xcode 12.0 (17219)
0
0
666
Sep ’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
Signed app wont run
HiToday I signed an app, so people who use my app, wont get a pop-up about an unidentified developer.The app used to run without any problems, if you just press'ed run anyway, when the pop-up show. But now that I have signed the app, it wont run at all. The icon just keep bouncing and then after some time say that the application wont respond.I have developed the app in Qt and have used this to sign the applicatio:codesign --force --verify --verbose --sign My Developer ID ./MyApp.appfind MyApp.app -name *.dylib | xargs -I $ codesign --force --verify --verbose --sign My Developer ID $find MyApp.app -name Qt* -type f | xargs -I $ codesign --force --verify --verbose --sign My Developer ID $*I have changed the Developer Id and the AppNameThe App is a Mac app that should be able to download from the internet and not from App Store.Hope someone can help me.Thanks in advance.
9
0
3.6k
Mar ’17
Preventing building of all schemes when running
I have a workspace / project with multiple schemes. When I go to run my current scheme, the middle status text bar shows that Xcode is going through each scheme and building it. I am trying to reduce build time and it seems that it is cycling through each one (sometimes endlessly).Running Version 9.1 (9B55).See the following video, it seems to repeat and start over from the beginning for the multiple schemes:youtu.be/EbA2VcJvVns
0
0
477
Nov ’17
Reply to Xcode b4 Simulator "Posterboard has quit unexpectantly"
Also I've got 20% of constant CPU usage while running Xcode because of diagnosticd process, console shows a lot of errors from Posterboard. Reverting to B3.
Replies
Boosts
Views
Activity
Jul ’22
Xcode Simulator Showing Only "Generic iOS Device"
Hi. I can't seem to run the simulator for the app I'm creating. It only shows, Generic iOS Device. I clicked on said text and then I clicked, Add Additional Simulators. It showed me a list of all the Apple devices available for a simulator. I selected the iPhone 11 Pro, but I can't do anything with it? Can I add the simulator, or am I completely doing something wrong here? To summarize, how do I get a simulator in Xcode 11 when it only shows, Generic iOS Device. Thanks.
Replies
3
Boosts
0
Views
2.2k
Activity
Jun ’20
System volume control UI not showing
Hi, I have recently created a simple sound app. When I run it on my iPhone, I noticed when I press on the volume up/down button, the system volume control does not appear. I don’t think is due to my code since is a system UI. Is there any settings in xcode that I need to set to get the system volume control to show?
Replies
0
Boosts
0
Views
479
Activity
Aug ’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?
Replies
2
Boosts
0
Views
4.4k
Activity
May ’19
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
Build Not Showing on iTunes Connect
Xcode show build uploaded successfully, But in iTunes Connect it not showing. It show some time on iTunes connect on all build section then it disappear and not showing any build. In last 15 days we have been trying to uploaded the build on iTunes Connect and still facing that issue.
Replies
5
Boosts
0
Views
1.2k
Activity
Oct ’16
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
1k
Activity
Aug ’17
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
810
Activity
Feb ’23
Process() run() and waitForExit() get stuck when running mvn tests
I am developing a tool for myself using Swift and SwiftUI where I can retrieve student projects using git and then running Maven tests for the projects. The app is not sandboxed, since it is just for my personal use. I use Process to launch git clone or git pull, and then get the commit log and parse the commit data to the app database. All this works just fine, I can see the app database table populated with repository commit data. But when I do the same to execute Maven tests, and call try process.run() process.waitUntilExit() The process never returns, unlike running git the same way. The only difference is the command executed and the arguments given to Process. In the process view, I can see that there is a java child process running in my app, but it never (like in tens of minutes I have waited) completes. Running the same mvn test command...: /opt/apache-maven-3.6.3/bin/mvn -Dstyle.color=never -Dtest=ReverseArrayRangeTests test ...from command line finishes in a coup
Replies
3
Boosts
0
Views
1.7k
Activity
Oct ’23
Not able to run widget extension on my device
When I try and run the widget extension on my device, it either: says RUNNING.... but doesn't actually start the widget or show any log files or crashes with this error even though I've cleaned the build file and no other device is trying to run Details Another launch session is already waiting to debug the app extension with identifier : com.XYZ.Widget Domain: IDELaunchAppExtensionErrorDomain Code: -1- System Information macOS Version 10.15.6 (Build 19G2021) Xcode 12.0 (17219)
Replies
0
Boosts
0
Views
666
Activity
Sep ’20
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
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
Show / Hide menu in MenuBar
At launch, several menus of the menuBar are hidden (defined in IB).I want to show them later. How can I do this ?For NSMenuItems, I use the hidden property, but there is no such property for NSMenu.What's the way to di it ?
Replies
1
Boosts
0
Views
1.8k
Activity
Mar ’16
Signed app wont run
HiToday I signed an app, so people who use my app, wont get a pop-up about an unidentified developer.The app used to run without any problems, if you just press'ed run anyway, when the pop-up show. But now that I have signed the app, it wont run at all. The icon just keep bouncing and then after some time say that the application wont respond.I have developed the app in Qt and have used this to sign the applicatio:codesign --force --verify --verbose --sign My Developer ID ./MyApp.appfind MyApp.app -name *.dylib | xargs -I $ codesign --force --verify --verbose --sign My Developer ID $find MyApp.app -name Qt* -type f | xargs -I $ codesign --force --verify --verbose --sign My Developer ID $*I have changed the Developer Id and the AppNameThe App is a Mac app that should be able to download from the internet and not from App Store.Hope someone can help me.Thanks in advance.
Replies
9
Boosts
0
Views
3.6k
Activity
Mar ’17
Preventing building of all schemes when running
I have a workspace / project with multiple schemes. When I go to run my current scheme, the middle status text bar shows that Xcode is going through each scheme and building it. I am trying to reduce build time and it seems that it is cycling through each one (sometimes endlessly).Running Version 9.1 (9B55).See the following video, it seems to repeat and start over from the beginning for the multiple schemes:youtu.be/EbA2VcJvVns
Replies
0
Boosts
0
Views
477
Activity
Nov ’17