Search results for

“show when run”

115,107 results found

Post

Replies

Boosts

Views

Activity

Reply to Code Coverage Not Showing In Editor
I saw something like this recently (yesterday). I turned on Code Coverage then ran the app. The Code Coverage slider bars showed that ONE Swift file had 0% coverage. Since I just added a bunch of tests that tested that file, it was surprising, When I clicked the icon to go to the code in that file, it showed the Code Coverage column that showed how many times the line was called...ALL were called...yet the Code Coverage slider bar showed 0% on that file....Today when I run it, now it shows 100% on slider bar and in the file. Go figure. Gremlins were running wild yesterday holding that slider bar at 0, today they are sleeping. Who knows? By the way I'm using Xcode 8.3.3. I tried using Xcode 9 a few days ago and got errors in this area, so I went back to something more stable.
Aug ’17
familyActivityPicker only shows apps for parent device
I have the same app running on both a child ipad and a parent iphone. On the child device, I enable screentime controls (via requestAuthorization(for:)). The on the parent device, I want to be able to monitor the child's apps, so I expect that when I display a FamilyActivityPicker, I would choose from the apps on the child iPad. But instead, when I show FamilyActivityPickeron the parent iPhone, it shows the apps on the parent iPhone and none of the apps on the child iPad. Are there additional configurations steps that I'm missing?
1
0
406
Jul ’24
Program crashing running from Xcode, but succeeds running from Terminal
Hi, ALL, I'm developing a software using C++/wxWidgets and I hit an interesting wall. Everytime I try to run it from inside Xcode I am experiencing a crash. However, when I try to run it from the Terminal, it executes OK. When I open the Debug Console in its output I see: 2023-01-26 08:47:02.755426-0600 dbhandler[55285:3097440] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. 8wxWindow, 12DatabaseType. DatabaseType is a class I made in order to display the dialog and it is located in one of the dylib's my program uses. It does have public visibility, though. My question is - how do I make Xcode run my program successfully, so that I will be able to debug it on Mac? I am running OSX High Sierra 10.13.6 with Xcode 9.4.1. (Trying to find the cause I see that this error is found when the programs are running from Terminal. That is not the case here). Thank you.
1
0
652
Jan ’23
Reply to Using keychain as root
My plan is to run it as service (using 'sudo launchctl load'). I finally realized that when running as root it complains the root certificate is not trusted (by running SecTrustEvaluateWithError). I decided to delete the root certificate and install it again. I guess there was some bug in the keychain which show it as trusted although it was treated as not trusted. Thanks eskimo for your help.
Topic: App & System Services SubTopic: General Tags:
Feb ’22
Simulator Won't Show App Changes
Hello.I made some changes in xcode 7 to my app (i.e. name change for people, title change, etc.) When I build and run, the simulator won't show the new changes. I have tried everything that I have found on the Internet...clean, delete derived data, reset the simulator, delete the app from the simulator...nothing works. I have to get these changes in iTunes connect soon. My customer needs them. Can anyone help me?
1
0
390
Feb ’16
Notifications stop showing Catalina
Hello,I'm currently trying to run an app on Catalina, and I reach a state on Catalina where notifications stop showing entirely. The notifications in my app are managed by a separate XPC service, which uses the NSUserNotification class to create our notifications. However, when I first install it, I see the following message in the console logs:default 09:01:31.467209-0700 NotificationCenter Looking up app info for <xpc identifier>.error 09:01:31.474550-0700 NotificationCenter Failed to find <xpc identifier>. Will check again next time we get a message from app.After choosing to allow notifications from my app. Then, when I try to send myself notifications on the app, I see this:Denying message { message_type: 3, immediate: true, encoded_notification: <data: 0x7f8ffc51bf30>: { length = 1276 bytes, contents = 0x62706c6973743030d4010203040506070a58247665727369... },} from connection <LegacyConnection identifier: <xpc identifier>. type: Application>I know that cons
0
0
632
Sep ’19
how to show different launch screen for different language
I am making a swift app supporting multi language ,showing proper language ui according user's phone setting language, I want to launch different screen (showing different image, boot-en.jpg, boot-ja.jpg) according language,i created two LaunchScreen files ,LaunchScreen-en.storyboard and LaunchScreen-ja.storyboard and localize them ,and add a different UIImage to them, then create two InfoPlist.strings file with congfiging .UILaunchStoryboardName = LaunchScreen_en; // UILaunchStoryboardName = LaunchScreen_ja;// and then **config info.plist ** with UILaunchStoryboardName LaunchScreen above all steps ,build and run,hope to see launch screen showing boot-ja.jpg when phone's language is Japanese, showing boot-en.jpg when phone's language is English, but it shows black screen, how to fix this problem, thank you.
1
0
443
Nov ’24
UIBarButtonItem: show 'menu' programmatically
Hi, I have a UIBarButtonItem that I create with a UIMenu, and it's added to the navigation bar: self.rightButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd menu: [self createMenuForAddItem]]; self.navigationItem.rightBarButtonItems = @[self.rightButton]; The menu shows fine when a user clicks on the bar button. Now I want to also show this menu programmatically, for e.g if the user opens the app for the 5th time, the menu from the bar button item shows automatically, without the user having to explicitly press the button. How do I achieve this?
Topic: UI Frameworks SubTopic: UIKit Tags:
1
0
847
May ’24
Reply to Code Coverage Not Showing In Editor
I saw something like this recently (yesterday). I turned on Code Coverage then ran the app. The Code Coverage slider bars showed that ONE Swift file had 0% coverage. Since I just added a bunch of tests that tested that file, it was surprising, When I clicked the icon to go to the code in that file, it showed the Code Coverage column that showed how many times the line was called...ALL were called...yet the Code Coverage slider bar showed 0% on that file....Today when I run it, now it shows 100% on slider bar and in the file. Go figure. Gremlins were running wild yesterday holding that slider bar at 0, today they are sleeping. Who knows? By the way I'm using Xcode 8.3.3. I tried using Xcode 9 a few days ago and got errors in this area, so I went back to something more stable.
Replies
Boosts
Views
Activity
Aug ’17
is there any limit for running apps on my own device instead of running in simulator ?
is there any limit for running apps on my
Replies
2
Boosts
0
Views
269
Activity
Nov ’15
Run Down
Can u give me tha run down im interested
Replies
0
Boosts
0
Views
252
Activity
Sep ’20
Reply to Source Folder's files can't access each other
I encountered the same issue, but realized that even though it says ViewController is not in scope still if you go to the playground page and run, it would run playground just fine even with the error showing. I think this is some sort of bug of XCode.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’21
familyActivityPicker only shows apps for parent device
I have the same app running on both a child ipad and a parent iphone. On the child device, I enable screentime controls (via requestAuthorization(for:)). The on the parent device, I want to be able to monitor the child's apps, so I expect that when I display a FamilyActivityPicker, I would choose from the apps on the child iPad. But instead, when I show FamilyActivityPickeron the parent iPhone, it shows the apps on the parent iPhone and none of the apps on the child iPad. Are there additional configurations steps that I'm missing?
Replies
1
Boosts
0
Views
406
Activity
Jul ’24
Program crashing running from Xcode, but succeeds running from Terminal
Hi, ALL, I'm developing a software using C++/wxWidgets and I hit an interesting wall. Everytime I try to run it from inside Xcode I am experiencing a crash. However, when I try to run it from the Terminal, it executes OK. When I open the Debug Console in its output I see: 2023-01-26 08:47:02.755426-0600 dbhandler[55285:3097440] dynamic_cast error 1: Both of the following type_info's should have public visibility. At least one of them is hidden. 8wxWindow, 12DatabaseType. DatabaseType is a class I made in order to display the dialog and it is located in one of the dylib's my program uses. It does have public visibility, though. My question is - how do I make Xcode run my program successfully, so that I will be able to debug it on Mac? I am running OSX High Sierra 10.13.6 with Xcode 9.4.1. (Trying to find the cause I see that this error is found when the programs are running from Terminal. That is not the case here). Thank you.
Replies
1
Boosts
0
Views
652
Activity
Jan ’23
Reply to Using keychain as root
My plan is to run it as service (using 'sudo launchctl load'). I finally realized that when running as root it complains the root certificate is not trusted (by running SecTrustEvaluateWithError). I decided to delete the root certificate and install it again. I guess there was some bug in the keychain which show it as trusted although it was treated as not trusted. Thanks eskimo for your help.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Bug showing yesterdays date on Apple Watch
My iPhone (running iOS 10) is showing the correct day. But my Apple Watch is showinig yesterdays date. (ex. today Sunday the 17th on iPhone. Saturday 16th on Apple Watch. Anyone else has the same problem?
Replies
2
Boosts
0
Views
418
Activity
Jul ’16
Xcode simulator is not showing
Xcode simulator does not show on my MacBook pro M1. I go to Applications, Xcode, right click, contents, Developer, Applications, and then double click on Simulator. It opens the app, it appears in the dock as open, but it does not show the phone I want to.
Replies
1
Boosts
0
Views
856
Activity
Jul ’24
Simulator Won't Show App Changes
Hello.I made some changes in xcode 7 to my app (i.e. name change for people, title change, etc.) When I build and run, the simulator won't show the new changes. I have tried everything that I have found on the Internet...clean, delete derived data, reset the simulator, delete the app from the simulator...nothing works. I have to get these changes in iTunes connect soon. My customer needs them. Can anyone help me?
Replies
1
Boosts
0
Views
390
Activity
Feb ’16
Notifications stop showing Catalina
Hello,I'm currently trying to run an app on Catalina, and I reach a state on Catalina where notifications stop showing entirely. The notifications in my app are managed by a separate XPC service, which uses the NSUserNotification class to create our notifications. However, when I first install it, I see the following message in the console logs:default 09:01:31.467209-0700 NotificationCenter Looking up app info for <xpc identifier>.error 09:01:31.474550-0700 NotificationCenter Failed to find <xpc identifier>. Will check again next time we get a message from app.After choosing to allow notifications from my app. Then, when I try to send myself notifications on the app, I see this:Denying message { message_type: 3, immediate: true, encoded_notification: <data: 0x7f8ffc51bf30>: { length = 1276 bytes, contents = 0x62706c6973743030d4010203040506070a58247665727369... },} from connection <LegacyConnection identifier: <xpc identifier>. type: Application>I know that cons
Replies
0
Boosts
0
Views
632
Activity
Sep ’19
how to show different launch screen for different language
I am making a swift app supporting multi language ,showing proper language ui according user's phone setting language, I want to launch different screen (showing different image, boot-en.jpg, boot-ja.jpg) according language,i created two LaunchScreen files ,LaunchScreen-en.storyboard and LaunchScreen-ja.storyboard and localize them ,and add a different UIImage to them, then create two InfoPlist.strings file with congfiging .UILaunchStoryboardName = LaunchScreen_en; // UILaunchStoryboardName = LaunchScreen_ja;// and then **config info.plist ** with UILaunchStoryboardName LaunchScreen above all steps ,build and run,hope to see launch screen showing boot-ja.jpg when phone's language is Japanese, showing boot-en.jpg when phone's language is English, but it shows black screen, how to fix this problem, thank you.
Replies
1
Boosts
0
Views
443
Activity
Nov ’24
UIBarButtonItem: show 'menu' programmatically
Hi, I have a UIBarButtonItem that I create with a UIMenu, and it's added to the navigation bar: self.rightButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemAdd menu: [self createMenuForAddItem]]; self.navigationItem.rightBarButtonItems = @[self.rightButton]; The menu shows fine when a user clicks on the bar button. Now I want to also show this menu programmatically, for e.g if the user opens the app for the 5th time, the menu from the bar button item shows automatically, without the user having to explicitly press the button. How do I achieve this?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
1
Boosts
0
Views
847
Activity
May ’24
Why is launch screen not showing?
I just noticed I have the problem of the launch screen not showing as I had before. Instead it shows just black.Here is my last question about this: https://forums.developer.apple.com/thread/77733. I never got a good answer. Anyone know how to fix this?
Replies
8
Boosts
0
Views
7.5k
Activity
Oct ’18
MPRemoteCommandCenter does not show up
Everything 's working perfectly before ios 15.4.1, but few days ago, I 've update my iphone to 15.4.1, MPRemoteCommandCenter does not show up any more. It only shows up only when I toggle play pause my AVPlayer while Avplayer playing. Anyone has experience with this?
Replies
0
Boosts
0
Views
483
Activity
Apr ’22