Search results for

show when run

112,755 results found

Post

Replies

Boosts

Views

Activity

UIUserNotificationAction not showing on device
Hello,I got a very strange problem: UIUserNotifcationActions for my app do not show up on devices but show/work on Simulator.Setup: UIMutableUserNotificationAction* replyToChat = [UIMutableUserNotificationAction new]; replyToChat.activationMode = UIUserNotificationActivationModeForeground; replyToChat.title = @Reply; replyToChat.identifier = @replyToChat; replyToChat.destructive = NO; replyToChat.authenticationRequired = YES; UIMutableUserNotificationAction* ignoreChat = [UIMutableUserNotificationAction new]; replyToChat.activationMode = UIUserNotificationActivationModeBackground; ignoreChat.title = @Ignore; ignoreChat.identifier = @ignoreChat; ignoreChat.destructive = YES; ignoreChat.authenticationRequired = NO; UIMutableUserNotificationCategory* catChat = [[UIMutableUserNotificationCategory alloc] init]; catChat.identifier = @myChat; [catChat setActions:@[replyToChat, ignoreChat] forContext:UIUserNotificationActionContextDefault]; NSMutableSet *categories = [NSMutableSet setWithObject:catC
2
0
1.2k
May ’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
781
Feb ’23
Running PIVToken example [SOLVED]
I have downloaded PIVToken example from here https://developer.apple.com/library/content/samplecode/PIVToken/Introduction/Intro.html and trying to run it. I have put several breakpoints in the source code, but when I run it from XCode, none of them gets hit. It doesn't look like smartcard extension is properly registered or maybe there's some other problem.I have YubiKey NEO PIV smart card.I disabled built-in PIV token as mentioned in the README.md and restarted my machine.sudo defaults write /Library/Preferences/com.apple.security.smartcard DisabledTokens -array com.apple.CryptoTokenKit.pivtokenBut when I insert YubiKey NEO, I still get SmartCard Pairing popup:Do you want to connect the inserted SmartCard with the current user?Card Identity: Certificate for digital signature (Test)| Do not show again | | Cancel | | Pair |The README also mentions that the new extension will be automatically installed when the hosting application is installed. Does it mean I need to install the appli
4
0
3.7k
Sep ’16
Reply to Running MacOS Network system extension showing waiting for attach .
Hi @eskimo, I followed above link line by line to debug system extension. I added script as suggested in above article it copy my app to application folder when debug and compile successfully. then I run my app through terminal by selecting app through application folder. it doesn't call DNSProxyProvider Constructor. But before that what I noticed Im able to add system extension with enabled state but that enabled state or mode is not showing in green colour I guess in running state it shows in orange colour.
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’23
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
880
Oct ’20
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
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